def setup(self): self.outdir = mkdtemp() self.recdir, self.tmp = mkdtemp(), mkdtemp() config = SoundConfig(recdir=self.recdir, tmpdir=self.tmp, outdir=self.outdir) self.sounds = [ Recording(config, 'recording', 'Recording'), Silence(config, 2), Beep(config) ] self.sound = SoundConcat(config, 'drill', self.sounds)
def setup(self): recdir = "/fake" self.tmp = mkdtemp() config = SoundConfig(recdir=recdir, tmpdir=self.tmp) self.silence = Silence(config, 2.34)