Matlab and Loudspeakers: Expert Tips and Tricks for Your Project

  • Context: MATLAB 
  • Thread starter Thread starter smokeput
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary

Discussion Overview

The discussion revolves around a project involving the use of Matlab in conjunction with loudspeakers. Participants are seeking advice and sharing insights on how to effectively implement audio playback and recording functionalities within Matlab, particularly focusing on the PlayRec utility.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses a need for help with a project involving Matlab and loudspeakers, seeking quality replies.
  • Another participant mentions that there should be no difficulties with audio output in Matlab and suggests using the audioplayer function for playing audio files.
  • A participant acknowledges the ability of Matlab to play and record sounds but specifies a need for using PlayRec coding and utility.
  • One participant suggests starting with the documentation and examples available on the PlayRec website for guidance.
  • Another participant expresses interest in the project but admits to being unfamiliar with the PlayRec package.
  • A participant expresses uncertainty about how to code for controlling multiple channels using the PlayRec utility.
  • One participant recommends asking for help on the Matlab Central website for further assistance.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the specifics of using the PlayRec utility, and multiple views regarding the best approach to implement the project remain. Uncertainty about coding practices and functionalities persists throughout the discussion.

Contextual Notes

Participants have not resolved specific coding challenges or provided detailed solutions for using the PlayRec utility. There is a reliance on external documentation and resources, and the discussion reflects varying levels of familiarity with the tools mentioned.

Who May Find This Useful

This discussion may be useful for individuals working on audio projects in Matlab, particularly those interested in using the PlayRec utility or seeking general advice on audio playback and recording functionalities.

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 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
12K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 12 ·
Replies
12
Views
4K