You are here

Add new comment

TAERSH's picture

In the early days I used Hydrogen for the Drums. In 2009/2011 I created Hydrogen drum kits from samples recorded of my huge Sonor Force 3007 drum kit. Last year I created a .sf2 sound file from that samples, so I'm using Hydrogen now for the metronome only. I want to get rid of the use of Hydrogen. So, by now I have added a small line (using command "system()") to the source code in function "transportMetro()", calling a script "qtractor_SwitchKlick". Within this script I'm switching program "klick" for the use of the metronome.

The script is either calling "klick -j -P" to enable the metronome, make it following JACK transport and auto-connect to JACK or calling "killall klick" to disable the metronome. Works good so far. The only problem by now is: when I'm accidentally exiting Qtractor with Metronome enabled, "klick" will run on disabling the Metronome and revert. But I can live with that for now.

Though, I got a warning when compiling about something unused (return value?) on the "system()" command. But it doesn't seem to have any negative effect.

Thanks a lot!!!