How to simply record a string of sound from the computer microphone?
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    John
 el 11 de En. de 2022
  
    
    
    
    
    Respondida: Star Strider
      
      
 el 11 de En. de 2022
            There is an example of continuous fft, but what I want is simply record a string of sound wave from the microphone for future analysis, say one second or 2 seconds of sound.
Thanks.
0 comentarios
Respuesta aceptada
  Geoff Hayes
      
      
 el 11 de En. de 2022
        recObj = audiorecorder;   % create the object
recordblocking(recObj,5); % record for five seconds
play(recObj);             % playback the recording
y = getaudiodata(recObj); % get the audio data
0 comentarios
Más respuestas (1)
Ver también
Categorías
				Más información sobre Audio and Video Data 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!