Can I record 2 separate audios at the same time?
Mostrar comentarios más antiguos
If I start a recording at t=0 and record for 2 seconds, is it possible to start another recording at t=1 for another 2 seconds? I tried it this way:
Fs = 8000;
recorder = audiorecorder(Fs,16,1); %record
recordblocking(recorder,2); %record function, number of seconds recording for
pause(1);
signal1 = getaudiodata(recorder);
recordblocking(recorder,2); %record function, number of seconds recording for
signal2 = getaudiodata(recorder);
pause(3);
soundsc(signal1,Fs);
pause(2);
soundsc(signal2,Fs);
But this does a recording from 0,2 and then from 3,5. Any help is appreciated.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Audio I/O and Waveform Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!