During coding a way to store and restore mixer DSP chains in my Snapshot tool i have found a few parameters, which seem to be impossible to set back. Below is just an example for the delay device, but there are much more devices, like the hydra, which use “-1” as value and it should be in the accepted range by Renoise i think and not throw an error.
--- Storing Dump ---
Device: Delay
Parameter Name: L Delay Value: 108
Parameter Name: R Delay Value: 326
Parameter Name: L Feedb. Value: 0.15000000596046
Parameter Name: R Feedb. Value: 0.30000001192093
Parameter Name: Send Value: 127
Parameter Name: Line Sync Value: 1
Parameter Name: Sync L DelayTime Value: -1
Parameter Name: Sync R DelayTime Value: -1
Parameter Name: L Output Pan Value: 0
Parameter Name: R Output Pan Value: 1
Parameter Name: Mute Dry Value: 0
Parameter Name: L Sync Time Value: 1
Parameter Name: R Sync Time Value: 3
Parameter Name: L Offset Value: 0
Parameter Name: R Offset Value: 0
--- Loading Dump ---
Device: Delay
Parameter Name: L Delay Value Saved: 108 Value Original: 108
Parameter Name: R Delay Value Saved: 326 Value Original: 326
Parameter Name: L Feedb. Value Saved: 0.15000000596046 Value Original: 0.15000000596046
Parameter Name: R Feedb. Value Saved: 0.30000001192093 Value Original: 0.30000001192093
Parameter Name: Send Value Saved: 127 Value Original: 127
Parameter Name: Line Sync Value Saved: 1 Value Original: 0
Parameter Name: Sync L DelayTime Value Saved: -1 Value Original: -1
*** std::logic_error: 'invalid parameter_value value '-1'. valid values are [0-255].'
*** stack traceback:
*** [C]: ?
*** [C]: in function '__newindex'
*** [string "do..."]:22: in function
*** main.lua:820: in function 'load_snapshot'
*** main.lua:870: in function <870><br>
<br>```
</870>