summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MidiTriggerNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/MidiTriggerNode.h')
-rw-r--r--src/libs/engine/MidiTriggerNode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/MidiTriggerNode.h b/src/libs/engine/MidiTriggerNode.h
index bf11f0b8..e45e6d9e 100644
--- a/src/libs/engine/MidiTriggerNode.h
+++ b/src/libs/engine/MidiTriggerNode.h
@@ -45,10 +45,10 @@ class MidiTriggerNode : public InternalNode
public:
MidiTriggerNode(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size);
- void process(SampleCount nframes);
+ void process(SampleCount nframes, FrameTime start, FrameTime end);
- void note_on(uchar note_num, uchar velocity, SampleCount offset);
- void note_off(uchar note_num, SampleCount offset);
+ void note_on(uchar note_num, uchar velocity, FrameTime time, SampleCount nframes, FrameTime start, FrameTime end);
+ void note_off(uchar note_num, FrameTime time, SampleCount nframes, FrameTime start, FrameTime end);
private:
InputPort<MidiMessage>* _midi_in_port;