Re: [ecasound] Cutinng

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Tue Feb 10 2009 - 20:52:36 EET


On Tue, 10 Feb 2009, Martin Sukaný wrote:

> I'll describe the situation:
> ecasound -c
> ai-add in.wav
> ao-add out.wav
> cs-set-length 79
> cs-set-position 67
> start
> The problem is, that if I play the output file (out.wav), there is 67 seconds of
> silence followed the 12 seconds of sound ... I need only to cut the part
> between 67 - 79 and save it into output file.

the problem with above is that "cs-set-position" sets the position for all
objects in the same setup (commands with 'cs-' prefix apply to chainsetup
and all objects they include). So what you are after is:

ecasound -c
ai-add in.wav
ao-add out.wav
ai-setpos 67
ao-setpos 0
cs-set-length 12

... but probably easiest solution nowadays is to use the 'select' object
as described in Joel's reply.

Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-

Ecasound-list mailing list
Received on Wed Feb 11 00:15:01 2009

This archive was generated by hypermail 2.1.8 : Wed Feb 11 2009 - 00:15:02 EET