- song = musicXml2Song('/Users/pinbe/dev/minwii/src/songs/chansons/bon_tabac.xml')
- playingScreen = SongPlayingScreen(synth, song)
+ # lancement du lecteur / clavier
+ songFile = home.songFile
+ playMode = home.modeSelect.value
+ playMode = PLAYING_MODES_DICT[playMode]
+ song = musicXml2Song(songFile)
+ bank, preset = instrumentDescription['bank'], instrumentDescription['preset']
+ synth.program_select(0, bank, preset)
+ playingScreen = SongPlayingScreen(synth, song, mode=playMode)