Wednesday, 2015-01-21

falktxlv2:portProperty pprop:Aux;00:00
drobillaHarryHaaren: How about just changing the label of it to something reasonable?00:00
HarryHaarenaux or submix? or is Aux already defined?00:00
drobillaEasy to overthink and get all semantic astronaut about this, but if a plugin has a "compression" out, I have a pretty good idea what that is00:00
falktxHarryHaaren: renaming ports?00:00
HarryHaarendrobilla, issue is that this stuff changes when a different preset is loaded00:00
drobillaThough really this is even conceptually a horrible abstraction violation.  Who says I want to actually put the same effects on the thing as whoever made the preset?00:01
HarryHaarencan LV2 ports be renamed?00:01
drobillasymbol, no.  label could be with above-mentioned options announce interface.00:01
HarryHaarenok, but "auxbus_1" as symbol is fine, if the label can be set to "Big Reverb" dynamically00:01
drobillaWhich is tidy, relatively powerful, unoffensive, and a great extension hook, like options currently is for the host=>plugin direction00:01
drobillaWhich makes me inclined to like it and not think too much about what it can't do00:02
HarryHaarendrobilla, "announce" is the wrong word: there's no new port announced00:02
HarryHaaren"refresh meta-data" describes it better?00:02
drobillaYou'r announcing a new label for it.00:02
HarryHaarenobviously we need a shorter term than that though.. hmm ok.00:02
drobilla"Announce" or "notify" are the only words I can really think of for this00:02
HarryHaarenok, your choice, i'm easy.00:03
HarryHaarento me "announce" implied "announcing new port" more than "new label"00:03
HarryHaarendoesn't matter.00:03
HarryHaarenok, so #mainOutput , lv2:connectionOptional , and something with the Options interface to "Announce" stuff00:04
drobillaRight.  First two already exist, maybe need better support.  Second is a pretty straightforward add-on to the options ext00:04
HarryHaarenok, sounds good. Better support in the various hosts' implementations you mean?00:05
drobillaActually the existing interface might even be fine exactly as-is... have the host pass it as a feature.00:05
drobillaYes.  i.e. I don't know if qtractor ignores connectionOptional, and I forget what Ardour does about 'too much I/O' but IIRC the main properties aren't checked, etc00:06
HarryHaarenwell I don't mind lobbying rncbc to support connectionOptional better if that's needed00:06
HarryHaarenor any other host for that matter00:06
drobillaHm.  Yeah, why not just use LV2_Options_Interface passed from the host?00:07
HarryHaarenI don't know the details of Options, sorry00:08
drobillaThis gives the plugin an "tell me things about the world and/or myself" ability too, via get, which is kinda neat00:08
falktxHarryHaaren: carla implements options for plugin and host. I can help you get this working00:08
drobillaYou could, oh, I dunno, look at the 100 line header that's been mentioned to you numerous times over several months in the context of this conversation.  Just an idea. :P00:08
HarryHaarenfalktx, cool thanks, i'll get back to you about that00:09
drobillaY'know, conceptually we could almost use such a thing to announce dynamic ports.  Set stuff on a port that doesn't exist yet.  Interesting.00:10
drobillaLife without blank nodes would be a wonderful life indeed00:10
HarryHaarendrobilla, would you feel it OK to set another two strings on the port, providing the DAW with pluginURI and presetURI?00:10
HarryHaareni know you think its crazy, but that's something I feel is the future of DAW workflow00:10
drobillaDoesn't really hurt.00:10
drobillaI only particularly care about ill-conceived API, because API is problematic.00:11
drobillaProperties, sure, whatever.  That's the whole point.00:11
HarryHaarenok, i'll make up some properties to represent this behaviour then.00:11
drobillaYou can set the "spinning 3D animated logo for this port" property for all anyone cares :)00:11
HarryHaarenyey :D00:11
drobillaNobody's going to do anything with it, but it doesn't hurt either00:12
HarryHaarendrobilla, to sum up, I can add audio output ports, #mainOutputs, #connectionOptional, that's done by a few deca-minutes.00:12
HarryHaarenwhat needs to happen to make the Options interface allow updating Label?00:13
drobillaIt needs to be a Feature and hosts need to pass it00:13
drobillaDocumentation updated to explain this use case00:13
drobillaWhich is a lovely candidate for "first lv2 git contribution that isn't 99999999 questionable curveballs all rolled into one", for the record :)00:15
*** ricardocrudo has joined #lv200:15
* drobilla thinks this project needs a hell of a lot more conservative incremental improvement, and a hell of a lot less LETS FLY PLUGINS TO SPAAAAAAACE! for the next little while00:17
HarryHaarenhahah00:17
drobillaMight need a new status flag for "I'm sorry Dave, I can not do that"00:18
rgareuslol00:18
HarryHaarenon a serious note, I'm looking at Options and I dont' quite get it. I'll try Thursday, and see what I can do (busy tomorrow)00:18
drobillaLV2_OPTIONS_ERR_UNSUPPORTED or whatever00:18
drobillaWe need an example plugin for that one.00:19
drobillaHarryHaaren: plugin.get(key, value), plugin.set(key, value)00:19
HarryHaareni get that bit, but how to change that to a feature? Wrap those callbacks in a struct and say "done"?00:19
HarryHaarenanyway, this is what I'll try on thursday :)00:19
drobillaHm.  It does take an LV2_Handle, which is no good00:20
HarryHaarenthanks for taking the time to discuss this, and I'm looking forward to making this whole workflow actually work for musicians.00:20
drobillaWe have this same kind of issue with the UI extension00:20
drobillaSo maybe it can't literally be used exactly as a feature............... which is unfortunate00:20
falktxI think it can, I used it00:20
falktxdrobilla: I think I used it both ways, let me check00:20
drobillaand since I still don't version the structs, even though I know it was a mistake to not do so, we can't add a handle to it00:20
drobillaThis is a general pattern we should have spotted and done better with :/00:21
falktxdrobilla: this is looking into plugin=>host options sending, right?00:21
drobillafalktx: yes00:21
drobillafalktx: No mechanism to say what the handle should be00:21
drobilla(and the type is wrong for this case)00:22
falktxhmm yes, I don't have carla accepting options right now00:23
falktxI though I did00:23
drobillaI really wish we versioned all the damned structs in this thing.  So dumb.00:23
drobillaI guess in this case we could tack on a thing, and say if it's passed as a feature, that's guaranteed to be there00:24
falktxnah00:24
drobilla(ala the LV2UI_Feature_Handle s)00:24
falktxdrobilla: I think we can just add a new options host feature00:24
falktxno hosts are using options as feature yet00:25
drobillafalktx: It'd be identical but for one field00:25
falktxand the name00:25
drobilla....... yes, and the name :P00:25
falktxthe "interface" so far always means a plugin-side struct00:25
falktxhaving one named LV2_Options_Feature will make it more obvious00:25
HarryHaarennot to mere mortals like me :D00:26
drobillaI guess.....00:26
* drobilla hates any and all smells of code duplication with a violent passion00:27
drobillaAnyway.  This has sucked far more hours out of my working day than I can afford and totally fucked up my mental context00:29
drobillaHooray for IRC :)00:29
drobillattysl00:29
*** HarryHaaren has quit IRC00:47
*** ricardocrudo has quit IRC02:32
*** JohannesG has quit IRC03:34
*** JohannesG has joined #lv203:45
*** JohannesG has quit IRC04:00
falktxdrobilla: slowly getting those special uis to work https://i.imgur.com/hMeiEfU.png04:07
*** JohannesG has joined #lv204:29
*** falktx has quit IRC05:29
*** grejppi_ has joined #lv207:24
*** edogawa has joined #lv207:35
*** grejppi__ has joined #lv209:22
*** grejppi_ has quit IRC09:23
*** ricardocrudo has joined #lv211:15
*** ddom has joined #lv211:58
*** NickSB2 has quit IRC14:02
*** ricardocrudo has quit IRC14:43
*** ricardocrudo has joined #lv215:09
*** ddom has quit IRC15:26
*** ddom has joined #lv215:28
*** edogawa_ has joined #lv215:36
*** edogawa has quit IRC15:38
*** edogawa_ is now known as edogawa15:39
*** falktx has joined #lv215:45
*** zth has joined #lv217:04
*** ricardocrudo has quit IRC18:43
*** grejppi__ has quit IRC19:51
*** grejppi__ has joined #lv220:24
*** zth has quit IRC20:52
*** NickSB2 has joined #lv221:02
*** grejppi__ has quit IRC21:25
*** grejppi__ has joined #lv221:25
*** ricardocrudo has joined #lv222:16
*** ricardocrudo has quit IRC22:44
*** edogawa has quit IRC23:05

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