Monday, 2016-10-03

*** Yruama_Lairba has quit IRC00:38
*** trebmuh has quit IRC01:17
*** artfwo has quit IRC01:55
*** falktx` has joined #lv203:04
*** falktx has quit IRC03:08
*** trebmuh has joined #lv208:32
*** NickSB2 has quit IRC08:48
*** NickSB2 has joined #lv209:10
*** Yruama_Lairba has joined #lv209:16
*** jbitdrop has joined #lv209:43
*** ocbtec has joined #lv210:07
*** artfwo has joined #lv212:10
*** NickSB2 has quit IRC13:55
*** NickSB2 has joined #lv216:11
*** NickSB2 has quit IRC17:17
*** NickSB2 has joined #lv217:38
*** NickSB2 has quit IRC17:42
*** NickSB2 has joined #lv217:58
*** unclechu-audio_ has joined #lv218:21
*** unclechu-audio has quit IRC18:23
*** rncbc has joined #lv218:43
*** NickSB2 has quit IRC18:48
*** unclechu-audio_ has quit IRC18:54
ventosusrgareus: is maximal width/height in inline_display:render constant during plugin's live?18:58
ventosuss/live/life/19:01
ventosusrgareus: is it valid for inline_display:render to return NULL to signal "I'd like to not show any inline UI atm"?19:04
*** NickSB2 has joined #lv219:28
*** deva has joined #lv219:44
rgareusventosus: the host privides a "current width" (mixer-strip) and  max. height.   and it can change anytime19:47
rgareusventosus: in ardour's case the max height is currently 112px * GUI-scaling-factor preference19:49
rgareusand IIRC the width is either 48 (Narrow) or 80 (Wide) * GUI-scaleing,  although that also depends on the font used.19:52
rgareusand yes you can return NULL19:52
*** unclechu-audio has joined #lv219:53
rgareusventosus:  in which case the display will be hidden.19:53
rgareusand a user needs to explicily ask to display it again.19:53
ventosusrgareus: ok, so ideally I return a surface as big as told by :render or something smaller?19:54
rgareusso far the onlin inline-display that is not in a plugin by YT, is drumgizmo.19:54
rgareusventosus: the plugin defines the aspect-ratio  (ie height)19:55
rgareusventosus: host says:   exact-width: XXX pixels,   max-height: YYY Pixel19:56
ventosusah, got it: width should be as told by :render for best resolution, height is defined by me19:56
rgareusventosus: yes.19:57
rgareusif you return a surface where the width does not match:  no crash.    but it's either cropped.. or there's some transparent space on the right side19:57
rgareusventosus: drumgizmo as some example of using plain RGB[A] in C++ without additional library19:59
rgareusin my case I use cairo.19:59
*** deva has quit IRC20:01
ventosusrgareus: thanks, got a crappy velocity curve :) https://paste.open-music-kontrollers.ch/lv2_inline_display_velocity_curve.png20:23
rgareusventosus: cool.  not a bad start, I suppose20:35
rgareusneeds some anti-aliasing  :)20:36
drobillaWhile we're on the topic of drawing things, I decided the eg-sampler UI needed to look less silly: http://drobilla.net/files/eg_sampler.png20:47
rgareusdrobilla: nice!20:56
rgareusdrobilla: is that jalv + themed gtk?20:56
drobillaWorking on a slightly nicer drawing, and a fancier peaks streaming implementation20:56
drobillargareus: Yeah.  Using the Gtk style, cairo drawing20:56
drobillargareus: Which, with my "getting away from Gtk" hat on, makes me wish for options to pass basic theme colours...20:57
rgareusdrobilla: falktx would love that20:57
drobillaor a fancier extension, but a few options for fg, bg, mid, text, etc seems Good Enough(TM)20:57
rgareusI think he even has some non-standard interface for that (tell plugin GUI about host's background + foreground colors)20:57
drobillaIt's neat to show it in on a (dark) ingen module and have it look pretty20:58
drobillargareus: Good to know20:58
rgareusthough I don't recall is it was just a proposal or test implementation  or if it's actually implemented (in DPF)20:58
drobilla'course now I have it working enough with a dump "send all the peaks in one message" thing I'm lazy and don't want to do the streaming part :)21:05
*** NickSB2 has quit IRC21:10
*** rncbc has quit IRC21:46
*** jbitdrop has quit IRC22:59
*** ocbtec has quit IRC23:22
*** Yruama_Lairba has quit IRC23:30
drobillaTook the time to do it right(ish)23:57
drobillaPeaks streaming/receiving things that take a requested number of peaks, and write out a bunch of messages to send them over.  If you slow it down on purpose you can actually watch it draw, or increase the resolution when you enlarge the window23:58

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