*** sors_ has quit IRC | 00:11 | |
*** sors_ has joined #lv2 | 00:24 | |
*** arguy has joined #lv2 | 00:52 | |
*** arguy has quit IRC | 01:01 | |
*** ricardocrudo has joined #lv2 | 01:06 | |
*** NickSB2 has joined #lv2 | 01:51 | |
*** ricardocrudo has quit IRC | 02:32 | |
*** falktx has quit IRC | 02:50 | |
*** NickSB2 has quit IRC | 02:57 | |
*** Anchakor_ has quit IRC | 03:05 | |
*** edogawa has joined #lv2 | 06:59 | |
*** edogawa_ has joined #lv2 | 07:42 | |
*** edogawa has quit IRC | 07:42 | |
*** edogawa_ is now known as edogawa | 07:42 | |
*** NickSB2 has joined #lv2 | 09:54 | |
*** Gethiox has quit IRC | 11:17 | |
*** bazz has quit IRC | 12:34 | |
*** bazz has joined #lv2 | 12:34 | |
*** rncbc_jolla has joined #lv2 | 13:13 | |
*** rncbc_jolla has quit IRC | 13:13 | |
*** rncbc_jolla has joined #lv2 | 13:15 | |
*** rncbc_jolla has joined #lv2 | 13:17 | |
*** ricardocrudo has joined #lv2 | 13:21 | |
*** rncbc_jolla has quit IRC | 13:21 | |
*** rncbc_jolla has joined #lv2 | 13:26 | |
*** NickSB2 has quit IRC | 13:37 | |
*** falktx has joined #lv2 | 13:59 | |
*** rncbc_jolla has quit IRC | 14:38 | |
*** timbyr has quit IRC | 15:14 | |
*** timbyr has joined #lv2 | 15:16 | |
*** HarryHaaren has joined #lv2 | 16:10 | |
Javafant | I'm getting an error on lilv_world_free(world) : error: failed to remove node from hash | 16:13 |
---|---|---|
Javafant | any idea what I missed? | 16:13 |
HarryHaaren | Javafant, code online somewhere? I can take a quick look if you like | 16:22 |
Javafant | HarryHaaren: yep https://github.com/Javafant/lvtwohost | 16:25 |
Javafant | beware, it's an ugly mess | 16:25 |
HarryHaaren | always :) | 16:25 |
Javafant | I'm completely new to c++, jack and lv2 | 16:25 |
Javafant | I took the jalv source and tried to refactor it to a modular class that I can use in another application | 16:25 |
Javafant | it seems to work but I get this error on exit | 16:26 |
* HarryHaaren will do a checkout | 16:26 | |
HarryHaaren | Javafant, small thing, no URI gives segfault: http://pastebin.com/2NECrrfy | 16:28 |
HarryHaaren | will try with LV2 plugin URI | 16:28 |
Javafant | I know but I was too lazy to fix that sofar | 16:28 |
Javafant | I'm only testing noisemaker so you might run into problems with other plugins | 16:28 |
HarryHaaren | :) | 16:28 |
HarryHaaren | hardcoded things for noisemaker too? | 16:29 |
Javafant | no | 16:29 |
HarryHaaren | so should I test with just noisemaker? | 16:29 |
Javafant | yep | 16:29 |
HarryHaaren | output: http://pastebin.com/2zmjs5JX | 16:31 |
HarryHaaren | how can I reproduce the error? | 16:31 |
Javafant | ah sry, you need to connect the input and play some note (otherwise the error doesn't seem to occur) and you need no wait for the timeouts to terminate. you might want to reduce them | 16:32 |
HarryHaaren | right... so what is different in the program when Ctrl^C arrives, and when it terminates the other way? | 16:33 |
HarryHaaren | or are you handling SIGTERM at all yet? | 16:33 |
Javafant | no I'm not handling it | 16:33 |
Javafant | so exit() won't get called | 16:33 |
Javafant | and lilv_world_free() won't get called either | 16:33 |
Javafant | I'm happy enough that I got it working at all, so I didn't thought about implementing such things. | 16:34 |
HarryHaaren | ah wait, this is just got printed to terminal: http://pastebin.com/auZfCRGF | 16:34 |
Javafant | hm | 16:34 |
Javafant | that's the error the we fucked up prints are just to narrow it down to the function that's causing them | 16:35 |
HarryHaaren | I like the idea of making an LV2 host class that serves people trying to implement it: with callback hooks or something to link to you app: to remove the LV2 details from any host app | 16:36 |
HarryHaaren | perhaps its another "complication"-abstration that would only be confusing though.. :/ | 16:37 |
HarryHaaren | Javafant, you're aware of my attempt at a LV2 class yeah? | 16:37 |
HarryHaaren | https://github.com/harryhaaren/Lv2Host | 16:37 |
Javafant | yep that doesn't work at the moment and I was too confused to get it working so I started with the jalv sources | 16:37 |
HarryHaaren | yep indeed... I've actually been implementing Lv2 instrument support for instruments in Luppp (based on my own code) so that's been refactored and updates somewhat | 16:38 |
HarryHaaren | the DSP side is working with ArtyFX stuff now (instrument updates to follow) | 16:38 |
Javafant | basically I only want to be able to host two instances of noisemaker and set params via some function | 16:39 |
HarryHaaren | anyways, the more the merrier :D the LMMS guys want to get Lv2 supported too, so a template host class would benefit all | 16:39 |
Javafant | but I wasn't able to find an easy way to do this | 16:40 |
Javafant | and not knowing anything about lv2 myself at the beginning writing it from scratch was too much for me so I started with the jalv source | 16:40 |
HarryHaaren | ah you can hard-code an Lv2 host too: its a little nasty, but perhaps easier. Its ultimately gonna happen that you'll want to use a different plugin, and have to re-do effort though | 16:41 |
Javafant | I'm not yet completely decided on noisemaker | 16:41 |
*** Gethiox has joined #lv2 | 16:41 | |
HarryHaaren | jalv source is pretty complex & nasty IMO: i'm a C++ guy, and the amount of pointers and things is way confuxing for me | 16:41 |
Javafant | well I somehow managed to get it do to what I want except for this error on exit | 16:42 |
Javafant | once that is fixed I can finally start working on the application I need this for :) | 16:42 |
HarryHaaren | which is what if ya don't mind me asking? | 16:43 |
Javafant | do you know syntorial? | 16:43 |
HarryHaaren | ammm, nope | 16:44 |
Javafant | I want to create an application that teaches you synthesizer programming by having two synths | 16:44 |
Javafant | one where you don't see the controls but can play notes | 16:44 |
Javafant | and another one where you have to reproduce the configuration by listening | 16:44 |
HarryHaaren | ah yes I do now | 16:45 |
HarryHaaren | ah cool, nice idea | 16:45 |
*** bgola has joined #lv2 | 16:45 | |
Javafant | ideally the synth could be swapped out more or less easily so that everybody can use the synth they like | 16:46 |
HarryHaaren | I'll spill the beans: i'm working on a new wavetable synth, which will have pretty extensive routing possibilities (due to routing matrix),.. might be interesting for this | 16:46 |
HarryHaaren | yeah cool: lets make this lv2host class work then, and done :) | 16:46 |
Javafant | the lilv docs don't tell anything about an error that can occur on lilv_world_free so I don't really have an idea what to look for | 16:48 |
* HarryHaaren -> brb, dinner time | 16:53 | |
HarryHaaren | amm, i don't know either there | 16:53 |
HarryHaaren | that said, if its only when exiting the program... who cares for now :) | 16:53 |
Javafant | hehe :) | 16:53 |
Javafant | thx for your help anyway | 16:53 |
*** falktx has quit IRC | 17:20 | |
*** falktx has joined #lv2 | 17:21 | |
*** HarryHaaren has quit IRC | 18:25 | |
*** mlpug has joined #lv2 | 18:32 | |
*** falktx has quit IRC | 18:58 | |
*** uberdan has joined #lv2 | 20:20 | |
Javafant | so I did some further digging lilv_world_free calls sord_node_free which calls sord_node_free_internal which actually generates the error message I see | 20:36 |
Javafant | however I still don't have any idea what is causing this | 20:36 |
*** mlpug has quit IRC | 20:39 | |
*** edogawa_ has joined #lv2 | 20:52 | |
*** edogawa has quit IRC | 20:53 | |
*** NickSB2 has joined #lv2 | 21:15 | |
*** uberdan has quit IRC | 22:17 | |
*** NickSB2 has quit IRC | 22:27 | |
*** falktx has joined #lv2 | 22:34 | |
falktx | has anyone done any LV2 + Wayland related work yet? | 22:45 |
*** edogawa_ has quit IRC | 22:53 | |
*** ricardocrudo has quit IRC | 23:15 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!