Is it possible to transmit audio signal from microcontroller to matlab using A2DP ?

3 views (last 30 days)
Hi, I want to transmit audio data (preferably music upto 320kbps bitrate, 44.1 Khz) from a microcontroller to a computer and process the signal using matlab live. Do you think it is possible to sufficient baud rate using SPP. My bluetooth module and computer supports A2DP but I am not sure if matlab supports it. Please let me know if its possible. Also, if you can attach an example of matlab code to access the bluetooth peripheral, it will be really helpful.
cheers, vish
  2 Comments
Daniel Shub
Daniel Shub on 19 Feb 2012
It really depends on what you mean by live. How much latency is tolerable? How often can frames get dropped?
vish
vish on 19 Feb 2012
By live I simply mean, that I need to stream data from the microcontroller to matlab -> do some audio processing -> play it on the PC simultaneously. Dropping of frames is not a major issue since Its mainly for experimental purpose.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 19 Feb 2012
MATLAB R2011b is the first release to have any direct bluetooth support.
No released version of MATLAB has specific A2DP support.
  1 Comment
vish
vish on 19 Feb 2012
I see. Is it possible to acquire it from the sound card ? I think I can create an app in VB to stream data using A2DP on the computer. Is it possible to acquire/ process any sound that is being played on the computer sound card ?

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!