Пример #1
0
 def _open_in_praat(self, headers, treeview):
     start, end = self._get_sel_row_clip_info(headers, treeview)
     
     if self.wav_filename and start != None and end != None:
         PraatInterop.open_praat()
         PraatInterop.send_commands(PraatInterop.get_open_clip_script(start, end, self.wav_filename))
Пример #2
0
 def _open_praat(self):
     start_time, end_time = self._get_bounds(include_context=True)
     PraatInterop.open_praat()
     PraatInterop.send_commands(
         PraatInterop.get_open_clip_script(start_time, end_time,
                                           self.check.wav_filename))