*** Yruama_Lairba has quit IRC | 02:08 | |
*** edogawa has joined #lv2 | 06:07 | |
*** gianMOD has joined #lv2 | 06:46 | |
*** gianMOD_ has joined #lv2 | 06:50 | |
*** gianMOD has quit IRC | 06:51 | |
*** gianMOD_ has quit IRC | 06:54 | |
*** oofus_lt has joined #lv2 | 06:56 | |
*** oofus_lt has quit IRC | 07:13 | |
*** sigma6 has joined #lv2 | 07:30 | |
*** ocbtec has joined #lv2 | 07:32 | |
*** edogawa_ has joined #lv2 | 07:33 | |
*** edogawa has quit IRC | 07:36 | |
*** gianMOD has joined #lv2 | 07:43 | |
*** ocbtec has quit IRC | 08:28 | |
*** jbitdrop has joined #lv2 | 09:02 | |
*** drobilla has quit IRC | 10:06 | |
*** ocbtec has joined #lv2 | 10:08 | |
*** Yruama_Lairba has joined #lv2 | 11:00 | |
*** Spark[01] has joined #lv2 | 12: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 :P | 12:39 |
falktx | no one uses ladspa anymore | 12:40 |
Spark[01] | LMMS uses it, and not LV2 - which is the only reason I'm not using LV2 :P | 12:41 |
*** Spark[01] has quit IRC | 13:08 | |
*** Spark[01] has joined #lv2 | 13:08 | |
*** Spark[01] has quit IRC | 13:11 | |
*** Spark[01] has joined #lv2 | 13:11 | |
*** Spark[01] has quit IRC | 13:20 | |
*** Spark[01] has joined #lv2 | 13:20 | |
*** gianMOD has quit IRC | 13:52 | |
*** gianMOD has joined #lv2 | 13:56 | |
rgareus | LV2 = LADSAP version2 so it's not really off-topic. | 14:03 |
*** sigma6 has quit IRC | 14:03 | |
rgareus | Spark[01]: well, just ask. | 14:03 |
*** sigma6 has joined #lv2 | 14:04 | |
Spark[01] | alright so my plugin is compiling fine, and it works in audacity - but it doesnt load in LMMS whatsoever | 14:07 |
Spark[01] | I think it has something to do with the ladspa_descriptor but I'm not sure what the problem is | 14:07 |
Spark[01] | http://pastebin.com/raw/RtG8ZABd it's towards the bottom of the code | 14:07 |
Spark[01] | (the function is, I mean) | 14:07 |
rgareus | I can't see anything obviously wrong | 14:16 |
Spark[01] | hm, i wonder if its something to do with LMMS | 14:19 |
Spark[01] | probably not a bug with LMMS but | 14:19 |
Spark[01] | maybe I tried installing it wrong | 14:19 |
rgareus | maybe there's already another plugin with unique ID 7888 | 14:19 |
Spark[01] | thats possible, ill try changing it | 14:20 |
* rgareus finds all those static variables inside a switch case hard to read | 14: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 way | 14:21 |
rgareus | in any case that's not an issue. | 14:22 |
rgareus | I just don't remember what LADSPA_Descriptor looks like, and maybe some fields there are missing or not initialized | 14:22 |
rgareus | a global static LADSPA_Descriptor desc = { all, values, here }; would be easier to check. | 14:23 |
rgareus | does the .PortDescriptors array need to be NULL terminated? | 14:24 |
Spark[01] | hm, i tried changing the unique id a few times, no luck | 14:24 |
Spark[01] | I'm not sure, I'll check | 14:25 |
* rgareus wrote his last LADSPA plugin about 8 years ago. | 14:25 | |
rgareus | Spark[01]: are you working on windows? | 14:28 |
Spark[01] | yeah | 14:28 |
* rgareus just wondered about the dllexport | 14:28 | |
* rgareus checked. NULL termination is not needed for the port array. .PortCount is what does that | 14:30 | |
rgareus | Spark[01]: so maybe it's just that LMMS looks in a different folder for ladspa plugins? | 14:31 |
Spark[01] | Nah, already double checked | 14:31 |
Spark[01] | I'm gonna try cleaning up the code as per your suggestions, though | 14:31 |
rgareus | now it gets mysterious.. | 14:31 |
Spark[01] | maybe that will make things easier to figure out at the very least | 14: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 before | 14:33 |
rgareus | Spark[01]: compare to https://github.com/x42/nodelay.lv2/blob/master/nodelay.c#L168 | 14:34 |
Spark[01] | oh, I see | 14:34 |
Spark[01] | I didn't know you could do that, that's neat :) | 14:34 |
rgareus | you could go one step further and add coments.. on every line :) | 14:35 |
Spark[01] | I should and I shall | 14:35 |
rgareus | Spark[01]: anyway, after removing the dllexpoet, your plugin compiles here (on linux) . let's see | 14:35 |
rgareus | loads and runs in Ardour | 14:37 |
Spark[01] | hm | 14:37 |
Spark[01] | I must be doing something wrong with installing it then | 14:38 |
rgareus | maybe remove the underscore from the name? | 14:38 |
Spark[01] | Yeah, that's a good point | 14:38 |
rgareus | it should not make a difference. but it may some menu entries use _ to denote keyboard accelerators (on windows) | 14:39 |
rgareus | http://robin.linuxaudio.org/tmp/sprk.png | 14: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 |
rgareus | Spark[01]: keep in-place processsing in mind | 14:41 |
rgareus | aah you did. n/m | 14:41 |
Spark[01] | oh oke | 14:41 |
* rgareus was reading soundblur->last_data[j]=soundblur->input[i]; wrong | 14:41 | |
Spark[01] | yeah that code isnt very readable anyway | 14:41 |
rgareus | soundblur->output[i] is only set _after_ that. | 14:41 |
Spark[01] | I'm gonna redo that part too | 14:41 |
rgareus | Spark[01]: curious. Where are ladspa usually on windows? | 14:44 |
Spark[01] | i don't know that there's a usual directory for them | 14:44 |
rgareus | %COMMONPROGRAMFILES%\LADSPA\ ? | 14:44 |
Spark[01] | I just put it in my user directory | 14:45 |
rgareus | and LMMS looks there? | 14:45 |
Spark[01] | yeah | 14:46 |
rgareus | well, no idea, then | 14:46 |
rgareus | I just checked https://nightly.ardour.org/ and it has no global search path for LADSPA on windows. | 14:46 |
*** gianMOD has quit IRC | 14:50 | |
*** gianMOD has joined #lv2 | 14:51 | |
rgareus | Spark[01]: the plugin has no controls, maybe LMMS does not like that? | 15:01 |
Spark[01] | hmm that's possible | 15:01 |
Spark[01] | I don't know why that would be the case, but it could be | 15:01 |
*** gianMOD has quit IRC | 15:08 | |
*** sigma6 has quit IRC | 15:23 | |
grejppi | rgareus: Spark[01]: lmms has no problem with having 0 controls in general | 15:25 |
Spark[01] | is compiling it with MinGW a problem, if LMMS wasn't compiled with that? | 15:27 |
grejppi | it shouldn't make a difference with a C api | 15:28 |
grejppi | Spark[01]: why are you delete'ing static arrays in cleanup? | 15:28 |
grejppi | *delete_descriptor | 15:29 |
grejppi | oh, well it's not called anyway | 15:30 |
Spark[01] | yeah i dont know what the deal was with that | 15:30 |
Spark[01] | i removed it | 15:30 |
Spark[01] | like i said, i wrote that a while ago and i probably made some dumb mistakes | 15:31 |
*** gianMOD has joined #lv2 | 15:36 | |
*** edogawa_ has quit IRC | 15:50 | |
Spark[01] | UGH i'm stupid lol | 15:50 |
Spark[01] | It's cuz I was using 64 bit LMMS | 15:50 |
*** gianMOD has quit IRC | 15:55 | |
rgareus | Spark[01]: wow. it's always the "simple" part. good job tracking that down | 15:57 |
Spark[01] | thanks :P and thank you for all your help narrowing it down! | 15:58 |
*** rncbc has joined #lv2 | 16:07 | |
*** gabrbedd has quit IRC | 16:14 | |
*** falktx has quit IRC | 16:21 | |
*** gianMOD has joined #lv2 | 16:22 | |
*** gianMOD has quit IRC | 16:23 | |
*** rncbc has quit IRC | 16:24 | |
*** grejppi has quit IRC | 16:29 | |
*** rncbc has joined #lv2 | 16:35 | |
*** edogawa has joined #lv2 | 16:48 | |
*** dsheeler has joined #lv2 | 17:17 | |
*** Spark[01] has quit IRC | 17:29 | |
*** gabrbedd has joined #lv2 | 17:30 | |
*** Spark[01] has joined #lv2 | 18:05 | |
*** Spark[01] has quit IRC | 18:10 | |
*** drobilla has joined #lv2 | 18:31 | |
*** grejppi has joined #lv2 | 18:38 | |
*** NickSB2_ has joined #lv2 | 19:34 | |
*** NickSB2 has quit IRC | 19:35 | |
*** NickSB2_ is now known as NickSB2 | 19:35 | |
*** oofus has joined #lv2 | 20:16 | |
*** dsheeler has quit IRC | 20:50 | |
*** gianMOD has joined #lv2 | 21:37 | |
*** gianMOD has quit IRC | 21:59 | |
*** Yruama_Lairba has quit IRC | 22:27 | |
*** gianMOD has joined #lv2 | 22:33 | |
*** oofus has quit IRC | 22:42 | |
*** edogawa has quit IRC | 22:47 | |
*** jbitdrop has quit IRC | 23:01 | |
*** ugjka has quit IRC | 23:01 | |
*** aombk has quit IRC | 23:01 | |
*** NickSB2 has quit IRC | 23:01 | |
*** rncbc has quit IRC | 23:01 | |
*** unclechu has quit IRC | 23:01 | |
*** kwmiebach__ has quit IRC | 23:01 | |
*** Anchakor_ has quit IRC | 23:01 | |
*** ventosus has quit IRC | 23:01 | |
*** kmicu has quit IRC | 23:01 | |
*** grejppi has quit IRC | 23:01 | |
*** gabrbedd has quit IRC | 23:01 | |
*** ocbtec has quit IRC | 23:01 | |
*** JaVelDa has quit IRC | 23:01 | |
*** drobilla has quit IRC | 23:01 | |
*** trebmuh has quit IRC | 23:01 | |
*** rgareus has quit IRC | 23:01 | |
*** SianaGea1z has quit IRC | 23:01 | |
*** Anchakor has quit IRC | 23:01 | |
*** gianMOD has quit IRC | 23:05 | |
*** jbitdrop has joined #lv2 | 23:06 | |
*** SianaGea1z has joined #lv2 | 23:06 | |
*** Anchakor has joined #lv2 | 23:06 | |
*** rgareus has joined #lv2 | 23:06 | |
*** trebmuh has joined #lv2 | 23:06 | |
*** drobilla has joined #lv2 | 23:06 | |
*** aombk has joined #lv2 | 23:07 | |
*** Anchakor_ has joined #lv2 | 23:07 | |
*** ventosus has joined #lv2 | 23:07 | |
*** kmicu has joined #lv2 | 23:07 | |
*** ugjka has joined #lv2 | 23:07 | |
*** NickSB2 has joined #lv2 | 23:07 | |
*** JaVelDa has joined #lv2 | 23:07 | |
*** unclechu has joined #lv2 | 23:08 | |
*** gabrbedd has joined #lv2 | 23:08 | |
*** ocbtec has joined #lv2 | 23:08 | |
*** grejppi has joined #lv2 | 23:12 | |
*** ugjka is now known as Guest91455 | 23:13 | |
*** jbitdrop is now known as Guest35113 | 23:13 | |
*** kwmiebach__ has joined #lv2 | 23:38 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!