*** NickSB2 has joined #lv2 | 01:09 | |
*** falktx has quit IRC | 01:33 | |
*** six6110 has quit IRC | 03:45 | |
*** six6110 has joined #lv2 | 03:47 | |
*** six6110 has quit IRC | 03:52 | |
*** six6110 has joined #lv2 | 04:06 | |
*** ricardocrudo has joined #lv2 | 07:04 | |
*** ricardocrudo_ has joined #lv2 | 07:06 | |
*** ventosus has joined #lv2 | 07:08 | |
*** ricardocrudo has quit IRC | 07:10 | |
*** edogawa has joined #lv2 | 07:46 | |
*** EntropyS1nk has quit IRC | 07:55 | |
*** ricardocrudo__ has joined #lv2 | 07:56 | |
*** ricardocrudo_ has quit IRC | 08:00 | |
*** ricardocrudo__ has quit IRC | 08:19 | |
*** ricardocrudo__ has joined #lv2 | 09:28 | |
*** wump has joined #lv2 | 10:07 | |
*** wumpus has quit IRC | 10:08 | |
*** sigma6 has joined #lv2 | 10:46 | |
*** edogawa has quit IRC | 12:02 | |
*** falktx has joined #lv2 | 12:41 | |
*** wump is now known as x2346c9a6 | 12:58 | |
*** x2346c9a6 is now known as wumpus | 12:58 | |
*** NickSB2 has quit IRC | 13:41 | |
*** deva has joined #lv2 | 15:26 | |
*** sigma6 has quit IRC | 16:18 | |
*** flexus has joined #lv2 | 16:41 | |
*** son0p has quit IRC | 17:11 | |
*** son0p has joined #lv2 | 17:13 | |
ssj71 | rgareus: do you know why ardour makes all integer ports spinboxes and not sliders? | 17:27 |
---|---|---|
falktx | probably because it makes sense | 17:28 |
rgareus | ssj71: what falktx said. sliders are continuous. | 17:29 |
ssj71 | not in QT. but thats not relevant | 17:29 |
falktx | that said, sliders for ints can work too | 17:29 |
ssj71 | falktx: does it make sense when you have a range of 20000? | 17:30 |
rgareus | ssj71: I've reworked those number-boxes recently (proper mouse-wheel, big/large jumps and jump to min/max by holding shift,ctrl,alt) | 17:30 |
ssj71 | rgareus: recently as in post 4.1? | 17:30 |
rgareus | ssj71: yes | 17:31 |
ssj71 | rgareus: great. Thanks | 17:31 |
ssj71 | but I do still wonder should I remove the lv2:integer property from all the ports and just cast them to int behind the scenes? | 17:31 |
rgareus | sliders for integer (qt style?) with detent only work if the slider is at least twice as in px than the range of int-values. they also behave weird if you only have 2 or 3 values. | 17:32 |
rgareus | hence ardour does not use sliders | 17:32 |
ssj71 | that makes sense when there are few values, but it seems there should be some cutoff where once exceeded it makes more sense as a slider? | 17:34 |
ssj71 | with floats you are still limited in the number of values selectable by the slider | 17:35 |
rgareus | ssj71: if your slider is 200px long and you have a range of 20000. how would you dial-in 217 ? | 17:35 |
ssj71 | I agree, but if you have a float [0,1] with the same slider how do you select 0.20005? | 17:36 |
rgareus | ssj71: it may make sense on the plugin end to simply expose it as float value [0..1] and internally you convert it to integer. | 17:36 |
rgareus | ssj71: it depends if integer granularty is important to be exposed to the user. | 17:36 |
ssj71 | rgareus: thats what I'm wondering. In many cases for rkrlv2 it is not, its just that the backend handles them with integers | 17:37 |
ssj71 | so maybe I'll go through and remove lv2:integer on ports that would make more sense with a slider | 17:37 |
rgareus | e.g. I want exactly 217 samples delay. vs give me something around 25.5ms (don't care 25.4 or 25.6) for this LFO | 17:37 |
ssj71 | that answer is user dependant. Ardour has a way to set a slider value exactly though right? | 17:38 |
rgareus | yes, you can switch sliders to numeric entry | 17:38 |
ssj71 | ok. I think I'll just go off of Rakarrack's interface, things that are a slider will have lv2:int property removed | 17:39 |
falktx | ssj71: I advise you against removing lv2:int | 17:40 |
ssj71 | I just wanted to feel more confident that doing so is not a big no-no for some reason | 17:40 |
falktx | ssj71: I had rounding issues with save/load of zyn fx before, not pretty | 17:40 |
ssj71 | falktx: ah | 17:40 |
ssj71 | falktx: so it would save one value, and load as another? | 17:41 |
falktx | yes | 17:41 |
falktx | it rounds one way on save, rounds another way on load | 17:42 |
falktx | fParameters[index] = std::round(carla_fixValue(0.0f, 127.0f, value)); | 17:42 |
ssj71 | would it round to out-of bounds values then? | 17:42 |
ssj71 | I was planning on just a floor() operation | 17:43 |
falktx | floor(4.99999) = 4 right? | 17:43 |
ssj71 | yes | 17:43 |
falktx | then you see the issue :P | 17:43 |
falktx | some plugin values kept increasing by 1 on each save+load, quite annoying | 17:44 |
ssj71 | more like float t = 4.99999; int i = t; i==4 | 17:44 |
ssj71 | but wouldn't it load as 4.0? | 17:44 |
falktx | sometimes | 17:45 |
rgareus | ssj71: if that'd be on a slider, with floor the first and last would not be equally spaced | 17:45 |
ssj71 | eh. I don't know why I'm arguing I'd really rather NOT go change all the port properties :) | 17:45 |
falktx | float numbers are never nice to work with, precision-wise | 17:45 |
rgareus | (and with floor() you may never even reach the top-end) | 17:45 |
ssj71 | rgareus: agreed. I'm officially leaving them marked as int. Scrollwheel in A4.2 or whatever will basically fix the user complaint | 17:46 |
ssj71 | thanks falktx and rgareus | 17:53 |
rgareus | ssj71: y/w | 17:55 |
rgareus | ssj71: how/'s RK coming along? | 17:55 |
*** deva has quit IRC | 18:44 | |
ssj71 | rgareus: announced beta 0 this weekend | 18:46 |
ssj71 | now I'm writing a script to convert the preset banks to carla presets | 18:46 |
*** son0p has quit IRC | 18:47 | |
*** ventosus has left #lv2 | 20:30 | |
*** NickSB has quit IRC | 20:46 | |
drobilla | falktx: Went with [ a patch:Put ; patch:subject /path/to/bundle ; rdfs:label "Whatever" ; | 20:48 |
* drobilla accidentally presses enter | 20:48 | |
drobilla | well, not quite, but you get the idea | 20:48 |
drobilla | Saving works, but this doesn't really make any particular sense unless all preset things move server side | 20:48 |
*** NickSB has joined #lv2 | 20:53 | |
*** NickSB2 has joined #lv2 | 21:00 | |
*** ricardocrudo__ has quit IRC | 21:09 | |
*** rncbc has joined #lv2 | 21:43 | |
*** flexus has quit IRC | 22:11 | |
*** edogawa has joined #lv2 | 22:11 | |
*** edogawa has quit IRC | 22:11 | |
*** edogawa has joined #lv2 | 22:12 | |
*** edogawa has quit IRC | 22:49 | |
*** rncbc has quit IRC | 23:05 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!