Csound Csound-dev Csound-tekno Search About

[Csnd] terminating at end of wav file

Date2012-12-23 08:33
Frompj@pjb.com.au
Subject[Csnd] terminating at end of wav file
Greetings.  Jim Aikin wrote:
> it appears you've answered your own question.

Yup...  Erm, anyway: using   aL,aR ins   my
  csound -i rawfile.wav -o processedfile.wav delayprocessor.csd
produces an hour-long long output file because of the line:
  e 3600

How could the .csd detect when the rawfile.wav is finished,
and then tidy up its alwayson instrument and exit ?
Sorry for asking newbie questions at my age...

Regards,  Peter Billam

(BTW, just checking when Csound Power was published, the answer
 is on page ii: it was published in 2013.  Reassuring, really;
 I mean at least it proves the world hasn't ended before then.)

http://www.pjb.com.au      pj@pjb.com.au     (03) 6278 9410
"Follow the charge, not the particle."  --  Richard Feynman
 from The Theory of Positrons, Physical Review, 1949


Date2012-12-23 12:17
Fromjoachim heintz
SubjectRe: [Csnd] terminating at end of wav file
hi peter -
you can terminate csound with the opcode exitnow.
what do you want to do exactly? can you post a csd?
best -
	joachim


Am 23.12.2012 09:33, schrieb pj@pjb.com.au:
> Greetings.  Jim Aikin wrote:
>> it appears you've answered your own question.
>
> Yup...  Erm, anyway: using   aL,aR ins   my
>    csound -i rawfile.wav -o processedfile.wav delayprocessor.csd
> produces an hour-long long output file because of the line:
>    e 3600
>
> How could the .csd detect when the rawfile.wav is finished,
> and then tidy up its alwayson instrument and exit ?
> Sorry for asking newbie questions at my age...
>
> Regards,  Peter Billam
>
> (BTW, just checking when Csound Power was published, the answer
>   is on page ii: it was published in 2013.  Reassuring, really;
>   I mean at least it proves the world hasn't ended before then.)
>
> http://www.pjb.com.au      pj@pjb.com.au     (03) 6278 9410
> "Follow the charge, not the particle."  --  Richard Feynman
>   from The Theory of Positrons, Physical Review, 1949
>
>
>
> 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"
>
>