why doesn't dsp.audioplayer work if executed within a function??

1 vue (au cours des 30 derniers jours)
Sergio
Sergio le 27 Nov 2013
Hi,
I'm trying to play and record in full duplex mode. I'm using dsp.toolbox with ASIO.
My problem is that i have a script working just fine, but later i tried to fit that into a function and the dsp.audioplayer doesn't sound anymore.
Everything works excellent until i try to make it into a function, i get no error messages, nothing. It records, but it doesn't play any sound.
I'm pretty sure it has something to do with object handling, but i have no idea how to fix this.
Any ideas??
Thanks in Advance.
Matlab version 2013b.

Réponses (0)

Catégories

En savoir plus sur Code Generation and Deployment dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by