Csound Csound-dev Csound-tekno Search About

(assignment rate) Re: Reading a MIDI (AKA Driving me bonkers)

Date1999-04-21 03:43
FromTobiah
Subject(assignment rate) Re: Reading a MIDI (AKA Driving me bonkers)
> This is crazy. I'm using MIDI2CS to make a file.

>         iamp    =       ampmidi 10000
>         icps    =       cpsmidib p5    ;S = fc +- ifm1 +- kfm2 +- lfm3
>         ifm1    =       icps
>         ifm2    =       icps*3
>         ifm3    =       icps*4
>         indx1   =       7.5/log(icps)    ;range from ca 2 to 1
>         indx2   =       15/sqrt(icps)    ;range from ca 2.6 to .5
>         indx3   =       1.25/sqrt(icps)  ;range from ca .2 to .038

I am asking the list:

Is there an important difference between assigning a value to an
I-rate variable (rather than an irate variable) using the '=' opcode
as opposed to using the 'init' opcode?  I imagine that the 'init' might
run only at i-time, whereas '=' runs at a, or k, but then when in the
context of assigning to an I-rate variable perhaps it knows to calm
itself?  I hope that I am making myself clear from the Night Train.