Csound Csound-dev Csound-tekno Search About

Simulating a "bang"

Date2006-03-17 15:50
FromDavid Akbari
SubjectSimulating a "bang"
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

Date2006-03-17 16:16
From"Chuckk Hubbard"
SubjectRe: Simulating a "bang"
AttachmentsNone