from log import console, envLogger, eventLogger
import pygame
import events
+from config import SOUND_FONT
class Synth(FSynth) :
"""
FSynth.__init__(self, gain=gain, samplerate=samplerate)
if not sfPath :
- sfPath = realpath(__file__).split(sep)
- sfPath = sfPath[:-1]
- sfPath.append('soundfonts')
-
- sfPath.append('FluidR3_GM.sf2')
- sfPath = sep.join(sfPath)
-
+ sfPath = SOUND_FONT
assert exists(sfPath)
self.start()