hi there, I need to rec and export a .wav file from my patch after one minute.
How can I dp that. I ve read about sfwrite function, but I am facing difficulties.
Can anyone please reply as soon as possible
Regards!
-
Sfwrite function
-
The one to use is [writesf~] (even though there is a [sfwrite~])
First you send it a message [open filename.wav], so it knows where to write to
Then you send it a second message [start(, which begins writing whatever audio is connected to its inlet to the file.
Finally you send it a third message [stop(, which finishes recording and closes the file.
Use the Source.
-
Thank you very much. It seems that it works now.