*** rncbc has quit IRC | 00:10 | |
*** edogawa has quit IRC | 00:19 | |
*** ricardocrudo has quit IRC | 01:13 | |
*** drobilla` has joined #lv2 | 05:24 | |
*** drobilla has quit IRC | 05:26 | |
*** drobilla` has quit IRC | 06:35 | |
*** edogawa has joined #lv2 | 07:21 | |
*** ventosus has joined #lv2 | 08:17 | |
*** SadKo has joined #lv2 | 08:45 | |
*** falktx|work has joined #lv2 | 09:08 | |
*** timbyr__ has quit IRC | 09:40 | |
*** timbyr__ has joined #lv2 | 09:42 | |
*** ricardocrudo has joined #lv2 | 10:16 | |
*** ddom has joined #lv2 | 13:31 | |
*** NickSB2 has quit IRC | 14:25 | |
*** drobilla` has joined #lv2 | 14:26 | |
*** drobilla` has quit IRC | 14:43 | |
*** son0p has quit IRC | 14:45 | |
*** son0p has joined #lv2 | 14:47 | |
*** drobilla` has joined #lv2 | 14:49 | |
*** drobilla` is now known as drobilla | 14:49 | |
*** son0p has quit IRC | 14:53 | |
*** son0p has joined #lv2 | 14:55 | |
*** ventosus has left #lv2 | 15:05 | |
SadKo | Hello all. I have some questions about LV2 Atom development. Can anybody consult me? | 15:09 |
---|---|---|
falktx|work | just ask away. don't ask to ask | 15:10 |
*** drobilla` has joined #lv2 | 15:13 | |
SadKo | OK. 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 |
SadKo | I've opened bug in Ardour's Mantis so you can actually read it here: http://tracker.ardour.org/view.php?id=6679 | 15:15 |
*** drobilla has quit IRC | 15:16 | |
SadKo | As the back-compatibility hack x42 offered to me solution to use lv2:atom for serializing UI's state. | 15:16 |
SadKo | I'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 |
SadKo | The 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 ports | 15:20 |
drobilla` | It's not clear to me what the other one is for | 15:20 |
drobilla` | and both are designated lv2:control which doesn't really make sense | 15:20 |
*** drobilla` is now known as drobilla | 15:20 | |
SadKo | Yest, the second my step was to serialize a long buffer | 15:20 |
SadKo | on each plugin iteration | 15:21 |
drobilla | A long buffer of what? | 15:21 |
SadKo | Shortly it's a two vectors of floats | 15:22 |
drobilla | For? | 15:22 |
*** artfwo has joined #lv2 | 15:22 | |
SadKo | It's an analytic function output | 15:22 |
SadKo | For drawing graph | 15:22 |
drobilla | What I am getting at is, merge your two output sequence ports into one and all your problems go away | 15:23 |
drobilla | The general pattern is one sequence input and one sequence output for control things | 15:23 |
SadKo | But that makes many following questions | 15:23 |
drobilla | The only plugins that should have more are ones that process messages as "signals" like routers and mixers and so on | 15:23 |
SadKo | The first question - why I can not use multiple sequences? | 15:25 |
drobilla | You *can* | 15:25 |
drobilla | But in your case, you shouldn't | 15:25 |
SadKo | But they work wrong | 15:25 |
drobilla | What you are really doing is splitting a control stream into a bunch of sequences | 15:25 |
drobilla | Which is just a bad idea in general | 15:25 |
drobilla | But more practically, just isn't how hosts expect things to work | 15:25 |
drobilla | Plus, 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 benefit | 15:26 |
SadKo | Yes, 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 |
drobilla | Imagine 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 |
SadKo | The currently problem is the following: I've described two Atom ports. | 15:30 |
SadKo | I write to both. | 15:30 |
SadKo | But 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 events | 15:31 |
SadKo | Is it a correct behaviour of the host? | 15:31 |
drobilla | Not really | 15:31 |
rgareus | add a 2nd midi-port and things work. - though this is arguably a bug in ardour. | 15:32 |
SadKo | And, the second moment. The event written into the second port is porte_event'ed to both atom ports of the UI. | 15: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 | 15:32 |
drobilla | (You can't have several *primary* control channels in the same direction) | 15:32 |
drobilla | It is a bug, they should not be merged | 15:33 |
drobilla | But the plugin needs to be fixed anyway | 15:33 |
SadKo | So 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 |
SadKo | But when it writes to 'ui_sync_out' (the first defined port), actually happens nothing. | 15:34 |
*** SadKo has quit IRC | 15:34 | |
*** ssj71 has quit IRC | 15:34 | |
*** ddom has quit IRC | 15:34 | |
*** timbyr__ has quit IRC | 15:34 | |
*** aombk2 has quit IRC | 15:34 | |
*** ColaEuphoria has quit IRC | 15:34 | |
*** drobilla has quit IRC | 15:35 | |
*** son0p has quit IRC | 15:35 | |
*** falktx|work has quit IRC | 15:35 | |
*** edogawa has quit IRC | 15:35 | |
*** SianaGearz has quit IRC | 15:35 | |
*** artfwo has quit IRC | 15:35 | |
*** falktx` has quit IRC | 15:35 | |
*** colock has quit IRC | 15:35 | |
*** bgola_ has quit IRC | 15:35 | |
*** EntropyS1nk has quit IRC | 15:35 | |
*** coderkevin has quit IRC | 15:35 | |
*** ricardocrudo has quit IRC | 15:35 | |
*** NickSB has quit IRC | 15:35 | |
*** six6110 has quit IRC | 15:35 | |
*** wumpus has quit IRC | 15:35 | |
*** Anchakor has quit IRC | 15:35 | |
*** rgareus has quit IRC | 15:35 | |
*** grejppi has quit IRC | 15:35 | |
*** nordstrom has quit IRC | 15:35 | |
*** gabrbedd has quit IRC | 15:35 | |
*** kwmiebach has quit IRC | 15:35 | |
*** gabrbedd has joined #lv2 | 15:42 | |
*** grejppi has joined #lv2 | 15:42 | |
*** nordstrom has joined #lv2 | 15:42 | |
*** ColaEuphoria has joined #lv2 | 15:42 | |
*** aombk2 has joined #lv2 | 15:42 | |
*** timbyr__ has joined #lv2 | 15:42 | |
*** ddom has joined #lv2 | 15:42 | |
*** coderkevin has joined #lv2 | 15:42 | |
*** EntropyS1nk has joined #lv2 | 15:42 | |
*** bgola_ has joined #lv2 | 15:42 | |
*** colock has joined #lv2 | 15:42 | |
*** falktx` has joined #lv2 | 15:42 | |
*** artfwo has joined #lv2 | 15:42 | |
*** SadKo has joined #lv2 | 15:43 | |
*** ssj71 has joined #lv2 | 15:43 | |
SadKo | Hi 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 w | 15:44 |
*** kwmiebach has joined #lv2 | 15: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 #lv2 | 15:59 | |
*** son0p has joined #lv2 | 15:59 | |
*** edogawa has joined #lv2 | 15:59 | |
*** SianaGearz has joined #lv2 | 15:59 | |
*** drobilla has quit IRC | 16:09 | |
*** son0p has quit IRC | 16:09 | |
*** edogawa has quit IRC | 16:09 | |
*** SianaGearz has quit IRC | 16:09 | |
*** rgareus has joined #lv2 | 16:34 | |
*** Anchakor has joined #lv2 | 16:34 | |
*** wumpus has joined #lv2 | 16:34 | |
*** six6110 has joined #lv2 | 16:34 | |
*** NickSB has joined #lv2 | 16:34 | |
*** ricardocrudo has joined #lv2 | 16:34 | |
*** falktx|work has joined #lv2 | 16:34 | |
*** drobilla has joined #lv2 | 16:34 | |
*** son0p has joined #lv2 | 16:34 | |
*** edogawa has joined #lv2 | 16:34 | |
*** SianaGearz has joined #lv2 | 16:34 | |
*** son0p has quit IRC | 16:45 | |
*** edogawa has quit IRC | 16:45 | |
*** SianaGearz has quit IRC | 16:45 | |
*** drobilla has quit IRC | 16:45 | |
*** falktx|work has quit IRC | 16:45 | |
*** ricardocrudo has quit IRC | 16:45 | |
*** NickSB has quit IRC | 16:45 | |
*** six6110 has quit IRC | 16:45 | |
*** wumpus has quit IRC | 16:45 | |
*** Anchakor has quit IRC | 16:45 | |
*** rgareus has quit IRC | 16:45 | |
*** SianaGearz has joined #lv2 | 16:46 | |
*** edogawa has joined #lv2 | 16:46 | |
*** son0p has joined #lv2 | 16:46 | |
*** drobilla has joined #lv2 | 16:46 | |
*** falktx|work has joined #lv2 | 16:46 | |
*** ricardocrudo has joined #lv2 | 16:46 | |
*** NickSB has joined #lv2 | 16:46 | |
*** six6110 has joined #lv2 | 16:46 | |
*** wumpus has joined #lv2 | 16:46 | |
*** Anchakor has joined #lv2 | 16:46 | |
*** rgareus has joined #lv2 | 16:46 | |
*** SadKo has quit IRC | 16:48 | |
*** SadKo has joined #lv2 | 16:48 | |
*** ricardocrudo has quit IRC | 17:47 | |
*** rncbc has joined #lv2 | 17:51 | |
*** drobilla has quit IRC | 18:00 | |
*** ricardocrudo has joined #lv2 | 18:05 | |
*** falktx|work has quit IRC | 18:29 | |
*** coderkevin has quit IRC | 18:41 | |
*** coderkevin has joined #lv2 | 19:24 | |
*** kwmiebach has quit IRC | 19:33 | |
*** ricardocrudo has quit IRC | 19:37 | |
falktx` | freenode is having a ddos attack, better use the mailing list | 19:38 |
*** NickSB2 has joined #lv2 | 19:41 | |
*** deva has joined #lv2 | 19:58 | |
*** kwmiebach has joined #lv2 | 20:02 | |
*** ssj71 has quit IRC | 21:02 | |
*** ssj71 has joined #lv2 | 21:04 | |
*** ssj71 has quit IRC | 21:09 | |
*** ssj71 has joined #lv2 | 21:10 | |
*** drobilla has joined #lv2 | 21:37 | |
drobilla | Well, that was horrible | 21:38 |
*** deva has quit IRC | 21:41 | |
*** ddom has quit IRC | 22:23 | |
*** Anchakor has quit IRC | 22:26 | |
*** Anchakor has joined #lv2 | 22:26 | |
*** rncbc has quit IRC | 22:32 | |
*** edogawa has quit IRC | 23:51 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!