| View previous topic :: View next topic |
| Author |
Message |
fgouyon
Joined: 22 Oct 2004 Posts: 4 Location: Universitat Pompeu Fabra - Barcelona
|
Posted: Fri Oct 22, 2004 9:59 am Post subject: audio feedback of segment boundaries in transcription panes |
|
|
Hello,
With some colleagues, we implemented a plugin for wavesurfer that permits to visualize the beats of a musical audio signal. It calls a dll with the audio samples as input which in turn outputs a list of beat locations that are displayed in a transcription pane.
The URL is http://www.iua.upf.es/~fgouyon/BeatTrackingPlugin
(disclaimer: It is still in a *very* beta version.)
My problem is the following, for more accurate annotations, I need to enable an audio feedback of these visual markers, the best would be to add, during playback, a very short audio file (e.g. burst of noise) at the beat locations.
I don't know how I could do that... I was thinking I could trigger the burst of noise each time the cursor crosses a marker but it doesn't seem possible to ask at each time sample the cursor's position. I also thought about adding a few changes in the `play' function, however I can't find its implementation.
Could somebody help me here?
Many thanks.
Fabien Gouyon - UPF |
|
| Back to top |
|
 |
kare
Joined: 16 Aug 2002 Posts: 371 Location: KTH, Centre for Speech Technology
|
Posted: Sun Oct 24, 2004 10:55 pm Post subject: |
|
|
You could use the "wsurf::RegisterPlugin -playproc" option to create a number of Snack play commands for a sound object containing your timing sound file. Each of these should have a "-starttime n" option, where n is in milliseconds. This is not documented stuff and you probably need some luck!
Kåre |
|
| Back to top |
|
 |
fgouyon
Joined: 22 Oct 2004 Posts: 4 Location: Universitat Pompeu Fabra - Barcelona
|
Posted: Mon Oct 25, 2004 5:00 pm Post subject: |
|
|
Thanks!
It seems to work.
Fabien Gouyon |
|
| Back to top |
|
 |
|