Package samer.units

Class Trigger

  • All Implemented Interfaces:
    Task


    public class Trigger
    extends AnonymousTask
    Generates a 1 for each element that rises above threshold, and a -1 for when it drops back below. Can be used to drive MidiSynth, which interprets +1 as note-on and -1 as note-off.
    See Also:
    Serialized Form
    • Constructor Detail

      • Trigger

        public Trigger(VVector input,
                       double th)
    • Method Detail

      • run

        public void run()