Hmmm, there doesn't seem to be any documentation on the trigger, so seeing as I just figured out exactly how it works and fixed my patch because it broke some things
, here's what all those options do:
Trigger:
Once: Apply the trigger once and then switch the trigger off when it reaches the stop state.
Repeat: Keep the trigger active so that it continually detects trigger events.
Triggertype:
Stop: Stop the recording when the trigger enters the stop state. Start new file when trigger enters the record state.
Pause: Pause the recording when the trigger enters the stop state. Resume recording when trigger enters the record state.
Nf on stp: Start a new file when the trigger enters the stop state (split track). Do nothing (apart from the very first time when it will start recording) when trigger enters the record state.
Prerecord time: Amount of prerecording buffer to use while recording is stopped (max 30secs).
Start above: The minimum number of decibels needed to place the trigger in the record state.
for at least: The amount of time the input must be above the 'Start above' level before the record state is entered.
Stop below: The maximum number of decibels allowed to place the trigger in the stop state.
for at least: The amount of time the input must be below the 'Stop below' level before the record state is entered.
Presplit gap: For this to work the value must be smaller than the the 'Stop below' value. To disable this feature it must be set above the 'Stop below' value.
When the input is below the 'Stop below' value for the amount of time set here, if the input is then increased to be above the 'Start above' value for the amount of time in the Start 'for at least' setting, a new file will start.
Settings example: (for clarity)
Start above = -22db
for at least = 1 sec
Stop below = -41db
for at least = 15 seconds
Presplit gap = 2 seconds
situation: recording from a cd
When the first track starts to play, when the input is above -22 db for 1 second the recording will begin.
At the end of the first track, if there are more that 2 seconds and fewer than 15 seconds under -41db , a new file will begin when the input is above -22 db for 1 second.
If the gap between the songs (less than -41db) is more than 15 seconds or you get to the end of the album, recording will stop.
Phew, it's quite difficult to explain in words... If you can understand that and can make it more obvious then maybe it should be put in the manual (after I commit it of course).
It still needs lots of testing though... anyone?