Searched refs:trim_beginning (Results 1 – 2 of 2) sorted by relevance
46 def capture_audio(self, trim_beginning=0, trim_end=0): argument56 if not trim_beginning:57 trim_beginning = self.audio_params.get('trim_beginning', 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): argument90 b_chunks = trim_beginning * (self.sample_rate // self.chunk)