Csound question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

See below...

What I want to achieve is to take some action when instr 85 ends.
I naively tried using 'gidur' as p3 for instr 85 in the score, but
that doesn't work.

So how do I trigger instr 86 at the right time ?


<CsInstruments>

instr 84  
gidur       filelen     $INPFILE
print       gidur
endin
 

instr 85    ; set its duration from the value found in instrument 84
p3 = gidur
; process input from $INPFILE
endin


instr 86
; Should do something when instr 85 ends.
endin

</CsInstruments>


<CsScore>
i84 0  0.1 
i85 +  1   ; p3 is just a dummy
</CsScore>

TIA,

-- 
FA

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux