We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › [MINIM] Save input from Mic with dif sample rates
Page Index Toggle Pages: 1
[MINIM] Save input from Mic with dif sample rates (Read 359 times)
[MINIM] Save input from Mic with dif sample rates
Mar 25th, 2008, 1:26am
 
Hi all,

I´m new to Minim and Processing.
I´m trying to record a sound from the mic and save it to 3 different files (44100/22050/11025 Hz) but I can´t figure out how to do it.
I can only get one getLineIn(...) at the time, so the only way I think could be possible is changing the sample rate at the AudioInput or AudioRecorder. Is that possible?

Many thanks!

Pato
Re: [MINIM] Save input from Mic with dif sample ra
Reply #1 - Mar 25th, 2008, 2:25am
 
I don't think that's going to be possible. What you could do instead is write out to a single file, say with the 44100 sample rate, and then use an audio editing program to convert that file to your other two sample rates.
Page Index Toggle Pages: 1