Re: [LAU] A program to chop up samples?

From: Andre Majorel <aym-psd@email-addr-hidden>
Date: Mon May 07 2007 - 11:10:52 EEST

On 2007-05-06 13:20 -0700, Ken Restivo wrote:

> I remember stumbling across a tool-- or maybe it was a script in
> Python or one of the music languages-- that would take a WAV
> file and chop it up into a bunch of individual samples, with a
> way to adjust the hysteresis for threshold and length.

There's this.

  http://www.teaser.fr/~amajorel/misc/auxtract-2002-06-16.tar.gz

It works on raw little-endian 16-bit PCM, though, not WAV. You'd
have to use sox to convert back and forth and pass auxtract the -c
and -s options so it knows the sample rate and number of channels.

If you need the gate the open and close gradually or some time
before/after the level goes above/below the threshold, this is not
it.

-- 
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Received on Tue May 8 12:15:03 2007

This archive was generated by hypermail 2.1.8 : Tue May 08 2007 - 12:15:03 EEST