generating audio file through m.script
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Deepa
el 27 de Ag. de 2018
Comentada: Deepa
el 28 de Ag. de 2018
hi, i need an audiofile to generate any speech for particular frequency and for particular time. can u suggest me how to generate audiofile using m-file.... ?
Thanks Deepa.R
0 comentarios
Respuesta aceptada
madhan ravi
el 27 de Ag. de 2018
Editada: madhan ravi
el 27 de Ag. de 2018
Try the below code:
recorder = audiorecorder;
disp('Start speaking.')
recorder.record(100); %100 refers to the seconds
while recorder.isrecording()
pause(0.1);
plot(recorder.getaudiodata());
drawnow();
end
disp('End of Recording.');
Más respuestas (0)
Ver también
Categorías
Más información sobre Code Generation and Deployment 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!