Sunday, 2015-03-15

*** gianMOD has joined #lv200:25
*** gianMOD has quit IRC00:29
*** HarryHaaren has quit IRC00:39
*** gianMOD has joined #lv201:26
* drobilla submits halfway respectable Ingen paper01:29
drobillaRight.  NEXT.01:29
*** gianMOD has quit IRC01:32
*** gianMOD has joined #lv202:28
*** gianMOD has quit IRC02:33
drobillaHere's a possibly crazy idea Re: the portable menus and file selector stuff: how about shelling out to a separate process?03:21
drobillaVoila, no more Gtk linking issues03:21
drobillaZenity, basically, though I don't think it can do context menus.  Doing hierarchical menus would require a fancier protocol03:23
drobillaand can't deal with system menu on OSX anyway, so I guess that's a non-starter03:23
*** gianMOD has joined #lv203:29
*** gianMOD has quit IRC03:34
*** Magnus_RM has quit IRC03:41
*** ddom has quit IRC03:50
*** gianMOD has joined #lv204:30
*** gianMOD has quit IRC04:34
*** ricardocrudo_ has joined #lv204:59
*** drobilla has quit IRC05:01
*** ricardocrudo has quit IRC05:02
*** gianMOD has joined #lv205:30
*** gianMOD has quit IRC05:36
*** gianMOD has joined #lv206:33
*** burayon_ has joined #lv206:33
*** gianMOD has quit IRC06:38
*** burayon_ has quit IRC07:11
*** burayon_ has joined #lv207:19
*** gianMOD has joined #lv207:34
*** gianMOD has quit IRC07:38
*** drobilla has joined #lv208:05
*** burayon_ has quit IRC08:24
*** gianMOD has joined #lv208:34
*** gianMOD has quit IRC08:39
*** gianMOD has joined #lv209:24
*** ddom has joined #lv209:30
*** gianMOD has quit IRC09:34
*** falktx has joined #lv210:22
*** gianMOD has joined #lv210:35
*** gianMOD has quit IRC10:40
*** gianMOD has joined #lv210:40
*** gianMOD has quit IRC10:40
*** gianMOD has joined #lv210:41
*** deva has joined #lv212:01
*** HarryHaaren has joined #lv212:25
*** ricardocrudo_ has quit IRC12:35
devaI'm trying to implement latency reporting in my plugin, so that the host can compensate. I so far managed to get the reporting hooked up, but the host doesn't seem to use the value for anything but showing it in the plugin window as a slider... Do I need to do anything special in order to have the host use the reported value for the compensation?12:41
HarryHaarendeva, you're marking the port with http://lv2plug.in/ns/lv2core/#reportsLatency?12:43
*** ricardocrudo_ has joined #lv212:43
HarryHaarenafter that its up to the host to use the value IIUC - what host are you testing with?12:43
devaI used exactly that port type. I'm testing with Ardour12:44
HarryHaarenhmm ok.12:44
HarryHaarendeva, why does DG introduce latency?12:44
devahttp://pastebin.com/MJa5xyg712:45
devaDG is about to become untight .... and in order to do that,. it needs to be able to play midi notes /before/ they are triggered12:45
HarryHaarencould add some props:      lv2:portProperty lv2:reportsLatency, lv2:integer, pprops:notOnGUI;12:46
devaSo I'm trying to add latency of say 200samples, and then position the sample itself at 0 offset in order to be 200 samples early, or offset 400 in order to be 200 samples late12:46
devaWhat does the lv2:integer do? the port data itself is a float...12:47
HarryHaarensure - i hope there's gonna be an "off" switch for this untight-ness? Live usage would be better if there's no latency12:47
badosudeva: basically you say that your scales points are mostly integers12:47
HarryHaarenlv2:integer just says the data should be used as int12:47
devaok12:47
devayes, there will be an "off" button12:47
HarryHaarenawesome ;)12:47
badosudeva: same thing as lv2:toggle, you say that it is 0.0 or 1.012:47
badosudeva: see lv2:toggle for boolean12:48
HarryHaarendeva, i haven't used reportsLatency (since Live is my gig, i don't want any :) .. falktx has some experience, and I know he's worked on Carla support for latency too... perhaps he has an idea.12:48
*** ricardocrudo_ has quit IRC12:48
devaHow do the input/output port callbacks line up?12:49
falktxdeva: there's 2 ways of showing latency in lv2. the old way and new way12:49
falktxthe best thing is to use both, ensuring it works on all hosts12:49
devafalktx, I have so far only found one way (the one described by Harry above)12:50
devaIs that the new or the old way?12:50
falktxfor latency, you need:12:50
falktxa lv2:OutputPort, lv2:ControlPort ;12:50
falktxlv2:designation < LV2_CORE__latency > ;12:51
falktxlv2:portProperty lv2:reportsLatency, lv2:integer ;12:51
falktxreplace LV2_CORE__latency for its actual string value12:51
falktxpprops:notOnGUI should not be needed12:52
devais the "designation" the new way?12:53
falktxyes12:54
devaSo, like this: http://pastebin.com/EQi5Xujk ?12:55
falktxlv2:portProperty looks wrong12:55
falktxthe first "p" is lowercase12:55
devaooh... ok12:55
falktxmaybe it's a good idea to run sord-validate on those ttl files12:56
falktxdeva: http://lv2plug.in/pages/validating-lv2-data.html12:57
devafalktx, I think I'll add that to my unit test suite ;)12:58
devaIs the ports in "sync" when run is called? or do the input ports recieve data that are "letency" samples before the output samples?13:00
HarryHaarendeva, ah that's what you mean by "callbacks line up". yes they're in sync, same as a normal run() without any latency13:02
HarryHaarenthe idea is that the host adds a delay line to all other "tracks" of processing, equalling out total delay in samples.13:03
HarryHaarenso if I report a plugin with 250 samps latency, and you have 150 for DG, you output at 150 as normal, and the host should add a 100 sample delay to DG in order for the signals to be in sync again13:04
HarryHaarendeva, make sense?13:04
devayes, that makes sense... I just can't seem to get it to work like that...13:04
HarryHaarenyou mean that Ardour won't work like that?13:05
HarryHaaren(ie, what do you mean by "it" :)13:05
devaIn my engine, when I receive a midi note, i start playing a sample13:05
falktxvery few hosts implement latency13:06
devaif I have latency, I place the offset of that sample at current time + latency13:06
devaIf Ardour compensates for the reported latency, it /shou;d/ result in my sample being played in sync with the rest of the tracks in my project (guitar etc...)13:06
devaBut it doesn't13:07
HarryHaarendeva, right ok. It sounds like time to hang out in #ardour, and ask if latency compensation is expected to work correctly in your version of Ardour.. and if so, test with another plugin, and compare TTL / details of implementation.13:09
HarryHaarenagain, sorry, i have no experience in coding this stuff - i know some of the x42 plugins have latency compensation, which I assume works with Ardour given Robin works on them both :)13:10
devaYeah, I guess #lv2 is not the place for this particular question ;)13:10
HarryHaarenwell yes and no :)13:10
*** gianMOD has quit IRC13:14
*** HarryHaaren has quit IRC13:18
*** HarryHaaren has joined #lv213:18
devaAah... it seems I accidentalle positioned the sample using the offset value twice in my own code... now everything works like a charm.13:28
devaThanks for your helps guys13:28
HarryHaareny/w, glad ya have it working!13:34
*** gianMOD has joined #lv214:28
*** NickSB2 has quit IRC14:29
*** gianMOD has quit IRC15:15
*** gianMOD has joined #lv215:20
*** gianMOD has quit IRC15:36
*** gianMOD_ has joined #lv215:38
*** gianMOD_ has quit IRC15:38
*** HarryHaaren has quit IRC16:20
*** NickSB2 has joined #lv217:14
*** ricardocrudo has joined #lv218:27
*** ricardocrudo_ has joined #lv218:33
*** ricardocrudo__ has joined #lv218:36
*** ricardocrudo has quit IRC18:36
*** ricardocrudo_ has quit IRC18:38
*** ricardocrudo_ has joined #lv218:38
*** ricardocrudo__ has quit IRC18:41
*** ricardocrudo_ has quit IRC18:43
*** gianMOD has joined #lv218:46
*** gianMOD has quit IRC18:54
*** ricardocrudo has joined #lv218:59
*** ricardocrudo has quit IRC19:30
*** ricardocrudo has joined #lv219:41
*** deva has quit IRC19:41
*** ricardocrudo_ has joined #lv220:06
*** ricardocrudo__ has joined #lv220:09
*** ricardocrudo has quit IRC20:10
*** ricardocrudo_ has quit IRC20:11
*** gianMOD has joined #lv220:26
*** rncbc has joined #lv220:50
*** HarryHaaren has joined #lv221:06
*** falktx has quit IRC21:57
*** gianMOD has quit IRC22:07
*** rncbc has quit IRC22:36
*** edogawa has joined #lv222:45
*** ricardocrudo__ has quit IRC22:46
*** ricardocrudo__ has joined #lv222:58
*** gianMOD has joined #lv223:07
*** HarryHaaren has quit IRC23:10
*** gianMOD has quit IRC23:12
*** edogawa has quit IRC23:12
*** ricardocrudo__ has quit IRC23:13
*** ricardocrudo has joined #lv223:18
*** ricardocrudo_ has joined #lv223:21
*** ricardocrudo has quit IRC23:23
*** gianMOD has joined #lv223:37
*** gianMOD has quit IRC23:42
*** ddom has quit IRC23:46

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