*** ddom has quit IRC | 00:02 | |
badosu | drobilla: I can't believe the solution for QT is to use a custom layout | 01:25 |
---|---|---|
badosu | drobilla: see http://qt-project.org/doc/qt-4.8/layouts-flowlayout.html | 01:25 |
badosu | this is basic stuff | 01:26 |
badosu | it should be on the lib | 01:26 |
*** Anchakor1 has joined #lv2 | 02:19 | |
*** Anchakor2 has joined #lv2 | 02:20 | |
*** Anchakor_ has quit IRC | 02:21 | |
*** Anchakor has quit IRC | 02:21 | |
badosu | Nice command to check how much a property is used on your lv2 plugins | 03:36 |
badosu | > lv2ls | xargs -n1 lv2info {} 2>&1 | grep notOnGUI | 03:36 |
badosu | the {} is not required | 03:36 |
drobilla | lv2info's output isn't really exhaustive | 04:06 |
badosu | drobilla: how can I test for port_events being triggered? | 04:19 |
*** bgola has quit IRC | 05:32 | |
*** bgola has joined #lv2 | 05:32 | |
*** ddom has joined #lv2 | 07:06 | |
*** edogawa has joined #lv2 | 07:31 | |
*** ddom has quit IRC | 07:53 | |
*** ricardocrudo has joined #lv2 | 07:54 | |
*** ricardocrudo has quit IRC | 08:02 | |
*** sigma6 has joined #lv2 | 08:07 | |
*** ricardocrudo has joined #lv2 | 08:59 | |
*** curlymorphic has quit IRC | 09:22 | |
*** ddom has joined #lv2 | 09:27 | |
*** falktx has joined #lv2 | 09:46 | |
*** ricardocrudo has quit IRC | 11:39 | |
*** falktx has quit IRC | 12:13 | |
*** curlymorphic has joined #lv2 | 12:22 | |
*** rncbc_jolla has joined #lv2 | 12:56 | |
*** falktx has joined #lv2 | 13:31 | |
falktx | drobilla: can ingen get a verbose mode? (like "ingen -v") | 13:45 |
*** NickSB2__ has quit IRC | 13:56 | |
*** rncbc_jolla has quit IRC | 14:10 | |
*** falktx has quit IRC | 14:36 | |
*** falktx has joined #lv2 | 14:40 | |
*** HarryHaaren has joined #lv2 | 14:47 | |
*** ricardocrudo has joined #lv2 | 14:49 | |
*** falktx has quit IRC | 14:56 | |
*** gabrbedd has quit IRC | 15:00 | |
*** gabrbedd has joined #lv2 | 15:02 | |
*** HarryHaaren has quit IRC | 15:14 | |
*** falktx has joined #lv2 | 16:09 | |
*** sigma6 has left #lv2 | 16:18 | |
*** rncbc has joined #lv2 | 16:21 | |
*** edogawa_ has joined #lv2 | 16:52 | |
*** ddom has quit IRC | 16:54 | |
*** edogawa has quit IRC | 16:55 | |
*** edogawa_ is now known as edogawa | 17:06 | |
drobilla | falktx: Not that easily. Internally it doesn't always communicate with atoms (in the monolithic case) | 17:16 |
drobilla | Which probably wouldn't be the case if I wrote it today, but doing so would cost performance there and involve a lot of work that's not a particularly good idea right now | 17:17 |
falktx | ok | 17:23 |
*** aombk2 is now known as aombk | 17:23 | |
drobilla | (When running as a plugin, the host can do it anyway, like jalv -d) | 17:24 |
badosu | drobilla: Now I just need to create a Logaritmic dial and listen to port_events | 17:27 |
falktx | hmm calling a plugin that has "#" in the uri via command-line is weird | 17:46 |
drobilla | quote it. | 17:47 |
falktx | yeah, I know | 17:48 |
falktx | sometimes I forgot | 17:48 |
falktx | quick copy&paste | 17:48 |
*** falktx has quit IRC | 18:09 | |
*** rncbc has quit IRC | 18:11 | |
*** ricardocrudo has quit IRC | 18:15 | |
*** NickSB2__ has joined #lv2 | 18:37 | |
*** falktx has joined #lv2 | 18:53 | |
*** falktx has quit IRC | 19:36 | |
badosu | so, I am listening to jalv_port_event | 20:07 |
badosu | then I get const void* buffer and cast it to *(const float*) | 20:07 |
badosu | but if I print it using fprintf(stderr, "%f\n", val); I get 0 | 20:08 |
badosu | what am I doing wrong? and why does it work when you pass the very same variable to gtk widget functions? | 20:09 |
*** NickSB has quit IRC | 20:09 | |
badosu | see https://gist.github.com/badosu/6ee19da2f3236f9fe498 | 20:09 |
drobilla | are you sure it isn't supposed to be zero anyway? | 20:16 |
badosu | drobilla: so lv2 does not make a distinction between read-only and rw ports? | 20:18 |
badosu | drobilla: I mean, not that it would make sense to have a read-only port | 20:19 |
badosu | drobilla: hmmm.. this is really weird, jalv.gtk has this same thing, I guess it should be 0.0 indeed | 20:19 |
drobilla | ? input vs output... | 20:19 |
badosu | drobilla: forget about it, you were right, it's expected to be 0.0 | 20:20 |
badosu | ok, so the only thing pending right now is to create logarithmic controls | 20:23 |
badosu | is there any relevant info that I should know of that it's not shown on lv2info? | 20:33 |
badosu | as per your previous comments | 20:33 |
drobilla | Too vague a question to answer, really | 20:39 |
drobilla | For control ports, probably not anything all that relevant, since IIRC port properties are shown | 20:39 |
badosu | ok, that is the answer to my question, since you replied that lv2info was not very comprehensive | 20:49 |
badosu | when I posted a command to check the use of a port's property along all installed plugins | 20:49 |
*** ricardocrudo has joined #lv2 | 20:58 | |
badosu | I created a calculation to try to use a rectangular-ish grid for a given number of ports | 21:37 |
badosu | here is 12-band equalizer | 21:37 |
badosu | http://bado.so/2015-03-05-182624_1299x1002_scrot.png | 21:37 |
drobilla | That plugin desperately needs groups | 21:38 |
badosu | and vintage delay http://bado.so/2015-03-05-183201_951x445_scrot.png | 21:38 |
badosu | does lv2 info show group information? | 21:39 |
badosu | by what I see, 12Band has groups only for In and Out ports | 21:40 |
grejppi | badosu: seems to do that, at least for JX10 | 21:41 |
badosu | grejppi: yeah, but they are just 4 ports right? | 21:43 |
drobilla | There is vocab for it, but not so widely used yet | 21:43 |
badosu | I still need to make jalv.qt support groups | 21:43 |
drobilla | It's unfortunately a bit annoying to annotate. Probably should have been hierarchical to begin with | 21:44 |
badosu | grejppi: what's JX10? | 21:45 |
badosu | I was thinking that I was finished when drobilla reminded me that there's still groups to support | 21:45 |
badosu | This one will be thought with the current grid layout I am making, I'll have to set stretch for a group layout | 21:46 |
badosu | *tough | 21:46 |
drobilla | Stick groups in a container and stick those in the grid | 21:47 |
badosu | yep | 21:47 |
drobilla | Thoug if a group is wider than the window should be, that doesn't work | 21:47 |
badosu | yep | 21:47 |
badosu | :-) | 21:47 |
badosu | I'd have to make the grid be as rectangular as possible | 21:47 |
badosu | with a ratio of 4:3 preferably | 21:48 |
drobilla | Header, then "newline" on new group would probably do | 21:48 |
drobilla | It's not really crucial, but better group support around in general would be nice | 21:48 |
badosu | drobilla: multiple groups would waster screen state | 21:48 |
badosu | s/er/e/ | 21:49 |
badosu | yeah, I agree :-/ | 21:49 |
badosu | It's the only thing that is missing apart from review | 21:49 |
drobilla | meh. Somewhat | 21:50 |
drobilla | Grouped ports in a container, in a flow container, is ideal | 21:50 |
drobilla | Qt not having one built in makes that rather annoying though | 21:50 |
badosu | Me too, but I don't want to create n files just to have the FlowLayout | 21:50 |
badosu | drobilla: extremely annoying | 21:50 |
badosu | that's the reason I am using a grid and performing rowxcolumn calculation myself | 21:51 |
badosu | nested flowlayouts would solve this | 21:51 |
badosu | anyway, I am going to post os pastebin what I have | 21:52 |
badosu | drobilla: are you able to review this later? | 21:52 |
*** ricardocrudo has quit IRC | 22:02 | |
*** NickSB has joined #lv2 | 22:06 | |
*** edogawa has quit IRC | 23:45 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!