I've downloaded the diff & host.c & drive.c examples Tim posted - which I'll look at in time....still got other stuff to do first....
From: Tim Goetze >Date: Mon, 8 Mar 2004 18:30:01 +0100 (CET) i'll try to explain in terms of UI controls:
MOMENTARY: a push button, sending 'yes' when pressed and 'no' when released.
TRIGGER: a push button, sending 'yes' only at press *or* release, and 'no' at any other point in time.
In wcnt I have an input and output type which is a 'trigger'. it is ON for one sample only. That's it. For example, note on and note off come from two seperare trigger outputs. This means that the adsr can be retriggered without it thinking it's a note off. but then I don't use any midi messaging for such events.
(There is also a 'state' which can be 'ON' for many samples, but I've not found any use for this as far as inputs and outputs go, except perhaps displaying whether something is 'playing' - which nothing does)
My concept of a trigger came from using a korg ms20 and ms50 expander, and I think I may have recorded a trigger signal to see what shape it was, and it was certainly not like a single sample at full amplitude, but generally it has the same effect.
James.
~(sirromseventyfive)~
_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband
