MidiImport: fixed mistransposed notes
When importing MIDI files notes were always mistransposed by 9 semitones.
This commit fixes correction of notes' keys so imported MIDI files sound
just like they should.
(cherry picked from commit 617def002b)
This commit is contained in:
@@ -367,7 +367,7 @@ bool midiImport::readSMF( trackContainer * _tc )
|
||||
|
||||
note n( noteEvt->get_duration() * ticksPerBeat,
|
||||
noteEvt->get_start_time() * ticksPerBeat,
|
||||
noteEvt->get_identifier() - 3,
|
||||
noteEvt->get_identifier() - 12,
|
||||
noteEvt->get_loud());
|
||||
ch->addNote( n );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user