rgareus | ssj71: it'll break all sessions with those plugins | 00:05 |
---|---|---|
*** tytel has quit IRC | 00:07 | |
rgareus | in ardour's case current settings and automation data will be lost. I guess qtractor as well. | 00:07 |
rgareus | ssj71: but nobody really cares about the URI itself. so one option is to just make it a 301 redirect. | 00:08 |
rgareus | ie put some small redirect on sf.net that points to your new site and leave the URL alone. | 00:08 |
*** ricardocrudo has quit IRC | 00:21 | |
*** flexus has quit IRC | 02:18 | |
*** Magnus_RM has quit IRC | 02:43 | |
*** tytel has joined #lv2 | 06:11 | |
*** tytel has quit IRC | 06:49 | |
*** falktx has joined #lv2 | 06:57 | |
*** tytel has joined #lv2 | 07:01 | |
tytel | falktx: hey i was trying to get that lv2 juce stuff working today. there's some compilation errors with the generated Makefile before I make any LV2 changes though | 07:03 |
falktx | what errors? | 07:03 |
tytel | one sec | 07:03 |
tytel | gah sorry, i thought i had the error in a terminal session, it's building now | 07:07 |
tytel | the error says it can't find the AudioProcessor type | 07:08 |
tytel | i'll have it in a sec | 07:08 |
tytel | no i won't it just finished building! :| sorry to bug you | 07:08 |
* tytel slowly backs away | 07:09 | |
tytel | falktx: sigh, i was right the first time. accidentally built with upstream juce code | 07:14 |
tytel | here's the error | 07:14 |
tytel | http://pastebin.com/UB6uTtyF | 07:15 |
tytel | it's when building juce_PluginUtilities.cpp | 07:15 |
falktx | probably a include is missing | 07:18 |
falktx | tytel: add #include "juce_IncludeModuleHeaders.h" in that cpp file | 07:20 |
falktx | for my builds I removed that include https://github.com/DISTRHO/juce/commit/0187b983bb4d15ea15b56f3ae13e667c6b8b09cd#diff-08836eb7adeafdaa8bd098bf730f157bL34 | 07:20 |
tytel | ah ok thanks, i'll try that. i just thought i should let you know incase you were still trying to get it into the upstream juce repo | 07:21 |
tytel | (which i would definitely like to see) | 07:21 |
falktx | I am yes | 07:21 |
tytel | cool, i'm glad :) | 07:23 |
falktx | I think they are busy with wwdc right now | 07:23 |
falktx | ah the issue with that header file is it being included twice | 07:26 |
tytel | no include guards? | 07:27 |
falktx | yep. I'll fix this right now | 07:28 |
tytel | cool thanks. i ran into one last issue. | 07:29 |
falktx | tytel: push fixed. I updated to latest juce as well | 07:29 |
tytel | line 111 in modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 07:30 |
tytel | #include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList .h" | 07:30 |
falktx | ah, probably needs relative path | 07:30 |
tytel | yea, but it builds without it | 07:31 |
falktx | yes, I need it for my custom builds only. I'll move it somewhere else | 07:31 |
tytel | ah ok | 07:31 |
tytel | yea, it's referencing another module. not sure if that's alright | 07:32 |
falktx | tytel: done. let me know if it now builds without you doing any changes | 07:32 |
tytel | falktx: ok thanks, pulling now | 07:32 |
falktx | now this doens't build for me :P but it should for you | 07:34 |
* falktx wonders where juce is including juce_VSTMidiEventList.h | 07:37 | |
tytel | falktx: :D works | 07:37 |
tytel | thanks | 07:37 |
tytel | falktx: i might have just built my first LV2 plugin. (minus the ttl files) | 07:42 |
falktx | for ttl files is a bit more "tricky", since you need to run a little tool to generate them | 07:44 |
falktx | tytel: download this file https://raw.githubusercontent.com/DISTRHO/DISTRHO-Ports/master/libs/lv2-ttl-generator/lv2_ttl_generator.c and compile it | 07:44 |
falktx | gcc *.c -ldl -o generator # or similar | 07:44 |
falktx | hmm, actually that code is only valid c++ | 07:46 |
falktx | tytel: the command you need is: | 07:46 |
falktx | g++ lv2_ttl_generator.c -o lv2_ttl_generator -ldl | 07:46 |
falktx | tytel: got that already? | 07:47 |
tytel | falktx: yea i just built using the Makefile in the repo | 07:48 |
falktx | tytel: then you can run it now, if you generated the lv2 *.so file | 07:48 |
tytel | for some reason gcc doesn't like declarations inside the condition part of the if statement | 07:48 |
tytel | i just moved the declaration out. | 07:49 |
falktx | it only needs the path to *.so as first parameter. and it will generate the ttl files in your current dir | 07:49 |
tytel | lv2_ttl_generator.c:58:13: error: expected expression before ‘char’ if (char* base2 = strrchr(argv[1], '/')) | 07:49 |
* falktx is too used to c++ | 07:49 | |
*** ricardocrudo has joined #lv2 | 07:54 | |
tytel | falktx: hmm i guess my build didn't export the lv2_generate_ttl function properly.. | 07:58 |
falktx | tytel: my bet is that there's a define missing | 07:59 |
tytel | ok i think i know where i'm missing some | 08:00 |
falktx | tytel: my bet is on JucePlugin_Build_LV2 | 08:01 |
falktx | that needs to be set to non-zero | 08:01 |
tytel | falktx: after i sprinkled a few more defines in there it worked! | 08:12 |
falktx | so you got a working lv2 plugin now? | 08:12 |
tytel | maybe? | 08:12 |
tytel | do i have to change the ttl files? | 08:12 |
falktx | no, it should work as-is | 08:13 |
tytel | sweeeet | 08:13 |
falktx | put the *.so and *.ttl files inside a my-plugin.lv2 folder | 08:13 |
falktx | and put that folder in ~/.lv2 | 08:13 |
tytel | ok i'm going to try it out now | 08:13 |
falktx | running "lv2ls" should list it | 08:13 |
falktx | tytel: btw, for proper lv2 state support you should support string-state, see https://github.com/DISTRHO/juce/commit/9d5d5fe1936a25382fb1c2d1e03ead09fd14329f | 08:14 |
falktx | that is, if your plugin has any non-parameter data at all | 08:14 |
falktx | if it does, please implement that in your AudioProcessor class and store the state there, *without* the parameter values | 08:14 |
tytel | i think all the data is stored in the parameters | 08:16 |
falktx | then you should use: | 08:16 |
falktx | #define JucePlugin_WantsLV2State 0 | 08:16 |
falktx | if you don't have presets, set this also: | 08:16 |
falktx | #define JucePlugin_WantsLV2Presets 0 | 08:16 |
falktx | and if you don't need time position, set this: | 08:17 |
falktx | #define JucePlugin_WantsLV2TimePos 0 | 08:17 |
tytel | falktx: woaaaaah it works | 08:17 |
falktx | tytel: with those off the host has to deal with less stuff. more cpu for the plugin processing | 08:17 |
tytel | falktx: it works :D first lv2 build!! | 08:18 |
tytel | ok i'll set those | 08:18 |
falktx | screenshot pls! | 08:19 |
tytel | well. there's one prob | 08:19 |
tytel | might be my window manager | 08:19 |
tytel | it's at the wrong resolution | 08:19 |
tytel | let me try it in Unity | 08:19 |
tytel | brb | 08:19 |
*** tytel has quit IRC | 08:19 | |
*** tytel has joined #lv2 | 08:21 | |
tytel | falktx: screenshot! http://imgur.com/8dcFIfB | 08:25 |
tytel | you can't see part of the synth though | 08:26 |
tytel | oh.... i know why | 08:26 |
falktx | your setSize is probably wrong? | 08:27 |
tytel | yea. it's the old resolution. i updated the standalone resolution, but not the plugin one | 08:28 |
*** tytel has quit IRC | 08:28 | |
*** tytel has joined #lv2 | 08:29 | |
tytel | falktx: http://imgur.com/3YWo9Av | 08:31 |
tytel | better now | 08:31 |
*** gianMOD has joined #lv2 | 08:31 | |
falktx | indeed yes | 08:32 |
tytel | falktx: thanks for all the help | 08:32 |
* falktx loves to bring new plugins to linux :) | 08:32 | |
falktx | tytel: can you push the changes to the git repo? I want to try it now :P | 08:33 |
tytel | sure! | 08:34 |
tytel | gimme a minute | 08:34 |
tytel | falktx: lv_plugin branch https://github.com/mtytel/helm | 08:36 |
tytel | also noticed that i'm getting a 0bpm reading from Ardour. | 08:36 |
tytel | not sure why | 08:36 |
tytel | falktx: the synth still has some issues but i'm getting close to beta i think | 08:37 |
tytel | i guess i've been saying that a while though | 08:37 |
falktx | ah damn juce controls have 0.0-1.0 bounds only | 08:39 |
falktx | using units with those won't work. need to disable that | 08:39 |
tytel | falktx: getting late here. thanks for all the help again. went way faster than i thought. | 08:44 |
*** edogawa has quit IRC | 08:46 | |
*** tytel has quit IRC | 08:51 | |
*** yann-kaelig has joined #lv2 | 09:13 | |
*** aombk2 has quit IRC | 12:22 | |
*** rncbc_jolla has joined #lv2 | 12:42 | |
*** NickSB2 has quit IRC | 13:01 | |
*** gianMOD has quit IRC | 13:18 | |
*** gianMOD has joined #lv2 | 13:37 | |
*** rncbc_jolla has quit IRC | 13:58 | |
*** gianMOD has quit IRC | 14:33 | |
*** gianMOD has joined #lv2 | 14:37 | |
*** gianMOD_ has joined #lv2 | 15:37 | |
*** gianMOD_ has quit IRC | 16:34 | |
*** gianMOD_ has joined #lv2 | 16:37 | |
*** NickSB2 has joined #lv2 | 17:19 | |
*** rncbc has joined #lv2 | 17:27 | |
*** Anchakor has quit IRC | 17:53 | |
*** Anchakor has joined #lv2 | 18:00 | |
*** ricardocrudo has quit IRC | 18:02 | |
*** gianMOD_ has quit IRC | 18:07 | |
*** HarryHaaren has joined #lv2 | 18:08 | |
*** gianMOD has quit IRC | 18:11 | |
*** tytel has joined #lv2 | 18:16 | |
*** falktx has quit IRC | 18:36 | |
*** gianMOD has joined #lv2 | 18:40 | |
*** Magnus_RM has joined #lv2 | 18:49 | |
ssj71 | rgareus: I tired setBfree again, no issue with latest git build running in ardour from kxs | 18:55 |
ssj71 | I just needed to reload the ttl I think | 18:55 |
rgareus | ssj71: if ardour (or any LV2 host) is running and you update a plugin (under the hood), yes that could cause interesting side-effects. | 19:02 |
rgareus | ssj71: thanks for the heads up. good to know it's working | 19:02 |
rgareus | ssj71: does the GL/3D GUI work? | 19:03 |
*** falktx has joined #lv2 | 19:16 | |
*** ricardocrudo has joined #lv2 | 19:35 | |
*** flexus has joined #lv2 | 19:45 | |
ssj71 | rgareus: perfectly. Its a great plugin. I haven't used it much before but was able to really dial in a good Emerson tone | 19:50 |
ssj71 | couldn't get anything else anywhere close | 19:51 |
rgareus | ssj71: it sometimes even surprises myself - even after years. | 19:59 |
rgareus | physical modelling goes a long way. Fred K laid a very good foundation for that in beatrix. | 20:00 |
*** HarryHaaren has quit IRC | 20:07 | |
*** HarryHaaren has joined #lv2 | 20:08 | |
ssj71 | rgareus: indeed. Thanks for porting it to lv2 | 20:24 |
*** tytel_ has joined #lv2 | 20:28 | |
*** drobilla has joined #lv2 | 20:47 | |
*** Anchakor has quit IRC | 20:59 | |
*** yann-kaelig has quit IRC | 21:10 | |
*** gianMOD has quit IRC | 21:22 | |
*** son0p has quit IRC | 21:55 | |
*** flexus has quit IRC | 22:00 | |
*** son0p has joined #lv2 | 22:01 | |
*** rncbc has quit IRC | 23:23 | |
*** ricardocrudo has quit IRC | 23:24 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!