- song = musicXml2Song(home.songFile, printNotes=True)
- synth.program_select(0, 0, 0)
- 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)