Rockbox Technical Forums
Support and General Use => Recording => Topic started by: Davide-NYC on November 10, 2009, 10:34:52 PM
-
Bug report for the recording rockbox community.
The trigger code seems to be rather broken.
Attempting to change the trigger DB limits (above or below) causes the setting to jump to -84db and get stuck.
You can however still turn the "start above" or "start below" features off.
It also does not show up on the WRS and resets the peakmeters to their smallest size.
Long story short, it's very broken. :-(
At least on the H1x0 target.
If a few people would post their findings here it would be helpful.
-
Is this reported on flyspray?
-
that wont really help.... trigger is not something any of the devs use.. IIRC trigger stuff hasnt changed in months...
-
Last time I worked on it everything was still OK... I wonder what went wrong
-
David, can you work around it by manually adding some of the following settings to your config.cfg file?
trigger start threshold dB: -73 (or whatever you want...)
trigger start threshold linear: 5
trigger stop threshold dB: -73
trigger stop threshold linear: 10
-
Thanks for the tip FredWBauer,
Here was I did and what happened:
I modified by config.cfg file to include these lines:
trigger mode: repeat
trigger start threshold dB: -35
trigger start threshold linear: 5 (actually I'm not sure about this integer)
trigger stop threshold dB: -65
trigger stop threshold linear: 10 (actually I'm not sure about this integer)
When I attempted to record it seemed to work correctly.
I raised and lowered the gain and ended up with a few separate files.
When I re-examined the config.cfg file it looked like this:
# .cfg file created by rockbox r23746M-091125 - http://www.rockbox.org
volume: -26
rec path: /recordings
rec mic gain: 8
trigger stop threshold dB: -65
trigger mode: repeat
Returning to Rockbox and entereing recording I attempted to modify the trigger settings and the start/stop gain thresholds would stick at -84 (or OFF) as previously described.
Examining the config.cfg file after having attempted to modify the trigger settings it still looked like this:
# .cfg file created by rockbox r23746M-091125 - http://www.rockbox.org
volume: -26
rec path: /recordings
rec mic gain: 8
trigger stop threshold dB: -65
trigger mode: repeat
Exactly the same! Something is not accepting changes somewhere in the trigger code.
I rarely use the trigger function, but when it's needed it's very very handy.
-
I just commited a fix for this.
In the future, please report such bugs to flyspray, regardless of what JdGordon says :-)
-
Seems to be fixed, but I only did some very cursory testing.
In the future I will file a bug report in flyspray.
Cheers, Davide.