You are here

Add new comment

rncbc's picture

to clarify: my idea is the reuse the current Normalize tool page and just add an "Compress" option, like so:

[ x ] Normalize

[ x ] Percentage: [0..150%] - this is the param_percent in the formulas above = (100.0 / compress) (see table below);
[ x ] Value: [0..127] - this is param_value or will be the target value if Compress is turned on;
[ x ] Compress - this will switch to compressed_value (new) formula instead of normalized_value (old).

this way there won't be a need to brand new page of entry fields, just an additional checkbox to an existing tool page.

cheers

UPDATE: Initial implementation in qtractor >= 1.3.0.6git.b00566 [develop].

Compress ratio Percentage
1:1 100.0%
2:1 50.0%
3:1 33.3%
4:1 25.0%
5:1 20.0%
6:1 16.6%
8:1 12.5%
9:1 11.1%
10:1 10.0%

I know this is not an intuitive move at all, regarding the OP contribution, but then open for suggestions; also reminding you that only functional conversions at the UI level are possibly acceptable; the dice have rolled already (ie. alea jacta est ;))