MATLAB Matlab and Loudspeakers: Expert Tips and Tricks for Your Project

  • Thread starter Thread starter smokeput
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
The discussion centers around a project involving MATLAB and loudspeakers, with a user seeking assistance on integrating audio playback and recording functionalities. Key points include the capability of MATLAB to handle audio output through built-in functions like audioplayer, which supports .wav and .au files. There is mention of a workaround for MP3 playback using Audacity with the LAME plug-in. The user expresses a need for help with the PlayRec utility for controlling multiple audio channels, indicating a lack of familiarity with the package. Suggestions include consulting the PlayRec documentation and reaching out to MATLAB Central for further assistance.
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:

Similar threads

Replies
9
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
1
Views
12K
Replies
6
Views
4K
Replies
4
Views
7K
Replies
1
Views
2K
Back
Top