FS#1899 - volume triggered recording

Attached to Project: Rockbox
Opened by Philipp Pertermann (langhaarrocker) - Wednesday, 31 December 2003, 22:25 GMT
Last edited by Linus Nielsen Feltzing (linusnielsen) - Monday, 04 April 2005, 09:12 GMT
Task Type Patches
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This closes feature request No 611717

Add a new menu item "trigger" to the recording menu. Once the trigger properties are defined you can arm the trigger by pressing play in the record screen.

There are some issues still to be fixed before this should be committed:

- When peak meter is in logarithmic mode the control of the trigger thresholds is lousy
- Configuration of the trigger can be saved in a config file, but not yet in rtc or anywhere else where the last settings are restored.

This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Monday, 04 April 2005, 09:12 GMT
Reason for closing:  Accepted
Comment by Lee Pilgrim (diddystar5) - Friday, 02 January 2004, 17:34 GMT

Wow! Thats very usefull for me. My dad is always wanting me
to record some of his old tapes to cd, and getting the
correct start is hard to estimate, and saves time in mp3
driect cut. Thanks Phil!
Comment by Philipp Pertermann (langhaarrocker) - Saturday, 03 January 2004, 16:35 GMT

This new patch
- fixes the lousy db control issue
- settings are stored and restored
- prerecord time control added
- in recording screen the trigger setup can be opened with f3
- dropout time limited to max 2s
- response at start duration 0s improved
- unified some code

I consider it as code-police-ready.

Comment by Eric Linenberg (elinenbe) - Saturday, 03 January 2004, 17:26 GMT

This patch works great here. Also, nice to see you back
Phillipp! Maybe the time has come for configurable F menus
and other keys :D
Comment by Philipp Pertermann (langhaarrocker) - Sunday, 04 January 2004, 03:37 GMT

Some changes as proposed by Martin Borus
- Thresholds limits adapted, special values have names like off, or -inf.
- Trigger modes renamed
- optical feedback on trigger states
- What about prerecording == record_pause? I turned on that orphant icon.
Comment by Manuel Dejonghe (limbus) - Friday, 16 April 2004, 01:17 GMT

This patch not only closes the feature request 611717 as
stated above but closes feature request 882036 too (http:
func=detail&group_id=44306&atid=439121&aid=882036), which
is a perfect dupe.

This goes very well with feature request 603469 (http:
func=detail&group_id=44306&atid=439121&aid=603469), which
requests a silence detection.
Comment by Blue Chip (bluechip) - Tuesday, 08 June 2004, 03:40 GMT

As the new Audio_3587 plugin requires a new build I would like
to include this in the Cyborg Systems branch of Rockbox.

Are you happy that it is finished now?

Comment by Philipp Pertermann (langhaarrocker) - Saturday, 16 October 2004, 17:09 GMT

I updated the patch to match the current cvs. Still a few quirks in it :(

Comment by Philipp Pertermann (langhaarrocker) - Sunday, 17 October 2004, 10:30 GMT

- retrigger seems to work
- led doesn't blink in quickscreens
Comment by Philipp Pertermann (langhaarrocker) - Sunday, 17 October 2004, 11:02 GMT

stupid me uploaded a broken patch file
Comment by Philipp Pertermann (langhaarrocker) - Wednesday, 27 October 2004, 08:13 GMT

synched with V2.3
Comment by Philipp Pertermann (langhaarrocker) - Wednesday, 27 October 2004, 08:41 GMT

Just because of the joy of it I uploaded a patch that
combines triggered recording with the recled patch 1055147.
It is more than a plain combination as changes in
recording.c were necessary. If someone agrees that both
(triggered recording _and_ recled) should be applied then I
recommend to use the patch file recledtrig.patch to make it
Comment by Tod Sandberg (todsandberg) - Saturday, 12 February 2005, 18:43 GMT Comment by Philipp Pertermann (langhaarrocker) - Saturday, 12 March 2005, 10:11 GMT

The new patch has a different display for the trigger states. It doesn't use the traffic light symbol any more but something like a progress bar. It's bigger and I had to sacrifice the display of the sample rate when recording from line in.
Maybe someone likes it.

Comment by Philipp Pertermann (langhaarrocker) - Saturday, 12 March 2005, 10:15 GMT

I'm too stupid to upload a file at first try. grrr.