Merge branch 'master' of https://github.com/mudcube/MIDI.js
Conflicts: inc/jasmid/replayer.jsmaster
commit
b8e0cca45e
|
@ -70,8 +70,8 @@ function Replayer(midiFile, timeWarp, eventProcessor) {
|
|||
//
|
||||
function processEvents() {
|
||||
function processNext() {
|
||||
// respect Tempo Event - Mani
|
||||
if ( midiEvent.event.type == "meta" && midiEvent.event.subtype == "setTempo" ) {
|
||||
// tempo change events can occur anywhere in the middle and affect events that follow
|
||||
beatsPerMinute = 60000000 / midiEvent.event.microsecondsPerBeat;
|
||||
}
|
||||
if (midiEvent.ticksToEvent > 0) {
|
||||
|
|
Loading…
Reference in New Issue