[CM] defining Csound ftables
peiman khosravi
peimankhosravi at gmail.com
Sat Nov 20 13:02:02 PST 2010
Or even more conveniently they can be done in the same process:
process csound(len, p2, seg)
for frq = between( 220, 5000)
for t = elapsed(#t) ; get true score time
for a = interp( t, seg)
while t < len
send( "cs:i", 1, t, .1, frq)
if (t = 0)
send ("cs:f", 1, 0, 32768, 10, 1)
send ("cs:f", 2, 0, 32768, 1, sound, 0, 0, 0)
end
wait a
end
On 20 November 2010 20:51, peiman khosravi <peimankhosravi at gmail.com> wrote:
> ahh yes that's it!
>
> and of course the process should be something like this to avoid an
> infinite loop.
>
> process test(tim)
> repeat 1
> send ("cs:f", 1, 0, 32768, 10, 1)
> send ("cs:f", 2, 0, 32768, 1, sound, 0, 0, 0)
> end
>
> I guess for now I will copy/paste the file-name string manually into
> the score file.
>
> Best,
>
> Peiman
>
> On 20 November 2010 20:39, Heinrich Taube <taube at uiuc.edu> wrote:
>> there is a parens mistake, this is probably what hyou want
>>
>>
>> sprout(list(otherprocess(0), csound(10, 0.05, {0 0.01 10 0.05})),
>> "test.sco")
>>
>>
>
More information about the Cmdist
mailing list