Wednesday, 2016-10-19

*** trebmuh has joined #lv206:38
*** falktx has joined #lv207:24
*** ocbtec has joined #lv207:27
*** sigma6 has joined #lv208:04
*** unclechu has quit IRC08:45
*** unclechu has joined #lv208:58
*** ventosus has quit IRC09:44
*** ventosus has joined #lv209:47
*** kmic is now known as kmicu11:22
*** artfwo has quit IRC11:46
*** Yruama_Lairba has joined #lv211:57
*** edogawa has joined #lv212:08
*** rncbc has joined #lv214:27
*** trebmuh has quit IRC14:45
*** trebmuh has joined #lv214:48
*** gianMOD has joined #lv214:59
*** gianMOD has quit IRC15:14
*** gianMOD has joined #lv215:16
*** ocbtec has quit IRC15:20
*** gianMOD has quit IRC15:26
*** gianMOD has joined #lv215:36
*** sigma6 has quit IRC16:05
*** gianMOD has quit IRC16:09
rncbcrgareus: hi, have seen the lv2state#Dirty on devel maillist and also vote for the plugin->host event solution16:10
rgareusrncbc: that's good to know.16:17
rgareusrncbc: it's unlikely that we'll end up "voting"  but if you would make a case on the mailing-list, that'll likely help to convince drobilla.16:18
rncbcrgareus: i just read the digest archives. anyway im going to put into code on qtractor fwiw.16:19
rgareusrncbc: for now I use a non-standard URI16:19
rncbcrgareus: ill make a #ifdef LV2_STATE__Dirty something and16:20
rncbcrgareus: #define LV2_STATE__Dirty LV2_STATE_PREFIX "#Dirty"16:20
rgareusthat makes sense16:21
rncbcrgareus: i know you made it on ardour.org16:21
rgareuscurrently it's   http://ardour.org/lv2/state#Dirty      (and setBfree has a example plugin implementation)16:21
rgareusdrobilla has considered    http://lv2plug.in/ns/ext/state/#StateChanged16:22
rncbcah, didn't saw that coming, yet :)16:22
rgareusit was here on IRC a few days ago16:22
rncbcso it's #define LV2_STATE__StateChanged LV"_STATE_PREFIX "#StateChanged"16:23
rncbcs/"/216:23
rgareusyeah,  except it's not official, let.16:23
rgareuss/let/yet/16:23
rncbcif you agree, i can make it s/Dirty/StateChanged// from this moment. maybe you'll comply first on ardour and setbfree16:26
rgareusI have 3 or 4 more plugins in the queue. I was going to wait until there's an official spec.16:27
rgareusbefore updating them all.16:27
rncbcweel, it's just one string anyway, #ifndef LV2_STATE__StateChanged, remember? :)16:28
rgareusrncbc: OK i'll change it now16:29
rgareusso   http://ardour.org/lv2/state#StateChanged   for the time being?16:29
rgareusdrobilla: ^^  do you have an ETA?16:29
rgareusif we can get an official URI in - say - the next 48 hours, that'd be even better.16:30
rncbceh the #ifndef purpose is about the "pre-official" status of this conspiration :)16:31
rgareusrncbc: there is also  state:InternalStateChanged   on the table16:32
rgareusand HiddenStateChange  (because actual state-changes are known to the host)16:32
rgareusand I think the proper standard is with a lower-case letter16:32
rgareuscompare to  http://lv2plug.in/ns/ext/state/#threadSafeRestore16:33
rncbcafaict, LV2_STATE_PREFIX quals to "http://lv2plug.in/ns/ext/state#"16:34
rgareus"state" is implicit  to maybe just    state:changed16:34
rncbcso i better rephrase that as #define LV2_STATE__StateChanged LV2_STATE_PREFIX "StateChanged"16:35
rgareusrncbc: if you have a better interim naming convention, I'm happy to change (hardcode) the URI  (ardour + setBfree)16:37
rncbcfor that we'll have "http://lv2plug.in/ns/ext/state#StateChanged"16:37
rncbcwell, for the time being, at first glance, lv2state:StateChanged lv2state:InternalStateChanged are semantically equivalent to me. why have two?16:38
rgareusno, not two16:41
rncbcit sounds like we're discussing the names and not addressing the problem16:41
rgareuswe just tried to come up with  a good name16:41
rgareusI proposed  "http://lv2plug.in/ns/ext/state/#Dirty"   (mainly pitched the idea).16:42
rncbc"Dirty" was (and is) a good name for me :)16:42
rncbcif you read the whole the URI, literally it has not repetitions, no redundancy, i mean the "state" word is NOT repeated. ehehe16:44
rncbcand semantically its really a one-way signaling flag anyway, isn't it?16:45
rncbcit's about a plugin telling the host that "i, the plugin" made something "here" that "you, the host" are not aware about.16:47
rgareushttps://github.com/x42/lv2/commit/d5a4761e0a89aaf08efde752763c2fb75434c44316:49
rgareusI'll file a pull request.16:49
rncbcah, you paid real attention  :) you made it as LV2_STATE__changed :)16:51
rgareusyeah  STATE__State   was one "state" too many16:51
rncbcyep16:52
rgareushmm. it looks like I can't just file a PR for a single commit on GH.  it has to be a branch :(16:53
rgareushttps://github.com/drobilla/lv2/pull/916:55
rgareusaah crap. invalid HTML doc16:56
rgareusany last minute comments before I update it?16:57
drobillargareus: Still an inconsistency, but n/m, I'll fetch and fixup it17:17
drobillaActually I don't think it's one state too many.  The prefix shouldn't be considered part of the name, though it's a bit clumsy in practice.  *shrug*17:19
drobillaLately I'm of the opinion that a good 90% of what's in LV2 should just be in the lv2 namespace and only very distinct stand-alone things in other ones, but here we are17:19
*** jbitdrop has joined #lv217:20
drobillaI'll verbose up the rules while I'm at it, I suppose17:25
drobillargareus: Also there's no lv2:Class :)17:27
* drobilla hugs sord_validate17:28
*** ocbtec has joined #lv217:29
rgareusdrobilla: thanks.17:29
drobillaSome day I should probably add more lintey things like the class name capitalization thing17:29
drobillaanyway, commit upcoming17:30
drobillaThus bumps the minor version number.  Some day we'll have a point release.  Some day!17:31
drobillargareus, rncbc: http://lv2plug.in/git/cgit.cgi/lv2.git/commit/?id=dbb18d82136d43eec435e321bffa835ba5776d6e17:38
drobillaRe: names, "Dirtied" would have been the appropriate form of that one, I suppose, being a notification and not a property17:40
* drobilla shrugs17:40
rgareusardour + setBfree are updated17:58
*** dsheeler has joined #lv218:16
rncbcdrobilla, rgareus: so be it http://lv2plug.in/ns/ext/state#StateChanged , okidoki19:06
rgareusdrobilla: can you update the online doc?19:08
drobillammmm19:14
drobillageneral practice this far has been to host the stable docs online only19:14
rgareusok. n/m then19:38
drobillaSpeaking of releases, maybe now's the time to quasi-unify20:01
drobillaVery slightly missed the mark of everything being synced up, but not much20:01
drobillaI think the only really realistic way of doing this is to just take the lib repos as they are, leave them as self-contained repos with coherent history and so on, migrate the to lv2plug.in and use submodules to put them in the dist20:02
drobillaDespite how not-fun submodules are, I'm used to it enough by now20:02
drobilla(More annoying from the puller POV)20:02
rgareusdrobilla: ./waf update # does the trick, doesn't it?20:11
drobillargareus: Yeah, if you know it exists, anyway20:15
drobilla(Though I tend to get ssh blocked by dreamhost doing that on mine because there's so many)20:16
drobillaIn some ideal world they'd be slightly reengineered and cleaned up and probably get more boring lv* names rather than the current somewhat-eccentrically-me ones, but whatever20:18
drobillaThe two external deps I wished were one is the biggest reservation for me20:18
drobillaI guess I could do the --use-system-serd sort of thing, but that gets messy20:18
*** Anchakor_ has joined #lv220:25
*** Anchakor_ has quit IRC20:31
*** Anchakor_ has joined #lv220:32
*** gianMOD has joined #lv220:38
*** oofus_lt has joined #lv221:11
*** oofus_lt has quit IRC21:32
*** gianMOD has quit IRC22:02
*** Yruama_Lairba has quit IRC22:08
*** NickSB has quit IRC22:09
*** NickSB has joined #lv222:13
*** jbitdrop has quit IRC22:16
*** trebmuh has quit IRC22:49
*** edogawa has quit IRC22:53
rncbcrgareus: LV2_STATE__StateChanged implemented in qtractor v0.7.9.23+ https://github.com/rncbc/qtractor/commit/2cbc20a)23:10
rgareusnice23:17
rgareusrncbc: lv2_atom_forge_is_object_type ()   at what point was   type == forge->Resource    a valid object?23:17
rgareusAFAIK, it was only "Blank" that was deprecated in favor of "Object"23:17
rncbcrgareus: that part of the code is only for ancient lv2 distros <= 1.8.0 i guess23:19
rncbcrgareus: are you having trouble building it now?23:19
* rgareus didn't build qtractor since.. maybe LAC 2011.23:20
rgareusdebian does that for me.23:20
rgareusrncbc: before 1.8.0    type == forge->Blank   would be fine.  since then  type == g_lv2_urids.atom_Object..23:21
rgareusrncbc: https://github.com/rncbc/qtractor/commit/2cbc20a#diff-03175e279d5acfa0c97e92241a8cf76fR1060  I wonder why "Resource"  as well23:21
rncbcrgareus: it passed on travis-ci just a few minutes ago and that is lv2-1.8.0 for sure (ubuntu trusty)23:22
rgareusmaybe it's something that's missing in Ardour & Jalv.23:22
rgareusin plugins I use:  https://github.com/x42/meters.lv2/blob/master/src/uris.h#L3123:22
rgareuseither  lv2_atom_forge_object()  since 1.8   or   lv2_atom_forge_blank()  older23:23
rgareusbut "Resource" ??23:23
rncbcrgareus: forge->Resource is there alright on lv2-1.8.0, i just pasted and adapted from forge.h23:24
rgareusrncbc: the rest looks of the core reads fine to me.  (I didn't parse the autotools)23:25
rncbcrgareus: because forge->Object is missing back then23:25
rgareuswell, at least that was a painless LV2 extension.  and only took ~1 week.23:26
rgareusrncbc: so qtractor handles LV2's patch:Set/Put in the GUI thread?23:29
rgareusthere's nothing wrong with this per se (using a forge and all),   except I don't see how this would work with automation playback for properties23:31
rncbcrgareus: yes, via worker/schedule; it handles in the gui to populate the generic GUI of course23:31
rncbcrgareus: erm. no. there is no automation, nor undo/redo for lv2 properties in qtractor, that's a fact23:32
rgareusOK. that's fine then23:33
rgareusrncbc: and no faster-than-realtime (jack freewheeling) export, either. I take it23:33
rncbcwait. there's undo/redo alright23:33
rgareusundo/redo is fine, that's a GUI operation anyway23:33
rgareusno sample sync.23:33
rncbcwait. what there's not is automation23:34
rncbcno automation for lv2 properties23:34
rgareusit'd only matter for cases "set property at exact sample-time X"23:34
rgareusThere are very few plugins that use properties currently anyway -- the only common one is "file-names" currently23:35
rncbcthat's a pita to implement right; i rather give up on think about it :)23:35
rgareusdrobilla: did you actually test ardour's integer + float properties with automation?23:36
rgareuswith some OpenMusicKontrollers LV2 or is there some eg-* plugin?23:37
rncbcmy v1s do use properties, for filenames and loop points, etc.23:37
rgareusin Ardour there's no GUI to automate filenames -- though the backend should support it.23:37
rncbcg2g23:39
rgareusrncbc: 'night!23:39
rncbcgnite23:39
rgareusand thanks for adding this to qtractor.23:39
rncbcyw23:39
*** rncbc has quit IRC23:40
*** ocbtec has quit IRC23:42

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