| Just a little question - unless it is actually required to restart the
oscillator at zero phase, how about just controlling it's envelope, or
even multiplying its output by zero?
Richard Dobson
pete moss wrote:
>
> [oops! meant to copy this to the list as well]
>
> the oscili opcode is a bit of c code that needs to have an init function
> run before it can work. i have had this same problem recently. the
> quick answer is dont put oscils in goto statements because they wont be
> initialized. you need to get more creative in your logic if you want
> this to work.
>
> try something like this:
> instr 1
> aout oscili 10000, 440, 1
> asig in ; get the live input
> krms rms asig
> if krms <= 700 kgoto end
> out aout
> end:
> endin
>
--
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 6th July 1999) |