Matlab and Loudspeakers: Expert Tips and Tricks for Your Project

  • Context: MATLAB 
  • Thread starter Thread starter smokeput
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 3K views
smokeput
Messages
7
Reaction score
0
Hi all,

I am currently in desperate need for help in my project with is using both Matlab and loudspeakers. I was wondering if anyone here has done similar projects?

Hope to receive quality replies asap. Thanks
 
Physics news on Phys.org
Welcome to PhysicsForums!

What exactly are you trying to do? There should be no difficulties with audio output and running MATLAB simultaneously. If you mean playing audio from within MATLAB, there are facilities for doing that, as well.

For instance, audioplayer, which can play .wav and .au files:
http://www.mathworks.com/help/techdoc/ref/audioplayer.html

There is at least one bit of code floating out there which can import and play back MP3, but you're probably better off converting the piece using Audacity (with the LAME mp3 plug-in):
http://audacity.sourceforge.net/
http://audacity.sourceforge.net/help/faq?s=install&item=lame-mp3
 
Hey matlabdude,

hmm yea, I've heard about the ability of MATLAB being able to play/record sounds directly. however, the project I am assigned to need the use of playrec codings and utility.

u have any knowledge on that?
 
I have no familiarity with that particular package. I'd start with the documentation and examples at the PlayRec website:
http://www.playrec.co.uk/index.php
 
Last edited by a moderator:
I'm not familiar with that particular package either, but I'm interested in seeing how things turn out.
 
oh mannn :(
haha dude, yea i know of that site of cos, but I am not very sure on how am i suppose to code them in such a way that it controls multiple channels.
sigh.
 
I'd ask on http://www.mathworks.com/matlabcentral/" .
 
Last edited by a moderator: