hi i am trying to create something that acts as a kind of midi keyboard but using a conventional ascii keyboard. I have so far worked out how to call up sounds on keypress using this:
on keydown me
if "1" = the key then
sound(2).play(member("edgyrockguitar"))
else if "2" = the key then
sound(3).play(member("ambientguitar 3"))
and so on
i want to know if it is possible to keep a sound playing for the length of the keypress (i.e. like on an organ)
any ideas?????
much appreciated
on keydown me
if "1" = the key then
sound(2).play(member("edgyrockguitar"))
else if "2" = the key then
sound(3).play(member("ambientguitar 3"))
and so on
i want to know if it is possible to keep a sound playing for the length of the keypress (i.e. like on an organ)
any ideas?????
much appreciated