X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/a4026ac6cb2afe5804ca826f7e8fa04254d36d46..570d6a4559218a337ea8e49649a9c4303d9db214:/src/app/minwii.py?ds=inline 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()