- super(PlayingScreen, self).__init__(distinctNotes)
-
- #cracra code
- soundFont = '/Users/pinbe/dev/minwii/fluid-soundfont-3.1/FluidR3_GM.sf2'
- bank = preset = 0
-
- self.fs = fs = fluidsynth.Synth()
- fs.start()
- self.fsid = fsid = fs.sfload(soundFont)
- fs.program_select(0, fsid, bank, preset)
-
- def __del__(self) :
- self.fs.delete()
-