©2003 Kåre Sjölander and Jonas Beskow
Introduction Download Documentation Links Forum
WaveSurfer user forum

FAQ  FAQ
Search  Search
Memberlist  Memberlist
Register  Register
Profile  Profile
Login  Login

audio feedback of segment boundaries in transcription panes

 
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer
View previous topic :: View next topic  
Author Message
fgouyon



Joined: 22 Oct 2004
Posts: 4
Location: Universitat Pompeu Fabra - Barcelona

PostPosted: Fri Oct 22, 2004 9:59 am    Post subject: audio feedback of segment boundaries in transcription panes Reply with quote

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
View users profile Send private message Visit posters website
kare



Joined: 16 Aug 2002
Posts: 371
Location: KTH, Centre for Speech Technology

PostPosted: Sun Oct 24, 2004 10:55 pm    Post subject: Reply with quote

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
View users profile Send private message Visit posters website
fgouyon



Joined: 22 Oct 2004
Posts: 4
Location: Universitat Pompeu Fabra - Barcelona

PostPosted: Mon Oct 25, 2004 5:00 pm    Post subject: Reply with quote

Thanks!
It seems to work.
Fabien Gouyon
Back to top
View users profile Send private message Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.1 © 2001, 2002 phpBB Group