Friday, 2016-10-21

*** Yruama_Lairba has quit IRC02:08
*** edogawa has joined #lv206:07
*** gianMOD has joined #lv206:46
*** gianMOD_ has joined #lv206:50
*** gianMOD has quit IRC06:51
*** gianMOD_ has quit IRC06:54
*** oofus_lt has joined #lv206:56
*** oofus_lt has quit IRC07:13
*** sigma6 has joined #lv207:30
*** ocbtec has joined #lv207:32
*** edogawa_ has joined #lv207:33
*** edogawa has quit IRC07:36
*** gianMOD has joined #lv207:43
*** ocbtec has quit IRC08:28
*** jbitdrop has joined #lv209:02
*** drobilla has quit IRC10:06
*** ocbtec has joined #lv210:08
*** Yruama_Lairba has joined #lv211:00
*** Spark[01] has joined #lv212:39
Spark[01]hey can I get some LADSPA help here?12:39
Spark[01]I know it's kinda off-topic but there's not LADSPA chat I know of :P12:39
falktxno one uses ladspa anymore12:40
Spark[01]LMMS uses it, and not LV2 - which is the only reason I'm not using LV2 :P12:41
*** Spark[01] has quit IRC13:08
*** Spark[01] has joined #lv213:08
*** Spark[01] has quit IRC13:11
*** Spark[01] has joined #lv213:11
*** Spark[01] has quit IRC13:20
*** Spark[01] has joined #lv213:20
*** gianMOD has quit IRC13:52
*** gianMOD has joined #lv213:56
rgareusLV2 = LADSAP version2  so it's not really off-topic.14:03
*** sigma6 has quit IRC14:03
rgareusSpark[01]: well, just ask.14:03
*** sigma6 has joined #lv214:04
Spark[01]alright so my plugin is compiling fine, and it works in audacity - but it doesnt load in LMMS whatsoever14:07
Spark[01]I think it has something to do with the ladspa_descriptor but I'm not sure what the problem is14:07
Spark[01]http://pastebin.com/raw/RtG8ZABd it's towards the bottom of the code14:07
Spark[01](the function is, I mean)14:07
rgareusI can't see anything obviously wrong14:16
Spark[01]hm, i wonder if its something to do with LMMS14:19
Spark[01]probably not a bug with LMMS but14:19
Spark[01]maybe I tried installing it wrong14:19
rgareusmaybe there's already another plugin with unique ID  788814:19
Spark[01]thats possible, ill try changing it14:20
* rgareus finds all those static variables inside a switch case hard to read14:20
Spark[01]yeah, I should probably fix that, I wrote that part a while ago and i'm not sure why I did it that way14:21
rgareusin any case that's not an issue.14:22
rgareusI just don't remember what LADSPA_Descriptor looks like,  and maybe some fields there are missing or not initialized14:22
rgareusa global    static LADSPA_Descriptor desc = { all, values, here };   would be easier to check.14:23
rgareusdoes the  .PortDescriptors   array need to be NULL terminated?14:24
Spark[01]hm, i tried changing the unique id a few times, no luck14:24
Spark[01]I'm not sure, I'll check14:25
* rgareus wrote his last LADSPA plugin about 8 years ago.14:25
rgareusSpark[01]: are you working on windows?14:28
Spark[01]yeah14:28
* rgareus just wondered about the dllexport14:28
* rgareus checked. NULL termination is not needed for the port array. .PortCount is what does that14:30
rgareusSpark[01]: so maybe it's just that LMMS looks in a different folder for ladspa plugins?14:31
Spark[01]Nah, already double checked14:31
Spark[01]I'm gonna try cleaning up the code as per your suggestions, though14:31
rgareusnow it gets mysterious..14:31
Spark[01]maybe that will make things easier to figure out at the very least14:31
Spark[01]btw, what'd you mean here?:14:33
Spark[01]<rgareus> a global    static LADSPA_Descriptor desc = { all, values, here };   would be easier to check.14:33
Spark[01]is that valid syntax?14:33
Spark[01]I've never seen that before14:33
rgareusSpark[01]: compare to https://github.com/x42/nodelay.lv2/blob/master/nodelay.c#L16814:34
Spark[01]oh, I see14:34
Spark[01]I didn't know you could do that, that's neat :)14:34
rgareusyou could go one step further and add coments..  on every line :)14:35
Spark[01]I should and I shall14:35
rgareusSpark[01]: anyway, after removing the dllexpoet, your plugin compiles here (on linux) . let's see14:35
rgareusloads and runs in Ardour14:37
Spark[01]hm14:37
Spark[01]I must be doing something wrong with installing it then14:38
rgareusmaybe remove the underscore from the name?14:38
Spark[01]Yeah, that's a good point14:38
rgareusit should not make a difference.  but it may  some menu entries use _ to denote keyboard accelerators (on windows)14:39
rgareushttp://robin.linuxaudio.org/tmp/sprk.png14:39
Spark[01]Well, thank you for all that help! :D I'll get back to you once I've made a few changes, and let you know if I've figured out a solution :)14:40
Spark[01](that sounded sarcastic haha, wasn't intended to)14:40
rgareusSpark[01]: keep in-place processsing in mind14:41
rgareusaah you did. n/m14:41
Spark[01]oh oke14:41
* rgareus was reading soundblur->last_data[j]=soundblur->input[i]; wrong14:41
Spark[01]yeah that code isnt very readable anyway14:41
rgareus soundblur->output[i]  is only set _after_ that.14:41
Spark[01]I'm gonna redo that part too14:41
rgareusSpark[01]: curious. Where are ladspa usually on windows?14:44
Spark[01]i don't know that there's a usual directory for them14:44
rgareus%COMMONPROGRAMFILES%\LADSPA\ ?14:44
Spark[01]I just put it in my user directory14:45
rgareusand LMMS looks there?14:45
Spark[01]yeah14:46
rgareuswell, no idea, then14:46
rgareusI just checked https://nightly.ardour.org/ and it has no global search path for LADSPA on windows.14:46
*** gianMOD has quit IRC14:50
*** gianMOD has joined #lv214:51
rgareusSpark[01]: the plugin has no controls, maybe LMMS does not like that?15:01
Spark[01]hmm that's possible15:01
Spark[01]I don't know why that would be the case, but it could be15:01
*** gianMOD has quit IRC15:08
*** sigma6 has quit IRC15:23
grejppirgareus: Spark[01]: lmms has no problem with having 0 controls in general15:25
Spark[01]is compiling it with MinGW a problem, if LMMS wasn't compiled with that?15:27
grejppiit shouldn't make a difference with a C api15:28
grejppiSpark[01]: why are you delete'ing static arrays in cleanup?15:28
grejppi*delete_descriptor15:29
grejppioh, well it's not called anyway15:30
Spark[01]yeah i dont know what the deal was with that15:30
Spark[01]i removed it15:30
Spark[01]like i said, i wrote that a while ago and i probably made some dumb mistakes15:31
*** gianMOD has joined #lv215:36
*** edogawa_ has quit IRC15:50
Spark[01]UGH i'm stupid lol15:50
Spark[01]It's cuz I was using 64 bit LMMS15:50
*** gianMOD has quit IRC15:55
rgareusSpark[01]: wow. it's always the "simple" part.  good job tracking that down15:57
Spark[01]thanks :P and thank you for all your help narrowing it down!15:58
*** rncbc has joined #lv216:07
*** gabrbedd has quit IRC16:14
*** falktx has quit IRC16:21
*** gianMOD has joined #lv216:22
*** gianMOD has quit IRC16:23
*** rncbc has quit IRC16:24
*** grejppi has quit IRC16:29
*** rncbc has joined #lv216:35
*** edogawa has joined #lv216:48
*** dsheeler has joined #lv217:17
*** Spark[01] has quit IRC17:29
*** gabrbedd has joined #lv217:30
*** Spark[01] has joined #lv218:05
*** Spark[01] has quit IRC18:10
*** drobilla has joined #lv218:31
*** grejppi has joined #lv218:38
*** NickSB2_ has joined #lv219:34
*** NickSB2 has quit IRC19:35
*** NickSB2_ is now known as NickSB219:35
*** oofus has joined #lv220:16
*** dsheeler has quit IRC20:50
*** gianMOD has joined #lv221:37
*** gianMOD has quit IRC21:59
*** Yruama_Lairba has quit IRC22:27
*** gianMOD has joined #lv222:33
*** oofus has quit IRC22:42
*** edogawa has quit IRC22:47
*** jbitdrop has quit IRC23:01
*** ugjka has quit IRC23:01
*** aombk has quit IRC23:01
*** NickSB2 has quit IRC23:01
*** rncbc has quit IRC23:01
*** unclechu has quit IRC23:01
*** kwmiebach__ has quit IRC23:01
*** Anchakor_ has quit IRC23:01
*** ventosus has quit IRC23:01
*** kmicu has quit IRC23:01
*** grejppi has quit IRC23:01
*** gabrbedd has quit IRC23:01
*** ocbtec has quit IRC23:01
*** JaVelDa has quit IRC23:01
*** drobilla has quit IRC23:01
*** trebmuh has quit IRC23:01
*** rgareus has quit IRC23:01
*** SianaGea1z has quit IRC23:01
*** Anchakor has quit IRC23:01
*** gianMOD has quit IRC23:05
*** jbitdrop has joined #lv223:06
*** SianaGea1z has joined #lv223:06
*** Anchakor has joined #lv223:06
*** rgareus has joined #lv223:06
*** trebmuh has joined #lv223:06
*** drobilla has joined #lv223:06
*** aombk has joined #lv223:07
*** Anchakor_ has joined #lv223:07
*** ventosus has joined #lv223:07
*** kmicu has joined #lv223:07
*** ugjka has joined #lv223:07
*** NickSB2 has joined #lv223:07
*** JaVelDa has joined #lv223:07
*** unclechu has joined #lv223:08
*** gabrbedd has joined #lv223:08
*** ocbtec has joined #lv223:08
*** grejppi has joined #lv223:12
*** ugjka is now known as Guest9145523:13
*** jbitdrop is now known as Guest3511323:13
*** kwmiebach__ has joined #lv223:38

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