Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  Trigger code is broken on H1x0. (possibly on other targets as well)
« previous next »
  • Print
Pages: [1]

Author Topic: Trigger code is broken on H1x0. (possibly on other targets as well)  (Read 2725 times)

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Trigger code is broken on H1x0. (possibly on other targets as well)
« 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.
Logged
Currently: iRiver H132-RTC-CFMod

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #1 on: November 10, 2009, 11:40:00 PM »
Is this reported on flyspray?
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #2 on: November 11, 2009, 02:55:18 AM »
that wont really help.... trigger is not something any of the devs use.. IIRC trigger stuff hasnt changed in months...
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #3 on: November 16, 2009, 08:27:09 AM »
Last time I worked on it everything was still OK... I wonder what went wrong
Logged

Offline fredwbauer

  • Member
  • *
  • Posts: 10
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #4 on: November 17, 2009, 01:08:03 PM »
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
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #5 on: November 25, 2009, 07:44:16 AM »
Thanks for the tip FredWBauer,

Here was I did  and what happened:

I modified by config.cfg file to include these lines:
Code: [Select]
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:
Code: [Select]
# .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:
Code: [Select]
# .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.


Logged
Currently: iRiver H132-RTC-CFMod

Offline Domonoky

  • Developer
  • Member
  • *
  • Posts: 205
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #6 on: November 25, 2009, 03:22:25 PM »
I just commited a fix for this.

In the future, please report such bugs to flyspray, regardless of what JdGordon says :-)
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: Trigger code is broken on H1x0. (possibly on other targets as well)
« Reply #7 on: December 18, 2009, 02:55:14 PM »
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.
Logged
Currently: iRiver H132-RTC-CFMod

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  Trigger code is broken on H1x0. (possibly on other targets as well)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.103 seconds with 15 queries.