Ejemplo n.º 1
0
 def writeRoutineStartCode(self, buff):
     inits = getInitVals(self.params)
     code = ("%(name)s = microphone.AdvAudioCapture(name='%(name)s', "
             "saveDir=wavDirName, stereo=%(stereo)s)\n")
     buff.writeIndented(code % inits)
Ejemplo n.º 2
0
 def writeRoutineStartCode(self, buff):
     inits = getInitVals(self.params)
     code = ("%(name)s = microphone.AdvAudioCapture(name='%(name)s', "
             "saveDir=wavDirName, stereo=%(stereo)s)\n")
     buff.writeIndented(code % inits)
Ejemplo n.º 3
0
 def writeRoutineStartCode(self, buff):
     inits = getInitVals(self.params)
     buff.writeIndented(
         "%s = microphone.AdvAudioCapture(name='%s', saveDir=wavDirName, stereo=%s)\n"
         % (inits['name'], inits['name'], inits['stereo']))