X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/a4026ac6cb2afe5804ca826f7e8fa04254d36d46..a73a4820f5dcb29350d623eaf9bdd27884dfb73e:/src/app/minwii.py diff --git a/src/app/minwii.py b/src/app/minwii.py index 2e65952..b279000 100755 --- a/src/app/minwii.py +++ b/src/app/minwii.py @@ -54,6 +54,8 @@ class MinWii(object): playMode = PLAYING_MODES_DICT[playMode] song = musicXml2Song(songFile) bank, preset = instrumentDescription['bank'], instrumentDescription['preset'] + octave = instrumentDescription.get('octave', 0) + synth.adjust_octave(0, octave) synth.program_select(0, bank, preset) playingScreen = SongPlayingScreen(synth, song, mode=playMode) playingScreen.run()