Skip to content

Commit

Permalink
Support on-the-fly time signature changes in Playback (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
melanchall committed Feb 16, 2025
1 parent fe3b16f commit ac159f6
Show file tree
Hide file tree
Showing 5 changed files with 1,287 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public void EventPlayed_AllEventsTypes()
if (midiEvent is SetTempoEvent)
midiEvent = new SetTempoEvent(500001);

if (midiEvent is TimeSignatureEvent)
midiEvent = new TimeSignatureEvent(3, 4);

return new EventToSend(midiEvent, TimeSpan.FromMilliseconds(delay));
})
.ToArray();
Expand Down
Loading

0 comments on commit ac159f6

Please sign in to comment.