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

3 vues (au cours des 30 derniers jours)
vish
vish le 18 Fév 2012
Modifié(e) : Chong Tao le 17 Oct 2013
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 commentaires
Daniel Shub
Daniel Shub le 19 Fév 2012
It really depends on what you mean by live. How much latency is tolerable? How often can frames get dropped?
vish
vish le 19 Fév 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.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 19 Fév 2012
MATLAB R2011b is the first release to have any direct bluetooth support.
No released version of MATLAB has specific A2DP support.
  1 commentaire
vish
vish le 19 Fév 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 ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by