Friday, 2016-11-18

*** ssj71 has quit IRC01:03
*** Yruama_Lairba has quit IRC02:25
*** dsheeler has quit IRC03:06
*** ColaEuphoria has joined #lv203:09
*** trebmuh has quit IRC05:01
*** dsheeler has joined #lv205:08
*** grejppi has quit IRC06:08
*** son0p has joined #lv206:12
*** grejppi has joined #lv206:14
*** edogawa has joined #lv207:54
*** son0p_ has joined #lv207:56
*** son0p has quit IRC07:56
*** son0p_ has quit IRC07:56
*** edogawa has quit IRC08:13
*** sigma6 has joined #lv208:26
*** brummer has joined #lv209:24
brummerhi all09:24
brummerIs a call to Gtk::Main::iteration(false); is valid in a gtkmm plug?09:26
brummerto avoid that a dialog widget blocks the main loop09:27
brummerin the GUI of-course09:29
brummerI'm working on a non-modal file browser09:30
brummerhave it working in my main app, just I didn't know, if I could assume that Gtk::Main::run() is called by the host, for the UI-thread?09:35
*** ocbtec has joined #lv209:40
*** gianMOD has joined #lv210:25
*** gianMOD has quit IRC10:25
brummerokay, I'm found what I looking for, http://lv2plug.in/ns/extensions/ui/#GtkUI11:21
brummer the host guarantees that the Gtk+ library has been initialised and the Glib main loop is running11:22
brummerso, at least it should be save to use g_main_context_iteration11:22
brummerbye11:23
*** brummer has quit IRC11:24
*** trebmuh has joined #lv212:13
*** Yruama_Lairba has joined #lv212:14
*** frinknet_ has joined #lv213:10
*** frinknet has quit IRC13:11
*** oofus_lt has joined #lv213:54
*** oofus_lt has quit IRC14:31
*** edogawa has joined #lv215:21
*** ColaEuphoria_uni has joined #lv215:39
ColaEuphoria_unidrobilla: I noticed that when you ported nanogui to pugl, the framerate of the example apps dropped significantly, I'd estimate down to 10 fps15:40
ColaEuphoria_uniWhat caused this?15:40
* drobilla shrugs15:47
drobillaThe set up parameters are probably not the same, dropped the version, some shaders got mangled in the process, etc15:48
drobillaThe way the loop works might not be right15:50
drobillaI just got it to work, not work well15:51
ColaEuphoria_unidrobilla: So it is fixable? As long as it's fixable, that's good.15:59
ColaEuphoria_uniI just started working on a Knob class last night16:00
ColaEuphoria_uniand I also plan on adding a vertical orientation to the slider class16:00
ColaEuphoria_uniAside from a crazy file explorer widget, I think that's pretty much the most of what any general plugin may need without needing to dive into nanovg themselves16:02
drobillaI don't see why not16:36
drobillananogui takes a IMO insane "update everything all the time" approach to updating in general16:36
drobillaBut there's no inherent reason one on pugl needs to be slower than the other.  pugl doesn't do much at the end of the day16:37
ColaEuphoria_uniCPU usage seems to be fine (I'll check again when I get back home) so it might just be performing less draw calls/sec16:43
ColaEuphoria_uniand yeah the update everything all the time approach is pretty crazy as far as widget uis go16:44
*** sigma6 has quit IRC16:59
*** ssj71 has joined #lv217:05
drobillaIIRC I switched the GL version which might have switched the openvg backend, too (to make it work on my machine + jessie).  That backend might just be slower17:09
*** ColaEuphoria_uni has quit IRC17:33
*** rncbc has joined #lv219:46
*** ocbtec has quit IRC20:12
*** Yruama_Lairba has quit IRC20:54
*** pablo7 has joined #lv223:40
*** rncbc has quit IRC23:40
pablo7hi: i'm building a little multitrack audio recorder for an embedded system, and i want to load LV2 plugins i've created with FAUST. How can i use a LV2 plugin inside my custom program? is there any documentation about this?23:41
pablo7im a bit noob with audio programming.. i'm using portaudio in my custom program, and Qt for GUI23:42
ssj71embedded linux? I'd suggest looking at or outright using jalv23:44
*** edogawa has quit IRC23:46
drobilla^ this23:49
drobillaThere is also lv2apply.c in lilv which is a simpler example that shows mostly just the "use an LV2 plugin" bits, but not RT23:49
*** drobilla has quit IRC23:49
pablo7ssj71: thanks for the answer. I don't quite understad what jalv does... with it could i use lv2 within my audio program? I need to use the plugin within my custom app23:53
pablo7everything is running inside a beaglebone black... right now i can record an playback in real time, but i need to apply some audio processing in real time for finishing the project (for university)... so i thought it would be nice to use lv2 plugins23:54
pablo7i'm a noob.. perhaps i'm saying nonsense23:54
ssj71pablo7: not nonsense23:55
ssj71pablo7: is you application using alsa directly?23:55
pablo7i'm using portaudio23:55
pablo7i only used alsa api for writting drivers23:55
pablo7ssj71: using portaudio23:56
ssj71pablo7: ok. AFAIK there's no app for applying lv2 plugins to a portaudio stream23:58
ssj71pablo7: jalv is the reference/example program for lv2 hosts23:59
ssj71pablo7: you want to add hosting to your app, and as drobilla said lv2apply.c in jalv has most of what you need to apply the plugin23:59

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