Thursday, 2016-10-27

*** NickSB2 has quit IRC03:09
*** Yruama_Lairba has quit IRC03:17
*** JaVelDa has left #lv205:24
*** speps1 has joined #lv205:39
*** speps1 has quit IRC05:49
*** speps1 has joined #lv205:51
*** edogawa has joined #lv206:30
*** oofus_lt has joined #lv207:01
*** edogawa has quit IRC07:02
*** oofus_lt_ has joined #lv207:04
*** oofus_lt has quit IRC07:06
*** JaVelDa has joined #lv207:17
*** sigma6 has joined #lv207:32
*** gianMOD has joined #lv207:41
*** jbitdrop has joined #lv208:02
*** oofus_lt_ has quit IRC08:22
*** oofus_lt has joined #lv208:22
*** ocbtec has joined #lv208:34
*** oofus_lt has quit IRC08:36
*** gianMOD has quit IRC08:50
*** gianMOD has joined #lv209:07
*** drobilla` has joined #lv209:23
*** gianMOD has quit IRC09:24
*** drobilla has quit IRC09:26
*** oofus_lt has joined #lv209:28
*** gianMOD has joined #lv209:29
*** gianMOD has quit IRC09:29
*** gianMOD has joined #lv209:29
*** oofus_lt has quit IRC09:43
*** Domino has joined #lv209:43
*** oofus_lt has joined #lv209:45
DominoHi, 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 IRC10:06
DominoNever 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 #lv210:17
*** gianMOD has joined #lv210:21
*** gianMOD has quit IRC10:23
*** gianMOD has joined #lv210:25
*** speps1 has quit IRC10:28
*** gianMOD has quit IRC10:34
*** frinknet has quit IRC10:35
rgareusDomino: 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-lane10:59
rgareusthe lv2dynparam/zynjacku was an experiment from ~2008 and is not an official standard and zynjacku is unmaintained since then.11:01
rgareusDomino: 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
ventosusrgareus: qtractor very well supports text-entry via patch:Set/Get11:03
rgareusventosus: really?  can it be automated?11:03
ventosusyes, don't know about automation11:04
rgareusautomation 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
rgareusin any case for a "first plugin" I'd recommend to not dive into LV2 Atom Sequences at first.11:05
DominoI'm working on a drum machine so want to input pattern strings like "1010" for the hits11:05
*** frinknet has joined #lv211:08
rgareusDomino: how about making those checkboxes   with a fixed set of steps?11:13
DominoProbably 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 midi11:13
rgareusDomino: some related project:  https://github.com/x42/stepseq.lv2  (the hard part there is host tempo+position sync)11:15
DominoThe 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
rgareusright.  well you could impose a max limit.    number (how many steps)  +  16 toggles  (use only the first N)11:16
rgareusbut since you have MIDI output, you'll need "messages" anyway  so you could go all the way and also use message input.11:17
DominoMy 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 #lv211:35
*** gianMOD has quit IRC11:40
*** Yruama_Lairba has joined #lv212:00
*** oofus_lt_ has joined #lv212:20
*** oofus_lt has quit IRC12:22
*** frinknet has quit IRC12:25
*** frinknet has joined #lv212:26
*** frinknet has quit IRC12:34
*** frinknet has joined #lv212:34
*** oofus_lt_ has quit IRC12:42
*** NickSB2 has quit IRC12:54
*** ocbtec has quit IRC13:17
*** jbitdrop has quit IRC13:19
*** gianMOD has joined #lv213:23
*** gianMOD has quit IRC13:28
*** gianMOD has joined #lv213:31
*** oofus_lt has joined #lv213:41
*** frinknet has quit IRC13:50
*** gianMOD has quit IRC14:17
*** gianMOD has joined #lv214:19
*** gianMOD has quit IRC14:29
*** oofus_lt_ has joined #lv214:33
*** oofus_lt has quit IRC14:35
*** gianMOD has joined #lv214:36
*** oofus_lt_ has quit IRC15:00
*** deva has joined #lv215:07
*** oofus_lt has joined #lv215:07
*** rncbc has joined #lv215:24
*** Domino has quit IRC15:26
*** oofus_lt_ has joined #lv215:32
*** oofus_lt has quit IRC15:35
*** gianMOD has quit IRC15:37
drobilla`rgareus: Not quite.  Jalv supports text parameters15:42
*** drobilla` is now known as drobilla15:43
drobillaand everything else in eg-params, namely int, long, float, double, bool, string, path15:43
rgareusdrobilla: cool. since when?15:44
drobillargareus: I forget, but quite a while now15:45
drobilla... but I also haven't made a release in a ridiculously long time and need to do that ASAP15:45
rgareustime that las hurrys up with meta-data tracks.  that would allow exposing port-props15:46
rgareusin ardour15:46
rgareusdrobilla: libevoral should be able to handle those already, right?15:47
rgareusgive or take a template or two.15:48
drobillargareus: IIRC it's kind of half-templated.  There are some float assumptions still lurking in the implementation15:55
drobillaSo, basically yesish, but "give or take a template or two" might be a not entirely trivial bit of refactoring and/or specialization15:56
*** gianMOD has joined #lv215:56
drobillaand there's the saving bit...15:57
*** sigma6 has quit IRC16:05
ventosusdrobilla: thanks for updating pugl16:13
ventosuson issue: osx seems to return zero-based mouse button numbers via pugl16:14
ventosuss/on/one16:14
*** gianMOD has quit IRC16:19
*** edogawa has joined #lv216:35
*** oofus_lt_ has quit IRC16:42
*** ocbtec has joined #lv216:50
*** frinknet has joined #lv217:03
*** NickSB2 has joined #lv217:10
drobillaventosus: y/w17:31
drobillaventosus: hmmmmmm17:31
drobillaSo it does. X11 is one-based17:32
drobillaI wonder what Windows is17:33
drobillaNot in the windows event itself, different event types, pugl code uses 1, so 1 is correct in the Puglverse17:34
drobillaventosus: fixed17:36
drobillaThough I occasionally get a botched run of pugl_test where nothing works correctly.  Something weird.  sigh.17:36
rgareus[event buttonNumber] ?17:37
rgareusif so, that's only valid for   otherMouseUp17:37
rgareusand Down17:37
rgareusfor left+right click use    mouseUp mouseDown, rightMouseUp,  rightMouseDown17:38
drobillaWFM17:39
rgareushttps://developer.apple.com/reference/appkit/nsevent/1527828-buttonnumber17:39
drobillausing mouseDown mouseUp17:39
rgareusright but you use  [event buttonNumber]  in there17:40
rgareusfor mouseDown  you can hardcode it to 117:40
rgareusand for rightMouseDown  to 217:41
rgareusnot 317:41
rgareuswell, depends17:41
rgareuswell, whatever17:42
*** NickSB2 has quit IRC18:10
*** NickSB2 has joined #lv218:10
drobillaI get a 2 out of it18:11
drobillaNothing higher though, which I suppose is where that problem comes from18:11
drobillaoh, well, I manually shunt the right one over to the same handler, but [event buttonNumber] does work on it18:12
drobilla(Which matches the docs, which say it does work for left and right also despite the intent)18:13
drobillahttp://git.drobilla.net/cgit.cgi/pugl.git/commit/?id=38fab74452bd06732b1b4fc6213b8cca62718d9d18:18
*** jbitdrop has joined #lv218:38
*** gianMOD has joined #lv218:59
*** rncbc has quit IRC19:41
*** deva has quit IRC20:11
*** drobilla has quit IRC20:11
*** gianMOD has quit IRC20:46
*** ssj71 has joined #lv220:47
*** drobilla has joined #lv222:00
*** drobilla has quit IRC22:15
*** drobilla has joined #lv222:15
*** edogawa has quit IRC22:54
*** NickSB2 has quit IRC23:19

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