Skip to content

Commit

Permalink
Send pitch RPN after system on
Browse files Browse the repository at this point in the history
  • Loading branch information
jangler committed Sep 28, 2023
1 parent d7fbbd0 commit 2bd2693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions faunatone/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ func dialogOpen(d *dialog, sng *song, pe *patternEditor, p *player) {

// needed when loading a file in a different midi mode
p.signal <- playerSignal{typ: signalSendSystemOn}
p.signal <- playerSignal{typ: signalSendPitchRPN}

saveAutofill = s
exportAutofill = replaceSuffix(s, fileExt, ".mid")
Expand Down
1 change: 1 addition & 0 deletions faunatone/playback.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func (p *player) run() {
p.song.MidiMode = (p.song.MidiMode + 1) % numMidiModes
go func() {
p.signal <- playerSignal{typ: signalSendSystemOn}
p.signal <- playerSignal{typ: signalSendPitchRPN}
}()
}

Expand Down

0 comments on commit 2bd2693

Please sign in to comment.