*** NickSB2 has quit IRC | 03:09 | |
*** Yruama_Lairba has quit IRC | 03:17 | |
*** JaVelDa has left #lv2 | 05:24 | |
*** speps1 has joined #lv2 | 05:39 | |
*** speps1 has quit IRC | 05:49 | |
*** speps1 has joined #lv2 | 05:51 | |
*** edogawa has joined #lv2 | 06:30 | |
*** oofus_lt has joined #lv2 | 07:01 | |
*** edogawa has quit IRC | 07:02 | |
*** oofus_lt_ has joined #lv2 | 07:04 | |
*** oofus_lt has quit IRC | 07:06 | |
*** JaVelDa has joined #lv2 | 07:17 | |
*** sigma6 has joined #lv2 | 07:32 | |
*** gianMOD has joined #lv2 | 07:41 | |
*** jbitdrop has joined #lv2 | 08:02 | |
*** oofus_lt_ has quit IRC | 08:22 | |
*** oofus_lt has joined #lv2 | 08:22 | |
*** ocbtec has joined #lv2 | 08:34 | |
*** oofus_lt has quit IRC | 08:36 | |
*** gianMOD has quit IRC | 08:50 | |
*** gianMOD has joined #lv2 | 09:07 | |
*** drobilla` has joined #lv2 | 09:23 | |
*** gianMOD has quit IRC | 09:24 | |
*** drobilla has quit IRC | 09:26 | |
*** oofus_lt has joined #lv2 | 09:28 | |
*** gianMOD has joined #lv2 | 09:29 | |
*** gianMOD has quit IRC | 09:29 | |
*** gianMOD has joined #lv2 | 09:29 | |
*** oofus_lt has quit IRC | 09:43 | |
*** Domino has joined #lv2 | 09:43 | |
*** oofus_lt has joined #lv2 | 09:45 | |
Domino | Hi, I'm just working on my first plugin and would like to have a string input on a generic gui. All I can find on it is http://home.gna.org/lv2dynparam/ but the code is missing. Where should I look next? | 09:46 |
---|---|---|
*** gianMOD has quit IRC | 10:06 | |
Domino | Never mind.. I found the state extension info, no doubt I'll be back the next time my googlefu is weak :) | 10:08 |
*** NickSB2 has joined #lv2 | 10:17 | |
*** gianMOD has joined #lv2 | 10:21 | |
*** gianMOD has quit IRC | 10:23 | |
*** gianMOD has joined #lv2 | 10:25 | |
*** speps1 has quit IRC | 10:28 | |
*** gianMOD has quit IRC | 10:34 | |
*** frinknet has quit IRC | 10:35 | |
rgareus | Domino: There are no hosts that support text-entry in a Generic GUI. Ardour is prepared for that in the backend (using Patch:Set/Get messages) but there is no GUI nor an automation-lane | 10:59 |
rgareus | the lv2dynparam/zynjacku was an experiment from ~2008 and is not an official standard and zynjacku is unmaintained since then. | 11:01 |
rgareus | Domino: in any case, what is the goal? What is the text used for? maybe there's a simpler solution for the case at hand, short of creating a custom GUI. | 11:02 |
ventosus | rgareus: qtractor very well supports text-entry via patch:Set/Get | 11:03 |
rgareus | ventosus: really? can it be automated? | 11:03 |
ventosus | yes, don't know about automation | 11:04 |
rgareus | automation is the tricky part in ardour's case. the backend supports Patch/Set String,URI.. etc but nobody has yet been able to come up with a nice GUI for it. | 11:05 |
rgareus | in any case for a "first plugin" I'd recommend to not dive into LV2 Atom Sequences at first. | 11:05 |
Domino | I'm working on a drum machine so want to input pattern strings like "1010" for the hits | 11:05 |
*** frinknet has joined #lv2 | 11:08 | |
rgareus | Domino: how about making those checkboxes with a fixed set of steps? | 11:13 |
Domino | Probably with 8 channels for first version, so could do Bass "1010", Snare "0101", Hats "11111111" - I've a mock up in python that turns that into a list of events with the bar tick value which the run loop will read to send midi | 11:13 |
rgareus | Domino: some related project: https://github.com/x42/stepseq.lv2 (the hard part there is host tempo+position sync) | 11:15 |
Domino | The variable length is needed to support polyrhythms. Last resort I could have a fixed length and a length value to limit it, but 8 channels of a minimum of 32 beats is a whole lot of buttons.. | 11:15 |
rgareus | right. well you could impose a max limit. number (how many steps) + 16 toggles (use only the first N) | 11:16 |
rgareus | but since you have MIDI output, you'll need "messages" anyway so you could go all the way and also use message input. | 11:17 |
Domino | My other option is to just use a 32 bit int as a binary pattern, not as nice to input but workable for now.. | 11:17 |
*** gianMOD has joined #lv2 | 11:35 | |
*** gianMOD has quit IRC | 11:40 | |
*** Yruama_Lairba has joined #lv2 | 12:00 | |
*** oofus_lt_ has joined #lv2 | 12:20 | |
*** oofus_lt has quit IRC | 12:22 | |
*** frinknet has quit IRC | 12:25 | |
*** frinknet has joined #lv2 | 12:26 | |
*** frinknet has quit IRC | 12:34 | |
*** frinknet has joined #lv2 | 12:34 | |
*** oofus_lt_ has quit IRC | 12:42 | |
*** NickSB2 has quit IRC | 12:54 | |
*** ocbtec has quit IRC | 13:17 | |
*** jbitdrop has quit IRC | 13:19 | |
*** gianMOD has joined #lv2 | 13:23 | |
*** gianMOD has quit IRC | 13:28 | |
*** gianMOD has joined #lv2 | 13:31 | |
*** oofus_lt has joined #lv2 | 13:41 | |
*** frinknet has quit IRC | 13:50 | |
*** gianMOD has quit IRC | 14:17 | |
*** gianMOD has joined #lv2 | 14:19 | |
*** gianMOD has quit IRC | 14:29 | |
*** oofus_lt_ has joined #lv2 | 14:33 | |
*** oofus_lt has quit IRC | 14:35 | |
*** gianMOD has joined #lv2 | 14:36 | |
*** oofus_lt_ has quit IRC | 15:00 | |
*** deva has joined #lv2 | 15:07 | |
*** oofus_lt has joined #lv2 | 15:07 | |
*** rncbc has joined #lv2 | 15:24 | |
*** Domino has quit IRC | 15:26 | |
*** oofus_lt_ has joined #lv2 | 15:32 | |
*** oofus_lt has quit IRC | 15:35 | |
*** gianMOD has quit IRC | 15:37 | |
drobilla` | rgareus: Not quite. Jalv supports text parameters | 15:42 |
*** drobilla` is now known as drobilla | 15:43 | |
drobilla | and everything else in eg-params, namely int, long, float, double, bool, string, path | 15:43 |
rgareus | drobilla: cool. since when? | 15:44 |
drobilla | rgareus: I forget, but quite a while now | 15:45 |
drobilla | ... but I also haven't made a release in a ridiculously long time and need to do that ASAP | 15:45 |
rgareus | time that las hurrys up with meta-data tracks. that would allow exposing port-props | 15:46 |
rgareus | in ardour | 15:46 |
rgareus | drobilla: libevoral should be able to handle those already, right? | 15:47 |
rgareus | give or take a template or two. | 15:48 |
drobilla | rgareus: IIRC it's kind of half-templated. There are some float assumptions still lurking in the implementation | 15:55 |
drobilla | So, basically yesish, but "give or take a template or two" might be a not entirely trivial bit of refactoring and/or specialization | 15:56 |
*** gianMOD has joined #lv2 | 15:56 | |
drobilla | and there's the saving bit... | 15:57 |
*** sigma6 has quit IRC | 16:05 | |
ventosus | drobilla: thanks for updating pugl | 16:13 |
ventosus | on issue: osx seems to return zero-based mouse button numbers via pugl | 16:14 |
ventosus | s/on/one | 16:14 |
*** gianMOD has quit IRC | 16:19 | |
*** edogawa has joined #lv2 | 16:35 | |
*** oofus_lt_ has quit IRC | 16:42 | |
*** ocbtec has joined #lv2 | 16:50 | |
*** frinknet has joined #lv2 | 17:03 | |
*** NickSB2 has joined #lv2 | 17:10 | |
drobilla | ventosus: y/w | 17:31 |
drobilla | ventosus: hmmmmmm | 17:31 |
drobilla | So it does. X11 is one-based | 17:32 |
drobilla | I wonder what Windows is | 17:33 |
drobilla | Not in the windows event itself, different event types, pugl code uses 1, so 1 is correct in the Puglverse | 17:34 |
drobilla | ventosus: fixed | 17:36 |
drobilla | Though I occasionally get a botched run of pugl_test where nothing works correctly. Something weird. sigh. | 17:36 |
rgareus | [event buttonNumber] ? | 17:37 |
rgareus | if so, that's only valid for otherMouseUp | 17:37 |
rgareus | and Down | 17:37 |
rgareus | for left+right click use mouseUp mouseDown, rightMouseUp, rightMouseDown | 17:38 |
drobilla | WFM | 17:39 |
rgareus | https://developer.apple.com/reference/appkit/nsevent/1527828-buttonnumber | 17:39 |
drobilla | using mouseDown mouseUp | 17:39 |
rgareus | right but you use [event buttonNumber] in there | 17:40 |
rgareus | for mouseDown you can hardcode it to 1 | 17:40 |
rgareus | and for rightMouseDown to 2 | 17:41 |
rgareus | not 3 | 17:41 |
rgareus | well, depends | 17:41 |
rgareus | well, whatever | 17:42 |
*** NickSB2 has quit IRC | 18:10 | |
*** NickSB2 has joined #lv2 | 18:10 | |
drobilla | I get a 2 out of it | 18:11 |
drobilla | Nothing higher though, which I suppose is where that problem comes from | 18:11 |
drobilla | oh, well, I manually shunt the right one over to the same handler, but [event buttonNumber] does work on it | 18:12 |
drobilla | (Which matches the docs, which say it does work for left and right also despite the intent) | 18:13 |
drobilla | http://git.drobilla.net/cgit.cgi/pugl.git/commit/?id=38fab74452bd06732b1b4fc6213b8cca62718d9d | 18:18 |
*** jbitdrop has joined #lv2 | 18:38 | |
*** gianMOD has joined #lv2 | 18:59 | |
*** rncbc has quit IRC | 19:41 | |
*** deva has quit IRC | 20:11 | |
*** drobilla has quit IRC | 20:11 | |
*** gianMOD has quit IRC | 20:46 | |
*** ssj71 has joined #lv2 | 20:47 | |
*** drobilla has joined #lv2 | 22:00 | |
*** drobilla has quit IRC | 22:15 | |
*** drobilla has joined #lv2 | 22:15 | |
*** edogawa has quit IRC | 22:54 | |
*** NickSB2 has quit IRC | 23:19 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!