Hi Christopher, I've opened your patches and worked fine.
I've had issues with this patch working consistently in different Pd versions.
This was probably because [text set], [text define], and other [text bla] are relatively new objects.
There are some limitations in my patch. Loading files into an array limits the sound clip...
You may want to do an “Automatic Sample Separator” without using arrays. May be you like the challenge: Time is on your side, delays are on your side, bang~ also and probably alternating 2 or more writesf~. You can feed it with adc~ or readsf~ and escape arrays limitations.
You probably noticed that -maxsize in arrays is useful for example with [tabplay~] but with [tabread] you can't access data above 16777215 index Salutti:)L Mensaje telepatico asistido por maquinas.
Date: Sat, 26 Mar 2016 13:51:36 -0700 Subject: Re: [PD] Automatic Sample Separator / possible bug in some Pd versions From: empmeng@gmail.com To: lucarda27@hotmail.com CC: pd-list@lists.iem.at
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