gkunter / coquery

Coquery is a free corpus query tool for linguists, lexicographers, translators, and anybody who wishes to search and analyse a text corpus.
GNU General Public License v3.0
18 stars 4 forks source link

Audio component of context viewer is broken #288

Open gkunter opened 7 years ago

gkunter commented 7 years ago

When the context is shown for matches from a corpus with audio support (i.e. Buckeye), the Audio tab is hardly functional.

The first issue is that, there is a second textgrid view below the actual one. Secondly, the audio playback doesn't work. If you click on a textgrid label, the following exception is raised:

NameError | name 'SoundThread' is not defined
Trace     | Function on_button_press() in coquery/gui/textgridview.py, line 150:  
              Function play() in coquery/sound.py, line 131:    
              > self.thread = SoundThread(sound=self, start=start, end=end)