Csound Csound-dev Csound-tekno Search About

Re: init error

Date1999-08-23 09:58
FromJosep M Comajuncosas
SubjectRe: init error
Relace kgoto by goto to avoid skipping of the initialisation at i-time.

Antoine Lefebvre escribió:

> The following  orc give me the following error
> INIT ERROR: oscili: not initialized
>
> and I don't see the solutio...
>
> instr 1
>   aout      init        0
>   asig      in                        ; get the live input
>   krms      rms         asig
>   if krms       > 700     kgoto       startinst
>          goto        end
> startinst:
>    aout      oscili      10000, 440, 1
> end:
>              out         aout
> endin
>
> It is possible to initialise oscili to do what I want, trigger an oscillator with the input rms.
>
> thanks
> --
> Antoine Lefebvre
> antoinelefebvre@softhome.net
> http://pages.infinit.net/linux/rocket/index.html
> http://pages.infinit.net/linux/music/music.html

--
Josep M Comajuncosas
C/ Circumval.lacio 75  08790 Gelida - Penedes
Catalunya - SPAIN tel. 93 7792243
e-mail:          gelida@intercom.es
ET Informatica de Sistemes
e-mail: jcomajuncosas@campus.uoc.es
  http://members.tripod.com/csound/