ktog = 1-ktog? Then whatever trigger you want could goto that segment. For a bang, what about "trigger" w mode 2. On 3/17/06, David Akbari wrote: > Hi List, > > What's the easiest way to simulate a bang a la Pure Data ? > > I ask because of the idea of implementing toggles, switches, et al > > My idea is simply to send for example program change message with value > "1" having this value toggle some arbitrary parameter... such an idea > is trivial in Pd but I am uncertain of a really good and efficient way > to do this in Csound. > > How can I make a variable = 1 when program change 1 is sent then > variable = 0 when this same message is received a second time ? > > TIA, > > > -David > > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > -- "It is not when truth is dirty, but when it is shallow, that the lover of knowledge is reluctant to step into its waters." -Friedrich Nietzsche, "Thus Spoke Zarathustra"