Skip to content

Commit

Permalink
Sent midi out messages in play along
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Dec 17, 2023
1 parent 2388871 commit ccb275f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions neothesia/src/scene/playing_scene/midi_player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ impl MidiPlayer {
.midi_event(u4::new(event.channel), event.message);
}
PlayerConfig::Human => {
// Let's play the sound, in case the user does not want it they can just set
// no-output output in settings
// TODO: Perhaps play on midi-in instead
self.output_manager
.borrow_mut()
.midi_event(u4::new(event.channel), event.message);
self.play_along
.midi_event(MidiEventSource::File, &event.message);
}
Expand Down

0 comments on commit ccb275f

Please sign in to comment.