[pulseaudio-discuss] Metronome

Stéphane List slist at lilotux.net
Mon Jan 11 04:33:35 PST 2010


Hi list,

I've just wrote a metronome in QT for pulseaudio :
http://slist.lilotux.net/linux/qmetronome/index_en.html

Basicaly, the following pactl commands are used :


pactl upload-sample tick.wav tick


Every x ms,

pactl play-sample tick


pactl remove-sample tick


It works well if my PC is already playing a MP3. But if my PC is silent, 
the 3 first ticks don't look very accurate.
Any hint ?


Regards


Stephane






More information about the pulseaudio-discuss mailing list