testing test
Member level 3
- Joined
- Mar 3, 2010
- Messages
- 65
- Helped
- 5
- Reputation
- 10
- Reaction score
- 3
- Trophy points
- 1,288
- Activity points
- 1,656
Hi,
I want to record a .wav file in MATLAB. I am able to record a 5 seconds file using:
But I want to record longer sounds continuously for like 1-2 mins. Can you please suggest me something that could be done?
Thank you.
---------- Post added at 18:14 ---------- Previous post was at 17:06 ----------
Hi,
I got the solution on my own. Sharing the code as well as it might help someone too:
Thank you.
I want to record a .wav file in MATLAB. I am able to record a 5 seconds file using:
Fs = 11025;
y = wavrecord(5*Fs,Fs,'int16');
wavplay(y,Fs);
But I want to record longer sounds continuously for like 1-2 mins. Can you please suggest me something that could be done?
Thank you.
---------- Post added at 18:14 ---------- Previous post was at 17:06 ----------
Hi,
I got the solution on my own. Sharing the code as well as it might help someone too:
Fs = 11025;
No_of_Secs_To_Be_Recorded=10;
y = wavrecord(No_of_Secs_To_Be_Recorded*Fs,Fs,'int16');
wavplay(y,Fs);
Thank you.