Mercurial > hg > sonic-visualiser
diff audioio/AudioGenerator.cpp @ 185:f3191ab6d564
* Add MIDI file export (closes FR#1643721)
author | Chris Cannam |
---|---|
date | Thu, 04 Oct 2007 11:52:38 +0000 |
parents | ebd906049fb6 |
children |
line wrap: on
line diff
--- a/audioio/AudioGenerator.cpp Mon Oct 01 13:48:38 2007 +0000 +++ b/audioio/AudioGenerator.cpp Thu Oct 04 11:52:38 2007 +0000 @@ -536,7 +536,7 @@ onEv.type = SND_SEQ_EVENT_NOTEON; onEv.data.note.channel = 0; onEv.data.note.note = 64; - onEv.data.note.velocity = 127; + onEv.data.note.velocity = 100; snd_seq_event_t offEv; offEv.type = SND_SEQ_EVENT_NOTEOFF; @@ -680,7 +680,7 @@ onEv.type = SND_SEQ_EVENT_NOTEON; onEv.data.note.channel = 0; onEv.data.note.note = 64; - onEv.data.note.velocity = 127; + onEv.data.note.velocity = 100; snd_seq_event_t offEv; offEv.type = SND_SEQ_EVENT_NOTEOFF;