Saturday, 2017-03-18

*** ssj71 has quit IRC00:09
*** edogawa has quit IRC01:35
*** NickSB has quit IRC02:31
*** NickSB has joined #lv202:35
*** Yruama_Lairba has quit IRC03:40
*** NickSB has quit IRC05:27
drobillaI guess something like enum { SUIL_ARG_QAPPLICATION, ... } SuilArg; void suil_init(SuilArg arg, void* val, ...) will do for init08:22
drobillaThough that one's a bit pointless since there's a static global for it in Qt anyway08:39
*** dsheeler has joined #lv209:17
*** rncbc has joined #lv209:21
drobillaHm, shit.  Init information needs to actually be stored somewhere09:51
drobillaWhich in an alternate universe could maybe have been SuilHost, but this is created late and often several times by hosts to set different functions or whatever09:52
drobillaI guess static data in suil itself is fine, since it's not a module and all09:53
*** edogawa has joined #lv210:05
*** trebmuh has joined #lv210:42
rgareuslet's just move to VST312:11
drobillayeah, no :P12:13
rgareusdrobilla: I thought you would you be among the first to like that it includes a sane way to describe *generic UIs*.12:14
drobillaI haven't really looked at it TBH12:15
drobillaJudging by the horror show that is VST controls I'm not exactly hopeful :)12:15
rgareuson the upside they speficy exactly 1 option for custom UIs per OS:     HWND (win),    NSView (OSX),   UIView (iOS),  X11EmbedWindowID (Linux)12:23
rgareusnot quite true, on OSX they also allow the old  "HIView"  (but that's compatibility)12:24
*** M-badosu has quit IRC12:25
*** unclechu has quit IRC12:25
drobillaMeh.  It's a mistake to conflate what the API allows which what you should actually do, IMO.12:27
rgareusand VSTs iplugview API is very similar to pugl  +  idle-interface12:27
drobillaThere are other options that are totally reasonable12:27
drobillawith* what12:27
rgareusthe only thing that VST completely screwed up is  UTF1612:27
drobillaThe only way to not screw up UTF16 is to not use UTF16 :D12:27
rgareusheh, indeed12:28
*** unclechu has joined #lv212:44
*** M-badosu has joined #lv212:49
*** yann-kaelig has joined #lv212:51
drobillawoo sunshine.  I need to get a bicycle already12:51
rgareusreally? a few miles west it's rather cloudy and windy.12:53
rgareusand I have the feeling it'll start to rain soon.12:54
drobillaOkay, well, relatively brief moments of :P12:54
* rgareus 's bike is still in the basement.12:55
rgareusthen again you would not call that a bike either..  omafiets12:55
drobillaheh12:56
drobillaHm.... I thought I had an experiment for basic math operator plugins around here somewhere, but I think it died with my thinkpad :/12:57
rgareusdrobilla: control port maths?12:57
rgareuslike https://github.com/x42/controlfilter.lv212:58
drobillaMore like "any port maths"12:58
drobillaThough I guess if it's all float it might as well be, and I can implement applying such plugins to buffers in the host12:58
drobilla(Queue regular moaning about connect_port)12:59
rgareusventosus' OpenMusicKontrollers should have some more elaborate  /any maths/ plugins.  moony.lv2 can probably do "whatever"13:00
rgareusdrobilla: ingen?13:00
drobillaI should play with those more13:01
drobillaAtom inspector looks cool :) I wonder about that OSC bit...13:02
drobillargareus: Yeah, general motivation being to have a basic toolkit of low level units to build stuff in ingen13:02
drobillaProbably also along with some kind of pd-ish text-based adding thing for [math.sin] or whatever, tab completion would be nice, etc13:02
* drobilla never has time to play with the fun things13:03
drobillahrm, sherlock crashes in jalv.gtk right off the bat13:06
* drobilla grumbles something about fucking cryptic cmake13:17
drobillaUses worker, doesn't list it as supported.  tsk tsk13:22
*** HarryHaaren has joined #lv213:24
ventosusdrobilla: you pulled at the wrong moment, just doing some changes today, ttl's were not updated, yet, try again :)13:35
drobillaventosus: OK.  Other problems if I force it to init the worker...13:38
drobilla10 points for how to get a &*($#@&*($&*( unstripped binary13:38
drobillaventosus: loads now, anyway, thanks13:40
drobillaCan't see the itty bitty text whatsoever, but don't get me started on the braindead way our entire ecosystem has dealt with DPI :)13:41
drobillaCool beans, anyway.  I need to make some atom assembling things for ingen13:42
ventosusNK_SCALE=2 jalv.gkt ...13:42
drobillaventosus: thanks13:42
ventosusdynamic resize is on the TODOlist :)13:42
drobillapugl could probably use some facilities for this13:44
drobillaanyhoo, math... I really hate control ports so much13:47
drobillaBut I *guess* to just basically make cmath.h.lv2 that's the pragmatic thing to do13:47
drobillaI thought it'd be quite nice to have plugins that have individual atom ports (literally, not sequences) for "functional" sort of stuff, then have the host or an adaptor layer apply them to sequences of atoms13:53
drobillaBut that screws you for CV because you have to copy into the actual atom13:53
drobillaPop quiz: a plugin says it is logarithmic and has a given min and max but no default value because LADSPA is fucked.  What's the default value?14:22
HarryHaarendrobilla: case by case basis? Or do you wanna just set a "default" something?14:24
* HarryHaaren would guess 50% of linear space, and then LOG-ify that14:24
HarryHaarenps; hey14:24
* drobilla shrugs14:25
drobillaSeems like a thing that would be specified, but apparently not14:25
drobilla(This is a thing in some of fons' plugins, which I ported, which is why lv2bench crashes on cs_chorus)14:25
drobillaalso hi :)14:25
ventosusdrobilla: what would this atoms contain? some virtual machine op code? [a Tuple [a op:Push 0.5], [a op:Mul], [a op:Push 0.5], [a op:Add]]14:31
rgareusdrobilla: pick a random number between min/max  it's as good as any14:32
rgareusdrobilla: ladspa does have some hints for defaults though14:33
*** yann-kaelig has quit IRC14:33
drobillaventosus: ........... numbers?14:34
rgareusdrobilla: it even specified the relationship between LADSPA_HINT_LOGARITHMIC  +  LADSPA_HINT_DEFAULT_MIDDLE  (and some other LADSPA_HINT_DEFAULT**)14:34
drobillaventosus: Nice thought, though :)14:35
drobillargareus: Yeah, there just isn't any default anything hint14:35
drobillaWhich is slightly odd because Fons is pretty particular about correct default values and stuff14:35
drobillaBut anyway, I realize that giving NaN to such controls is obviously a bug anyway, so it doesn't matter14:35
drobilla(which is what happens if you just feed the output of lilv_plugin_get_port_ranges_float into them)14:36
*** deva has joined #lv214:40
rgareusdrobilla: ardour uses "0" in that case (regardless if it's out of bounds)  https://github.com/Ardour/ardour/blob/master/libs/ardour/ladspa_plugin.cc#L17314:40
*** yann-kaelig has joined #lv214:40
drobillargareus: That's..... one option :)14:51
*** NickSB has joined #lv216:53
*** rncbc has quit IRC17:42
*** rncbc has joined #lv217:43
* drobilla tries to figure out how the hell ingen should behave WRT state save/restore18:33
drobillaI suppose I will need to maintain some kind of "graph structurally changed since load" thing18:33
drobillaI hate flakey statey flags18:33
*** deva has quit IRC20:13
*** Yruama_Lairba has joined #lv221:12
*** HarryHaaren has quit IRC21:20
*** yann-kaelig has quit IRC21:52
*** yann-kaelig has joined #lv221:56
*** edogawa has quit IRC22:30
*** edogawa has joined #lv222:34

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!