Tuesday, 2015-07-07

*** NickSB2 has joined #lv201:01
*** NickSB has quit IRC01:43
*** NickSB has joined #lv201:46
*** NickSB2 has quit IRC03:48
*** curlymorphic has quit IRC06:38
*** falktx has joined #lv207:44
*** NickSB2 has joined #lv208:12
*** ricardocrudo has joined #lv208:15
*** ventosus has joined #lv208:28
*** ventosus has left #lv210:02
*** krubenast has joined #lv210:05
falktxdoes http://lv2plug.in/ns/lv2core#sampleRate as portProperty imply the default value must be already multiplied by SR ?10:11
falktxsome plugins I've seen with it have default 440, but max is 1.010:12
falktxI'd assume the default would be multiplied as well10:12
falktxdrobilla: welcome back :)10:13
falktxdrobilla: opinions on this? the documentation doesn't specify a rule for SR + default, so I have to assume the current plugins are wrong10:14
*** yann-kaelig has joined #lv211:16
*** ventosus has joined #lv211:18
*** artfwo has quit IRC11:42
*** artfwo has joined #lv211:45
*** NickSB2 has quit IRC12:28
*** ventosus has left #lv213:08
rgareusfalktx: the "bounds"  (min, max)    not the actual value13:11
rgareusfalktx: it's pretty clear.  the value itself is in Hz.13:12
rgareusmin:0.0   max:.5   default: 440   is correct13:12
rgareusmin:0.0   max:0.5   default: 440.0   is correct13:13
falktxrgareus: you sure?13:14
falktxthe docs say13:14
falktx"Indicates that any bounds specified should be interpreted as multiples of the sample rate."13:14
falktxnote the "any bounds"13:14
falktxhmm13:14
falktxI guess the default value is not part of the bounds13:15
rgareusbounds are Min and Max13:18
rgareusbounds as in boundaries13:18
rgareusdunno if it makes sense.13:19
*** yann-kaelig has quit IRC13:27
falktxI guess my code is wrong then13:32
*** yann-kaelig has joined #lv213:33
drobilla'lo14:21
drobillaRight, default is not a bound14:21
drobillaPretty much the only reason that exists is to make nyquist bounds and the like possible.  Default and scale points don't need it14:22
ssj71is there an inverse so you can have an absolute bound on a tempo sync'd parameter?14:24
ssj71I guess maybe thats not a good idea since tempo changes on the fly. I should probably limit it internally.14:26
drobillaNot sure what you mean.  You can just put a normal bound on it14:32
drobillaThere's no dynamic mechanism for "4 times the current tempo" or anything like that, if that's what you mean14:32
ssj71rather my port is a coefficient of the tempo e.g.. 1x .5x 4x tempo14:33
ssj71but I want to limit it to say 600bpm max14:33
ssj71so if tempo is 200bpm I'd like the port max to be 3, if tempo is 50 then port max is 12. I realized after typing it though it would require the port limits to be dynamically changed with the tempo14:35
falktxI'll need some safe checks on my test little to handle bounds+samplerate better...14:35
drobillafalktx: Link to your test thing?14:38
falktxdrobilla: https://github.com/portalmod/lilvlib/blob/master/lilvlib/lilvlib.py#L48014:40
drobillafalktx: thanks14:40
falktxdrobilla: I'm doing this mainly because of MOD, to see if the plugins have errors/warnings etc14:41
falktxdrobilla: for MOD we require comment, version and license. so not having those is considered an error14:41
falktxdrobilla: I also introduced the concept of "shortnames". everyone on this channel seemed to like the idea14:42
falktxhttps://github.com/falkTX/lv2/commit/cc48b1f968ce2d07d1e50a3d7fb28ad0df11edad14:42
drobillaMe too.  Been meaning to add one for roughly ever14:42
falktxdrobilla: also this https://github.com/falkTX/lv2/commit/0c8b704450019e6cb0fab2794b884e1cbb536e9514:43
falktxdrobilla: without it I get errors with sord-validate14:43
falktxdrobilla: I found a few bad things in your plugins with this tool14:45
falktxmisnamed preset uris, invalid bounds, etc14:45
drobillaI don't think making plugin a project is valid but I forget specifically why14:45
drobillaThis is why new things have the author metadata described as part of a project and not the plugin14:46
drobillaWhich in most cases means that info is in one place rather than hundreds anyway14:46
falktxwell, without the doap:Project we can't use any doap: properties14:46
drobillaThe doap vocab is annoying in several waysw14:46
falktxdrobilla: we could have lv2:project that refered to a doap:project like prototype does14:47
falktxie, define the project in the manifest then all plugin ttls have lv2:project myThing ;14:47
falktxthen lilv/whatever imports that data like prototype14:47
drobillafalktx: Already there14:48
falktxdrobilla: well, sord-validate disagrees14:48
drobillaNo it doesn't ;)14:48
drobillaIf you link to project then define all the project stuff *on the project*, it's fine14:49
drobillaNo errors on stuff I've checked, anyway14:49
falktxwell, on the mod-mda fork sord-validate complains about the same email being used more than once14:51
falktxhmm wait14:51
falktxI have a common.ttl file that is shared between all plugins14:52
falktxthe project is duplicated14:52
falktxhaving it in separate bundles causes the issue14:52
falktxI guess I should make a meta one14:53
drobillaThat's a weakness in sord_validate, really that means the blank nodes are actually the same thing14:55
drobillaWorkaround is to not use blanks14:56
drobillaWhich makes life less annoying anyway, so I just do that14:56
falktxok, with a meta bundle I get only 1 error15:01
falktxtime:beatsPerMinute is not a valid port:designation15:01
falktxdrobilla: ^ I thought that was valid. am I missing anything?15:01
drobillafalktx: Should be fine.  Exact error?15:04
falktxdrobilla: http://kxstudio.sourceforge.net/Paste/repo/aNfCc15:08
falktxthe ttl has this:  lv2:designation  time:beatsPerMinute;15:09
drobillaHrm.  lv2:Designation is a subClassOf rdf:Property though15:09
drobillaPretty sure (the latest version of) sord_validate should be that smart15:09
falktxwell, I have the latest15:10
rgareusdrobilla: should a host send port_events() to a plugin gui when the GUI is instantiated?  or only if the value changs?    What if the value is not default and the GUI is [re]instantiated later?15:40
* falktx doesn't understand how this is still a question15:44
rgareusfalktx: I thought it's a smart way of bringing this to drobilla's attention this way.15:45
rgareusI think  "no port events on instantiation if the value is default" is the right way.15:47
rgareusmaybe even no port events at all, only if the value _changes_.  but that may put a bit too much to the GUI (needs to ask for updates if it's interested)15:48
falktxthe UI needs to know the initial state15:52
rgareusdepends on the plugin.15:54
rgareusbut yes, the /easy and common/ way is to push current  input AND output control port events to the GUI after instantiation15:55
rgareusideally that would be documented and liblilv would do that after calling instantiate.15:56
rgareusbut then again.. it's not optimal.15:57
rgareusoptional Feature: NoNeedForInitialPortEventsBecauseThisPluginRocks15:58
rgareusor something like that.15:58
*** rncbc has joined #lv216:02
drobillalilv has no ability to do this, it's the host's job.16:05
drobillaOnly the host knows what values should be presented and whatnot16:05
rgareusdrobilla: GUI instantiation goes though lilv, doesn't it?16:18
rgareusdrobilla: but you're right. lilv does not know the current values16:18
*** artfwo has quit IRC16:19
rgareusstill, can we get a consensus what should happen when the GUI instantiated?   *should* the host call port_event()   or *must* the host call port_events() [for all control ports]?16:20
rgareusardour does currently not do this (it only calls it when the value changes).16:20
falktxagain, the UI needs to know the initial state16:20
rgareusfalktx: why?16:20
falktxwhy? to show the values of course16:21
rgareusfalktx: in my case this is not true for all my plugins (even those that only have control ports)16:21
rgareusfalktx: here: the GUI asks the backend for values it needs16:21
falktxthen let's say all my plugin ports have portNotify16:21
falktxrgareus: my plugin doens't have any atom ports16:21
rgareusfalktx: works even for control ports. the gui asks the backend to force a change.16:22
rgareusif the value is not default16:22
falktxthe plugin can't change input ports16:22
rgareusfalktx: the GUI can16:22
falktxthe gui doens't know the current value16:22
falktxit's going to mess the current ones16:22
falktxthis sounds all sort of hacky16:23
rgareusright.16:23
rgareusto the spec should be amended to say "the host *must* call port_events() for all control ports when the GUI is instantiated"16:24
rgareuswon't hurt either way16:24
rgareusat least not hurt much16:24
rgareusdrobilla: ?16:25
falktxthat's what I've been saying for weeks16:25
rgareusfalktx: well, how about filing a pull request for the lv2 specs?16:26
falktxI can do another commit in my little fork16:26
rgareusdrobilla: is there a 2nd person with access to lv2plug.in in case you get hit by a bus?16:28
drobillammmmmmmmmmm don't think so, no16:29
drobillaI don't know if DH even has such an ability, though I could tinker with permissions and give someone ssh I suppose which would make most possible while the thing is still up at all16:29
rgareusdrobilla: just avoid busses, then :)16:30
drobillaswh still owns the actual domain, though16:38
*** Anchakor has joined #lv217:36
*** falktx has quit IRC17:51
*** ricardocrudo has quit IRC18:09
*** yann-kaelig has quit IRC18:33
*** falktx_ has joined #lv218:34
*** yann-kaelig has joined #lv218:39
*** ricardocrudo has joined #lv219:09
*** ventosus has joined #lv219:11
*** NickSB2 has joined #lv219:37
*** curlymorphic has joined #lv219:57
*** yann-kaelig has quit IRC20:08
*** ventosus has left #lv220:12
*** curlymorphic has quit IRC20:26
*** NickSB2 has quit IRC20:27
*** rncbc has quit IRC20:48
*** tytel has joined #lv221:18
*** NickSB2 has joined #lv221:22
*** ricardocrudo_ has joined #lv221:33
*** ricardocrudo has quit IRC21:37
*** ricardocrudo has joined #lv221:44
*** ricardocrudo_ has quit IRC21:46
tytelfalktx_: hey! i think i'm ready to release the beta for helm finally21:46
tytel(that synth you helped me build an lv2 plugin for)21:47
falktx_oh nice21:47
tyteli was wondering if you knew some good spots to announce it to open source musicians21:47
falktx_linuxmusicians.com21:47
falktx_lau/lad mailing lists21:47
falktx_if you post in those I'm sure the message will spread quickly21:48
falktx_tytel: you can try to get your blog/whatever into the linuxaudio planet feed21:48
falktx_not sure who handles that now, maybe rgareus knows...21:48
tytelfalktx_: thanks! i'll look into those. I've posted on linuxmusicians.com before i believe..21:49
*** ricardocrudo_ has joined #lv221:50
*** ricardocrudo has quit IRC21:52
falktx_tytel: so when are you planning the release for?21:59
tytelfalktx_: Probably two months from now. I'm going to gauge the response and hopefully get people from the community to contribute patches.22:01
tyteli might add some more features if a lot of people ask for them.22:02
*** ricardocrudo_ has quit IRC22:03
*** Magnus_RM has joined #lv222:04
*** NickSB2 has quit IRC22:41
*** tytel has quit IRC23:32
*** tytel has joined #lv223:35
*** Magnus_RM has quit IRC23:52

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