1 # -*- coding: utf-8 -*-
9 from pgu
.gui
import Desktop
10 from pgu
.gui
import QUIT
11 from widgets
.home
import Home
12 from widgets
.playingscreen
import SongPlayingScreen
, PlayingScreen
13 from synth
import Synth
14 from eventutils
import EventDispatcher
15 from musicxml
import musicXml2Song
22 synth
.program_select(0, 0, 0)
26 #home.connect(QUIT, app.quit)
30 song
= musicXml2Song('/Users/pinbe/dev/minwii/src/songs/chansons/etoile_neige.xml', printNotes
=True)
31 playingScreen
= SongPlayingScreen(synth
, song
)
32 #playingScreen = PlayingScreen(synth)
34 EventDispatcher
.reset()