Csound Csound-dev Csound-tekno Search About

[Csnd] Trim silence from end of a .wav

Date2011-12-27 18:04
FromRoger Kelly
Subject[Csnd] Trim silence from end of a .wav
Is there a way using Csound to trim the silence from the end of a sample file?  Basically I am using csound to generate something I want to make into a loop, but the accumulated time is more than 1 beats worth, thus silence accumulates at the end of the file.  If I use audacity and trim it, and then paste it is a perfect loop, so I know if it can trim it it will do what I like.

Thanks.

Date2011-12-27 18:12
Frompeiman khosravi
SubjectRe: [Csnd] Trim silence from end of a .wav
Hello,

I don't quite understand what is the problem. Are you looping the
sample in Csound? If so you can define an end-point for the loop
player.

Otherwise why not trim it in Audacity? Unless you need to batch
process a large number of files, in which case I'd recommend SoX

P

On 27 December 2011 18:04, Roger Kelly  wrote:
> Is there a way using Csound to trim the silence from the end of a sample
> file?  Basically I am using csound to generate something I want to make into
> a loop, but the accumulated time is more than 1 beats worth, thus silence
> accumulates at the end of the file.  If I use audacity and trim it, and then
> paste it is a perfect loop, so I know if it can trim it it will do what I
> like.
>
> Thanks.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-12-28 01:45
FromRoger Kelly
SubjectRe: [Csnd] Trim silence from end of a .wav
I am generating a bpm based loop of some drum samples in batch. Thanks for the tip about Sox. It solved my problem!

On Tue, Dec 27, 2011 at 12:12 PM, peiman khosravi <peimankhosravi@gmail.com> wrote:
Hello,

I don't quite understand what is the problem. Are you looping the
sample in Csound? If so you can define an end-point for the loop
player.

Otherwise why not trim it in Audacity? Unless you need to batch
process a large number of files, in which case I'd recommend SoX

P

On 27 December 2011 18:04, Roger Kelly <loraxman@gmail.com> wrote:
> Is there a way using Csound to trim the silence from the end of a sample
> file?  Basically I am using csound to generate something I want to make into
> a loop, but the accumulated time is more than 1 beats worth, thus silence
> accumulates at the end of the file.  If I use audacity and trim it, and then
> paste it is a perfect loop, so I know if it can trim it it will do what I
> like.
>
> Thanks.


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"