Can I record 2 separate audios at the same time?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Audio and Video Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!