Is it possible to process two microphones input in real time using DSP Toolbox??
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sai charan bandi
el 29 de Sept. de 2015
Comentada: Walter Roberson
el 30 de Sept. de 2015
I have been trying to implement active noise cancellation system using dsp system toolbox. I have used the dsp.AudioRecorder and AudioPlayer as well. Here is my initialization code.
mic_reference = dsp.AudioRecorder('NumChannels',1);
mic_reference.DeviceName='ASIO4ALL v2';
mic_error = dsp.AudioRecorder('NumChannels',1);
mic_error.DeviceName='ASIO4ALL v2';
sink1_2 = dsp.AudioPlayer;
sink1_2.DeviceName='ASIO4ALL v2';
when I call step(frame) for each of the microphone. I am getting error saying that
'Error using AudioRecorder/step A given audio device may only be opened once.'
Is it the limitation of dsp system toolbox to be able to operate only one audio recorder device at a time? or is it possible to use two audio recorder devices at a time ?
There is a provision for multichannel processing of the same audio device but how to process the audio from two independent devices in real time ?
0 comentarios
Respuesta aceptada
Walter Roberson
el 29 de Sept. de 2015
You used the same device name for both of them. You need to distinguish the devices.
2 comentarios
sai charan bandi
el 29 de Sept. de 2015
Editada: sai charan bandi
el 29 de Sept. de 2015
Más respuestas (0)
Ver también
Categorías
Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!