Hi Lucarda,
Thanks for the -maxsize tip. That helps a lot.
Here are links to the patches:
https://www.dropbox.com/s/87hdyuo4xi68dt6/Sample_splitter.zip?dl=0
https://www.dropbox.com/s/e7csnfwjrctsf8j/Split_test.zip?dl=0
Hope that works.
Best, Chris
On Fri, Mar 25, 2016 at 3:34 PM, Lucas Cordiviola lucarda27@hotmail.com wrote:
Hi Christopher:
You can do arrays bigger than 90 sec, see [soundfiler] help, flags for reading: -resize and -maxsize. It is safe to use soundfiles shorter than 16777216 samples (around 6 min @44.1khz), this is the maximum possible integer for a 3 byte number, this is also the biggest number you get in the “control level”. At least on 0.46.7 for windows (32 bit).
Do not confuse 3 byte example above with flags for writing -bytes <2, 3, or 4> which is the soundfile bit depth.
Couldn't get the patches you mentioned,
hope this helps,
Lucarda.
Mensaje telepatico asistido por maquinas.
On Fri, Mar 25, 2016 at 11:13 AM, Christopher Meng empmeng@gmail.com wrote:
Hi all,
I have a need for cutting up long audio files into shorter audio files to be played as samples. That is, I'll record audio, set an amplitude threshold, above which audio events are recognized, and save each audio event to ....
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list