diff options
author | David Robillard <d@drobilla.net> | 2008-07-29 04:39:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-07-29 04:39:59 +0000 |
commit | de58b508b28a42b072fb26d2633aa0af37ee7c0e (patch) | |
tree | de1ea38fe51dabe98b21f8533885ec3c1030069b /src/libs/engine/MidiNoteNode.cpp | |
parent | 99aacf95b16b828ca5f50d7dab34487240d07eff (diff) | |
download | ingen-de58b508b28a42b072fb26d2633aa0af37ee7c0e.tar.gz ingen-de58b508b28a42b072fb26d2633aa0af37ee7c0e.tar.bz2 ingen-de58b508b28a42b072fb26d2633aa0af37ee7c0e.zip |
Bump Ingen librdf dependency to 1.0.8.
Several serialization fixes.
Include Smack 808 Om patches converted to Ingen files.
git-svn-id: http://svn.drobilla.net/lad/ingen@1301 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/MidiNoteNode.cpp')
-rw-r--r-- | src/libs/engine/MidiNoteNode.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/MidiNoteNode.cpp b/src/libs/engine/MidiNoteNode.cpp index 729cf2c3..3c4f0e56 100644 --- a/src/libs/engine/MidiNoteNode.cpp +++ b/src/libs/engine/MidiNoteNode.cpp @@ -57,11 +57,11 @@ MidiNoteNode::MidiNoteNode(const string& path, bool polyphonic, PatchImpl* paren _ports->at(2) = _vel_port; _gate_port = new OutputPort(this, "gate", 3, _polyphony, DataType::AUDIO, 0.0f, _buffer_size); - _gate_port->set_variable("ingen:toggled", 1); + _gate_port->set_variable("ingen:toggled", true); _ports->at(3) = _gate_port; _trig_port = new OutputPort(this, "trigger", 4, _polyphony, DataType::AUDIO, 0.0f, _buffer_size); - _trig_port->set_variable("ingen:toggled", 1); + _trig_port->set_variable("ingen:toggled", true); _ports->at(4) = _trig_port; } @@ -225,8 +225,8 @@ MidiNoteNode::note_on(uchar note_num, uchar velocity, FrameTime time, ProcessCon assert(voice != NULL); assert(voice == &(*_voices)[voice_num]); - //cerr << "[MidiNoteNode] Note " << (int)note_num << " on @ " << time - // << ". Voice " << voice_num << " / " << _polyphony << endl; + cerr << "[MidiNoteNode] Note " << (int)note_num << " on @ " << time + << ". Voice " << voice_num << " / " << _polyphony << endl; // Update stolen key, if applicable if (voice->state == Voice::Voice::ACTIVE) { |