Tuesday, 2014-03-25

*** sors_ has quit IRC00:11
*** sors_ has joined #lv200:24
*** arguy has joined #lv200:52
*** arguy has quit IRC01:01
*** ricardocrudo has joined #lv201:06
*** NickSB2 has joined #lv201:51
*** ricardocrudo has quit IRC02:32
*** falktx has quit IRC02:50
*** NickSB2 has quit IRC02:57
*** Anchakor_ has quit IRC03:05
*** edogawa has joined #lv206:59
*** edogawa_ has joined #lv207:42
*** edogawa has quit IRC07:42
*** edogawa_ is now known as edogawa07:42
*** NickSB2 has joined #lv209:54
*** Gethiox has quit IRC11:17
*** bazz has quit IRC12:34
*** bazz has joined #lv212:34
*** rncbc_jolla has joined #lv213:13
*** rncbc_jolla has quit IRC13:13
*** rncbc_jolla has joined #lv213:15
*** rncbc_jolla has joined #lv213:17
*** ricardocrudo has joined #lv213:21
*** rncbc_jolla has quit IRC13:21
*** rncbc_jolla has joined #lv213:26
*** NickSB2 has quit IRC13:37
*** falktx has joined #lv213:59
*** rncbc_jolla has quit IRC14:38
*** timbyr has quit IRC15:14
*** timbyr has joined #lv215:16
*** HarryHaaren has joined #lv216:10
JavafantI'm getting an error on lilv_world_free(world) : error: failed to remove node from hash16:13
Javafantany idea what I missed?16:13
HarryHaarenJavafant, code online somewhere? I can take a quick look if you like16:22
JavafantHarryHaaren: yep https://github.com/Javafant/lvtwohost16:25
Javafantbeware, it's an ugly mess16:25
HarryHaarenalways :)16:25
JavafantI'm completely new to c++, jack and lv216:25
JavafantI took the jalv source and tried to refactor it to a modular class that I can use in another application16:25
Javafantit seems to work but I get this error on exit16:26
* HarryHaaren will do a checkout16:26
HarryHaarenJavafant, small thing, no URI gives segfault: http://pastebin.com/2NECrrfy16:28
HarryHaarenwill try with LV2 plugin URI16:28
JavafantI know but I was too lazy to fix that sofar16:28
JavafantI'm only testing noisemaker so you might run into problems with other plugins16:28
HarryHaaren:)16:28
HarryHaarenhardcoded things for noisemaker too?16:29
Javafantno16:29
HarryHaarenso should I test with just noisemaker?16:29
Javafantyep16:29
HarryHaarenoutput: http://pastebin.com/2zmjs5JX16:31
HarryHaarenhow can I reproduce the error?16:31
Javafantah 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 them16:32
HarryHaarenright... so what is different in the program when Ctrl^C arrives, and when it terminates the other way?16:33
HarryHaarenor are you handling SIGTERM at all yet?16:33
Javafantno I'm not handling it16:33
Javafantso exit() won't get called16:33
Javafantand lilv_world_free() won't get called either16:33
JavafantI'm happy enough that I got it working at all, so I didn't thought about implementing such things.16:34
HarryHaarenah wait, this is just got printed to terminal: http://pastebin.com/auZfCRGF16:34
Javafanthm16:34
Javafantthat's the error the we fucked up prints are just to narrow it down to the function that's causing them16:35
HarryHaarenI 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 app16:36
HarryHaarenperhaps its another "complication"-abstration that would only be confusing though.. :/16:37
HarryHaarenJavafant, you're aware of my attempt at a LV2 class yeah?16:37
HarryHaarenhttps://github.com/harryhaaren/Lv2Host16:37
Javafantyep that doesn't work at the moment and I was too confused to get it working so I started with the jalv sources16:37
HarryHaarenyep 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 somewhat16:38
HarryHaarenthe DSP side is working with ArtyFX stuff now (instrument updates to follow)16:38
Javafantbasically I only want to be able to host two instances of noisemaker and set params via some function16:39
HarryHaarenanyways, the more the merrier :D the LMMS guys want to get Lv2 supported too, so a template host class would benefit all16:39
Javafantbut I wasn't able to find an easy way to do this16:40
Javafantand not knowing anything about lv2 myself at the beginning writing it from scratch was too much for me so I started with the jalv source16:40
HarryHaarenah 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 though16:41
JavafantI'm not yet completely decided on noisemaker16:41
*** Gethiox has joined #lv216:41
HarryHaarenjalv source is pretty complex & nasty IMO: i'm a C++ guy, and the amount of pointers and things is way confuxing for me16:41
Javafantwell I somehow managed to get it do to what I want except for this error on exit16:42
Javafantonce that is fixed I can finally start working on the application I need this for :)16:42
HarryHaarenwhich is what if ya don't mind me asking?16:43
Javafantdo you know syntorial?16:43
HarryHaarenammm, nope16:44
JavafantI want to create an application that teaches you synthesizer programming by having two synths16:44
Javafantone where you don't see the controls but can play notes16:44
Javafantand another one where you have to reproduce the configuration by listening16:44
HarryHaarenah yes I do now16:45
HarryHaarenah cool, nice idea16:45
*** bgola has joined #lv216:45
Javafantideally the synth could be swapped out more or less easily so that everybody can use the synth they like16:46
HarryHaarenI'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 this16:46
HarryHaarenyeah cool: lets make this lv2host class work then, and done :)16:46
Javafantthe 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 for16:48
* HarryHaaren -> brb, dinner time16:53
HarryHaarenamm, i don't know either there16:53
HarryHaarenthat said, if its only when exiting the program... who cares for now :)16:53
Javafanthehe :)16:53
Javafantthx for your help anyway16:53
*** falktx has quit IRC17:20
*** falktx has joined #lv217:21
*** HarryHaaren has quit IRC18:25
*** mlpug has joined #lv218:32
*** falktx has quit IRC18:58
*** uberdan has joined #lv220:20
Javafantso 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 see20:36
Javafanthowever I still don't have any idea what is causing this20:36
*** mlpug has quit IRC20:39
*** edogawa_ has joined #lv220:52
*** edogawa has quit IRC20:53
*** NickSB2 has joined #lv221:15
*** uberdan has quit IRC22:17
*** NickSB2 has quit IRC22:27
*** falktx has joined #lv222:34
falktxhas anyone done any LV2 + Wayland related work yet?22:45
*** edogawa_ has quit IRC22:53
*** ricardocrudo has quit IRC23:15

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