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
16 from config
import SONG_FILE_PATH
23 synth
.program_select(0, 0, 0)
26 home
= Home(songPath
=SONG_FILE_PATH
)
27 home
.connect(QUIT
, app
.quit
)
31 song
= musicXml2Song('/Users/pinbe/dev/minwii/src/songs/chansons/etoile_neige.xml', printNotes
=True)
32 playingScreen
= SongPlayingScreen(synth
, song
)
33 #playingScreen = PlayingScreen(synth)
35 EventDispatcher
.reset()