*** Yruama_Lairba has quit IRC | 00:38 | |
*** trebmuh has quit IRC | 01:17 | |
*** artfwo has quit IRC | 01:55 | |
*** falktx` has joined #lv2 | 03:04 | |
*** falktx has quit IRC | 03:08 | |
*** trebmuh has joined #lv2 | 08:32 | |
*** NickSB2 has quit IRC | 08:48 | |
*** NickSB2 has joined #lv2 | 09:10 | |
*** Yruama_Lairba has joined #lv2 | 09:16 | |
*** jbitdrop has joined #lv2 | 09:43 | |
*** ocbtec has joined #lv2 | 10:07 | |
*** artfwo has joined #lv2 | 12:10 | |
*** NickSB2 has quit IRC | 13:55 | |
*** NickSB2 has joined #lv2 | 16:11 | |
*** NickSB2 has quit IRC | 17:17 | |
*** NickSB2 has joined #lv2 | 17:38 | |
*** NickSB2 has quit IRC | 17:42 | |
*** NickSB2 has joined #lv2 | 17:58 | |
*** unclechu-audio_ has joined #lv2 | 18:21 | |
*** unclechu-audio has quit IRC | 18:23 | |
*** rncbc has joined #lv2 | 18:43 | |
*** NickSB2 has quit IRC | 18:48 | |
*** unclechu-audio_ has quit IRC | 18:54 | |
ventosus | rgareus: is maximal width/height in inline_display:render constant during plugin's live? | 18:58 |
---|---|---|
ventosus | s/live/life/ | 19:01 |
ventosus | rgareus: 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 #lv2 | 19:28 | |
*** deva has joined #lv2 | 19:44 | |
rgareus | ventosus: the host privides a "current width" (mixer-strip) and max. height. and it can change anytime | 19:47 |
rgareus | ventosus: in ardour's case the max height is currently 112px * GUI-scaling-factor preference | 19:49 |
rgareus | and IIRC the width is either 48 (Narrow) or 80 (Wide) * GUI-scaleing, although that also depends on the font used. | 19:52 |
rgareus | and yes you can return NULL | 19:52 |
*** unclechu-audio has joined #lv2 | 19:53 | |
rgareus | ventosus: in which case the display will be hidden. | 19:53 |
rgareus | and a user needs to explicily ask to display it again. | 19:53 |
ventosus | rgareus: ok, so ideally I return a surface as big as told by :render or something smaller? | 19:54 |
rgareus | so far the onlin inline-display that is not in a plugin by YT, is drumgizmo. | 19:54 |
rgareus | ventosus: the plugin defines the aspect-ratio (ie height) | 19:55 |
rgareus | ventosus: host says: exact-width: XXX pixels, max-height: YYY Pixel | 19:56 |
ventosus | ah, got it: width should be as told by :render for best resolution, height is defined by me | 19:56 |
rgareus | ventosus: yes. | 19:57 |
rgareus | if 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 side | 19:57 |
rgareus | ventosus: drumgizmo as some example of using plain RGB[A] in C++ without additional library | 19:59 |
rgareus | in my case I use cairo. | 19:59 |
*** deva has quit IRC | 20:01 | |
ventosus | rgareus: thanks, got a crappy velocity curve :) https://paste.open-music-kontrollers.ch/lv2_inline_display_velocity_curve.png | 20:23 |
rgareus | ventosus: cool. not a bad start, I suppose | 20:35 |
rgareus | needs some anti-aliasing :) | 20:36 |
drobilla | While 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.png | 20:47 |
rgareus | drobilla: nice! | 20:56 |
rgareus | drobilla: is that jalv + themed gtk? | 20:56 |
drobilla | Working on a slightly nicer drawing, and a fancier peaks streaming implementation | 20:56 |
drobilla | rgareus: Yeah. Using the Gtk style, cairo drawing | 20:56 |
drobilla | rgareus: Which, with my "getting away from Gtk" hat on, makes me wish for options to pass basic theme colours... | 20:57 |
rgareus | drobilla: falktx would love that | 20:57 |
drobilla | or a fancier extension, but a few options for fg, bg, mid, text, etc seems Good Enough(TM) | 20:57 |
rgareus | I think he even has some non-standard interface for that (tell plugin GUI about host's background + foreground colors) | 20:57 |
drobilla | It's neat to show it in on a (dark) ingen module and have it look pretty | 20:58 |
drobilla | rgareus: Good to know | 20:58 |
rgareus | though 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 IRC | 21:10 | |
*** rncbc has quit IRC | 21:46 | |
*** jbitdrop has quit IRC | 22:59 | |
*** ocbtec has quit IRC | 23:22 | |
*** Yruama_Lairba has quit IRC | 23:30 | |
drobilla | Took the time to do it right(ish) | 23:57 |
drobilla | Peaks 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 window | 23:58 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!