Searched refs:trim_end (Results 1 – 2 of 2) sorted by relevance
46 def capture_audio(self, trim_beginning=0, trim_end=0): argument58 if not trim_end:59 trim_end = self.audio_params.get('trim_end', 0)80 return self.capture_and_store_audio(trim_beginning, trim_end)
73 def capture_and_store_audio(self, trim_beginning=0, trim_end=0): argument91 e_chunks = trim_end * (self.sample_rate // self.chunk)