Update generic.py
This commit is contained in:
parent
b4d0e4d6c5
commit
addcab8889
@ -11,6 +11,10 @@ class driver():
|
||||
def initialize(self, environment):
|
||||
self.soundFileCommand = environment['runtime']['settingsManager'].getSetting(environment,'sound', 'genericPlayFileCommand')
|
||||
self.frequenceCommand = environment['runtime']['settingsManager'].getSetting(environment,'sound', 'genericFrequencyCommand')
|
||||
if self.soundFileCommand == '':
|
||||
self.soundFileCommand = 'play -q -v fenrirVolume fenrirSoundFile'
|
||||
if self.frequenceCommand == '':
|
||||
self.frequenceCommand = '=play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence'
|
||||
return environment
|
||||
def shutdown(self, environment):
|
||||
return environment
|
||||
|
Loading…
Reference in New Issue
Block a user