Wednesday, 2015-12-02

*** rncbc has quit IRC00:10
*** edogawa has quit IRC00:19
*** ricardocrudo has quit IRC01:13
*** drobilla` has joined #lv205:24
*** drobilla has quit IRC05:26
*** drobilla` has quit IRC06:35
*** edogawa has joined #lv207:21
*** ventosus has joined #lv208:17
*** SadKo has joined #lv208:45
*** falktx|work has joined #lv209:08
*** timbyr__ has quit IRC09:40
*** timbyr__ has joined #lv209:42
*** ricardocrudo has joined #lv210:16
*** ddom has joined #lv213:31
*** NickSB2 has quit IRC14:25
*** drobilla` has joined #lv214:26
*** drobilla` has quit IRC14:43
*** son0p has quit IRC14:45
*** son0p has joined #lv214:47
*** drobilla` has joined #lv214:49
*** drobilla` is now known as drobilla14:49
*** son0p has quit IRC14:53
*** son0p has joined #lv214:55
*** ventosus has left #lv215:05
SadKoHello all. I have some questions about LV2 Atom development. Can anybody consult me?15:09
falktx|workjust ask away. don't ask to ask15:10
*** drobilla` has joined #lv215:13
SadKoOK. I'm trying to devel my first LV2 plugin with UI interface. And actually all went good until I met that the host (Ardour 4.2) does not send port_event for output control ports when the UI instantiates.15:14
SadKoI've opened bug in Ardour's Mantis so you can actually read it here: http://tracker.ardour.org/view.php?id=667915:15
*** drobilla has quit IRC15:16
SadKoAs the back-compatibility hack x42 offered to me solution to use lv2:atom for serializing UI's state.15:16
SadKoI've implemented Atom support interface for my plugin so my plugin actually became two new ports: ui_sync_in and ui_sync_out that are lv2:Atom ports.15:18
SadKoThe hack worked: UI sends request to serialize state, the DSP serializes output port values. Then UI becomes the serialized state and simulates port_event for each output port.15:19
drobilla`In a comment there you have *two* atom output ports15:20
drobilla`It's not clear to me what the other one is for15:20
drobilla`and both are designated lv2:control which doesn't really make sense15:20
*** drobilla` is now known as drobilla15:20
SadKoYest, the second my step was to serialize a long buffer15:20
SadKoon each plugin iteration15:21
drobillaA long buffer of what?15:21
SadKoShortly it's a two vectors of floats15:22
drobillaFor?15:22
*** artfwo has joined #lv215:22
SadKoIt's an analytic function output15:22
SadKoFor drawing graph15:22
drobillaWhat I am getting at is, merge your two output sequence ports into one and all your problems go away15:23
drobillaThe general pattern is one sequence input and one sequence output for control things15:23
SadKoBut that makes many following questions15:23
drobillaThe only plugins that should have more are ones that process messages as "signals" like routers and mixers and so on15:23
SadKoThe first question - why I can not use multiple sequences?15:25
drobillaYou *can*15:25
drobillaBut in your case, you shouldn't15:25
SadKoBut they work wrong15:25
drobillaWhat you are really doing is splitting a control stream into a bunch of sequences15:25
drobillaWhich is just a bad idea in general15:25
drobillaBut more practically, just isn't how hosts expect things to work15:25
drobillaPlus, this way, every little thing you want to add to comm to your UI requires adding ports and breaking the plugin interface to some extent; and you have a bunch of ports that send things that make no sense to anything but your UI anyway, so there is no benefit15:26
SadKoYes, I know that I can solve the problem by doing what you offer. Probably I'll write much more abstract serialization layer that will multiplex all my 'ports' into one Atom Sequence.15:29
drobillaImagine the plugin is something like a physical MIDI device.  You don't have a jack for note ons, and another for note offs, and another for CCs, and...15:29
SadKoThe currently problem is the following: I've described two Atom ports.15:30
SadKoI write to both.15:30
SadKoBut UI receives events only from the last defined port.15:31
rgareus.. but in ardour there is only ONE buffer if there's only one midi-port at the point where th plugin sits.  so ardour merges the events15:31
SadKoIs it a correct behaviour of the host?15:31
drobillaNot really15:31
rgareusadd a 2nd midi-port and things work.  - though this is arguably a bug in ardour.15:32
SadKoAnd, the second moment. The event written into the second port is porte_event'ed to both atom ports of the UI.15:32
drobillaBut multiple lv2:control ports in the same direction isn't either.  The wording in the spec is more vague than it should be, I suppose15:32
drobilla(You can't have several *primary* control channels in the same direction)15:32
drobillaIt is a bug, they should not be merged15:33
drobillaBut the plugin needs to be fixed anyway15:33
SadKoSo when my DSP has output atom ports 'ui_sync_out' and 'function' and writes to 'function', the UI becomes port_event to both 'ui_sync_out' and 'function'.15:34
SadKoBut when it writes to 'ui_sync_out' (the first defined port), actually happens nothing.15:34
*** SadKo has quit IRC15:34
*** ssj71 has quit IRC15:34
*** ddom has quit IRC15:34
*** timbyr__ has quit IRC15:34
*** aombk2 has quit IRC15:34
*** ColaEuphoria has quit IRC15:34
*** drobilla has quit IRC15:35
*** son0p has quit IRC15:35
*** falktx|work has quit IRC15:35
*** edogawa has quit IRC15:35
*** SianaGearz has quit IRC15:35
*** artfwo has quit IRC15:35
*** falktx` has quit IRC15:35
*** colock has quit IRC15:35
*** bgola_ has quit IRC15:35
*** EntropyS1nk has quit IRC15:35
*** coderkevin has quit IRC15:35
*** ricardocrudo has quit IRC15:35
*** NickSB has quit IRC15:35
*** six6110 has quit IRC15:35
*** wumpus has quit IRC15:35
*** Anchakor has quit IRC15:35
*** rgareus has quit IRC15:35
*** grejppi has quit IRC15:35
*** nordstrom has quit IRC15:35
*** gabrbedd has quit IRC15:35
*** kwmiebach has quit IRC15:35
*** gabrbedd has joined #lv215:42
*** grejppi has joined #lv215:42
*** nordstrom has joined #lv215:42
*** ColaEuphoria has joined #lv215:42
*** aombk2 has joined #lv215:42
*** timbyr__ has joined #lv215:42
*** ddom has joined #lv215:42
*** coderkevin has joined #lv215:42
*** EntropyS1nk has joined #lv215:42
*** bgola_ has joined #lv215:42
*** colock has joined #lv215:42
*** falktx` has joined #lv215:42
*** artfwo has joined #lv215:42
*** SadKo has joined #lv215:43
*** ssj71 has joined #lv215:43
SadKoHi again, should we continue?15:44
SadKo[18:32] <drobilla> But multiple lv2:control ports in the same direction isn't either.  The wording in the spec is more vague than it should be, I suppose [18:32] <drobilla> (You can't have several *primary* control channels in the same direction) [18:33] <drobilla> It is a bug, they should not be merged [18:33] <drobilla> But the plugin needs to be fixed anyway [18:34] <SadKo> So when my DSP has output atom ports 'ui_sync_out' and 'function' and w15:44
*** kwmiebach has joined #lv215:44
SadKo[18:34] <SadKo> But when it writes to 'ui_sync_out' (the first defined port), actually happens nothing.15:44
*** drobilla has joined #lv215:59
*** son0p has joined #lv215:59
*** edogawa has joined #lv215:59
*** SianaGearz has joined #lv215:59
*** drobilla has quit IRC16:09
*** son0p has quit IRC16:09
*** edogawa has quit IRC16:09
*** SianaGearz has quit IRC16:09
*** rgareus has joined #lv216:34
*** Anchakor has joined #lv216:34
*** wumpus has joined #lv216:34
*** six6110 has joined #lv216:34
*** NickSB has joined #lv216:34
*** ricardocrudo has joined #lv216:34
*** falktx|work has joined #lv216:34
*** drobilla has joined #lv216:34
*** son0p has joined #lv216:34
*** edogawa has joined #lv216:34
*** SianaGearz has joined #lv216:34
*** son0p has quit IRC16:45
*** edogawa has quit IRC16:45
*** SianaGearz has quit IRC16:45
*** drobilla has quit IRC16:45
*** falktx|work has quit IRC16:45
*** ricardocrudo has quit IRC16:45
*** NickSB has quit IRC16:45
*** six6110 has quit IRC16:45
*** wumpus has quit IRC16:45
*** Anchakor has quit IRC16:45
*** rgareus has quit IRC16:45
*** SianaGearz has joined #lv216:46
*** edogawa has joined #lv216:46
*** son0p has joined #lv216:46
*** drobilla has joined #lv216:46
*** falktx|work has joined #lv216:46
*** ricardocrudo has joined #lv216:46
*** NickSB has joined #lv216:46
*** six6110 has joined #lv216:46
*** wumpus has joined #lv216:46
*** Anchakor has joined #lv216:46
*** rgareus has joined #lv216:46
*** SadKo has quit IRC16:48
*** SadKo has joined #lv216:48
*** ricardocrudo has quit IRC17:47
*** rncbc has joined #lv217:51
*** drobilla has quit IRC18:00
*** ricardocrudo has joined #lv218:05
*** falktx|work has quit IRC18:29
*** coderkevin has quit IRC18:41
*** coderkevin has joined #lv219:24
*** kwmiebach has quit IRC19:33
*** ricardocrudo has quit IRC19:37
falktx`freenode is having a ddos attack, better use the mailing list19:38
*** NickSB2 has joined #lv219:41
*** deva has joined #lv219:58
*** kwmiebach has joined #lv220:02
*** ssj71 has quit IRC21:02
*** ssj71 has joined #lv221:04
*** ssj71 has quit IRC21:09
*** ssj71 has joined #lv221:10
*** drobilla has joined #lv221:37
drobillaWell, that was horrible21:38
*** deva has quit IRC21:41
*** ddom has quit IRC22:23
*** Anchakor has quit IRC22:26
*** Anchakor has joined #lv222:26
*** rncbc has quit IRC22:32
*** edogawa has quit IRC23:51

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