*** falktx has quit IRC | 01:53 | |
badosu | Hi, I am trying to create a lv2 plugin with many UIs, can someone help me? | 04:24 |
---|---|---|
badosu | I already made the ui but I don't know how to write the manifest | 04:24 |
drobilla | badosu: You can just list several in the same way as one | 05:34 |
drobilla | badosu: Unfortunately most hosts don't provide decent selection of several UIs at the moment (bit of a chicken & egg thing) | 05:35 |
badosu | drobilla: my problem mainly is that I have to declare a new plugin to actually instantiate a different interface | 05:49 |
badosu | drobilla: so the descriptor will mismatch the URI | 05:50 |
badosu | drobilla: I don't know what to do, for now I'll just create the many different UI's and just change the binary path on the ttl | 05:51 |
badosu | then I'll see what I can do to reuse code without messing up with dynamic URI on the descripor | 05:51 |
drobilla | badosu: Not sure what you mean. That shouldn't be the case. Static data somewhere? | 06:04 |
badosu | drobilla: don't worry, I'll try to sort it out by myself for now | 06:40 |
*** edogawa has joined #lv2 | 07:41 | |
*** ddom has joined #lv2 | 08:50 | |
*** gianMOD has joined #lv2 | 09:43 | |
*** ricardocrudo has joined #lv2 | 09:47 | |
*** HarryHaaren has joined #lv2 | 10:01 | |
*** rncbc has joined #lv2 | 10:35 | |
badosu | Has anybody seen an error like this when using ntk and fl_embed for a LV2 plugin? | 11:41 |
badosu | -> X_CreateWindow: BadWindow (invalid Window parameter) | 11:41 |
*** gianMOD has quit IRC | 12:00 | |
*** edogawa_ has joined #lv2 | 12:13 | |
*** edogawa has quit IRC | 12:16 | |
*** rncbc is now known as rncbc|AFK | 12:32 | |
*** ricardocrudo has quit IRC | 12:37 | |
*** gianMOD has joined #lv2 | 12:50 | |
*** ricardocrudo has joined #lv2 | 12:52 | |
*** gianMOD has quit IRC | 13:03 | |
*** gianMOD has joined #lv2 | 13:03 | |
*** ricardocrudo has quit IRC | 13:07 | |
*** gianMOD has quit IRC | 13:08 | |
*** gianMOD has joined #lv2 | 13:25 | |
*** gianMOD has quit IRC | 13:27 | |
*** gianMOD has joined #lv2 | 13:29 | |
*** ricardocrudo has joined #lv2 | 13:31 | |
*** gianMOD has quit IRC | 13:31 | |
*** ricardocrudo has quit IRC | 13:36 | |
*** HarryHaaren has quit IRC | 13:40 | |
*** gianMOD has joined #lv2 | 13:56 | |
*** gianMOD has quit IRC | 13:56 | |
*** gianMOD has joined #lv2 | 13:57 | |
*** gianMOD has quit IRC | 14:24 | |
*** gianMOD has joined #lv2 | 14:25 | |
*** gianMOD has quit IRC | 14:29 | |
*** gianMOD has joined #lv2 | 14:34 | |
*** gianMOD has quit IRC | 14:38 | |
Anchakor | badosu: considered using falktx's https://github.com/falkTX/DPF ? | 14:39 |
*** gianMOD has joined #lv2 | 14:42 | |
*** NickSB2 has quit IRC | 14:45 | |
*** ricardocrudo has joined #lv2 | 14:58 | |
*** gianMOD has quit IRC | 15:01 | |
*** ricardocrudo has quit IRC | 15:05 | |
*** ricardocrudo has joined #lv2 | 15:16 | |
*** gianMOD has joined #lv2 | 15:17 | |
*** ddom has quit IRC | 15:56 | |
*** gianMOD has quit IRC | 16:17 | |
*** gianMOD has joined #lv2 | 16:17 | |
*** ricardocrudo has quit IRC | 16:21 | |
*** gianMOD has quit IRC | 16:22 | |
drobilla | badosu: Passing junk for the parent parameter, I'd guess | 17:37 |
*** edogawa_ is now known as edogawa | 18:00 | |
*** HarryHaaren has joined #lv2 | 18:59 | |
*** bgola has joined #lv2 | 19:13 | |
badosu | I guess so, thanks, let me check out | 19:31 |
*** ricardocrudo has joined #lv2 | 19:31 | |
badosu | Oh, I can't believe this, I had forgotten to replace GtkUI with X11UI | 19:34 |
*** gianMOD has joined #lv2 | 19:39 | |
*** gianMOD has quit IRC | 19:41 | |
HarryHaaren | heh - interpreting a GtkWidget* as an X11 window ID would work though right? </sarcasm> :D | 19:43 |
*** gianMOD has joined #lv2 | 19:44 | |
badosu | This is what I am doing: https://github.com/badosu/BadAmp | 19:57 |
badosu | It's a simple implementation of a lv2 plugin using different toolkits | 19:57 |
badosu | Now I am going to try QT | 19:57 |
badosu | HarryHaaren: I used a bit of your sinsynth experiment to learn how to use ntk | 19:58 |
drobilla | Heh, I guess X gets some points for gracefully handling being passed a GtkWidget as a Window and not blowing up in your face | 19:58 |
HarryHaaren | badosu, oh sorry to hear you're using that code! Its not my neatest feat.. but that said - it works. | 19:59 |
badosu | HarryHaaren: it works out for me, all I needed was to figure out how to embed ntk on lv2 | 20:00 |
HarryHaaren | badosu, i'm working on a PUGL (by LV2 man drobilla himself) and Cairo based widget toolkit - http://openavproductions.com/avtk/ | 20:00 |
badosu | HarryHaaren: i'd never discover by myself that I needed to implement resize and idle interfaces | 20:00 |
HarryHaaren | fair enough - i was learning about embedding etc at the time. | 20:00 |
HarryHaaren | badosu, idle was a tricky one - but it solves a problem thats otherwise not possible to solve the "right" way | 20:01 |
HarryHaaren | there's also "show interface", which allows a widget toolkit to manage its own "window" - no need for embedding. | 20:01 |
badosu | HarryHaaren: why not collaborate with ntk? | 20:01 |
badosu | HarryHaaren: I was already a bit hesitant using ntk instead of fltk | 20:01 |
badosu | HarryHaaren: The main reason being that fltk does no have fl_embed, I guess | 20:02 |
HarryHaaren | NTK / FLTK is *almost* the same - NTK has Cairo being built in | 20:02 |
*** gianMOD has quit IRC | 20:02 | |
badosu | Oh, so it's not a fltk fork | 20:02 |
HarryHaaren | well sure it is - but they're similar apart from how they use Cairo | 20:02 |
HarryHaaren | and male ( the NTK dev) is a lot faster moving than the FLTK guys | 20:03 |
badosu | no, I am talking about avtk :-) | 20:03 |
HarryHaaren | that said, NTK is not cross-platform right now | 20:03 |
HarryHaaren | AVTK? Its totally its own thing - inspired by NTK though | 20:03 |
HarryHaaren | i'm hoping to talk about it at the LAC this year - lets see if it gets accepted. | 20:03 |
badosu | cool, gonna check it out later | 20:03 |
HarryHaaren | the benefit is totally cross-platform due to minimal dependencies and way lightweight runtime. | 20:04 |
HarryHaaren | cool. | 20:04 |
badosu | hmm, gonna take a look at this show interface | 20:04 |
HarryHaaren | Code isn't online yet (older version is - don't bother looking at AVTK code online now ) | 20:04 |
* HarryHaaren goes for dinner, back laters | 20:04 | |
badosu | I should not rely on fl_embed | 20:04 |
badosu | drobilla: yeah, it just shows some warnings | 20:05 |
*** gianMOD has joined #lv2 | 20:11 | |
drobilla | I don't know FLTK, but in general I've found it's far more reliable to create a window with its parent set initially rather than create a parentless window then try to change it later | 20:23 |
drobilla | This is why the parent is passed to the UI these days (otherwise the host could just do it) | 20:23 |
badosu | yeah, I agree with this, reparenting is always a time bomb | 20:29 |
badosu | and, of course, in this case cripples portability | 20:29 |
* HarryHaaren is back | 20:34 | |
HarryHaaren | yep PUGL is beatiful that way - and AVTK wraps this pretty OK, call UI() and get a standalone window, call UI( PuglNativeWindow parent ); and it auto-embeds | 20:35 |
HarryHaaren | literally the same UI code functions as plugin / standalone - including corner cases like dialog windows (which don't stall the main thread :) | 20:35 |
*** gianMOD has quit IRC | 21:08 | |
*** gianMOD has joined #lv2 | 21:11 | |
*** falktx has joined #lv2 | 21:13 | |
*** gianMOD has quit IRC | 21:30 | |
*** rncbc|AFK has quit IRC | 22:09 | |
*** ricardocrudo has quit IRC | 22:37 | |
*** edogawa has quit IRC | 23:14 | |
*** HarryHaaren has quit IRC | 23:54 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!