Created
September 10, 2014 09:09
-
-
Save klaseskilson/6aa917935ce551af16fd to your computer and use it in GitHub Desktop.
Semi real time audio recording in MatLab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for n = 1:50; | |
tempAudioObj = audiorecorder; | |
disp('Recording part'); | |
disp(n) | |
recordblocking(tempAudioObj, 0.05); | |
disp('Done with part'); | |
disp(n) | |
tempAudioData = getaudiodata(tempAudioObj); | |
plot(tempAudioData); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment