Example #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)
Example #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)
Example #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']))