Friday, 2015-06-05

rgareusssj71: it'll break all sessions with those plugins00:05
*** tytel has quit IRC00:07
rgareusin ardour's case current settings and automation data will be lost. I guess qtractor as well.00:07
rgareusssj71: but nobody really cares about the URI itself.  so one option is to just make it a 301 redirect.00:08
rgareusie put some small redirect on sf.net that points to your new site and leave the URL alone.00:08
*** ricardocrudo has quit IRC00:21
*** flexus has quit IRC02:18
*** Magnus_RM has quit IRC02:43
*** tytel has joined #lv206:11
*** tytel has quit IRC06:49
*** falktx has joined #lv206:57
*** tytel has joined #lv207:01
tytelfalktx: 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 though07:03
falktxwhat errors?07:03
tytelone sec07:03
tytelgah sorry, i thought i had the error in a terminal session, it's building now07:07
tytelthe error says it can't find the AudioProcessor type07:08
tyteli'll have it in a sec07:08
tytelno i won't it just finished building! :| sorry to bug you07:08
* tytel slowly backs away07:09
tytelfalktx: sigh, i was right the first time. accidentally built with upstream juce code07:14
tytelhere's the error07:14
tytelhttp://pastebin.com/UB6uTtyF07:15
tytelit's when building juce_PluginUtilities.cpp07:15
falktxprobably a include is missing07:18
falktxtytel: add #include "juce_IncludeModuleHeaders.h" in that cpp file07:20
falktxfor my builds I removed that include https://github.com/DISTRHO/juce/commit/0187b983bb4d15ea15b56f3ae13e667c6b8b09cd#diff-08836eb7adeafdaa8bd098bf730f157bL3407:20
tytelah 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 repo07:21
tytel(which i would definitely like to see)07:21
falktxI am yes07:21
tytelcool, i'm glad :)07:23
falktxI think they are busy with wwdc right now07:23
falktxah the issue with that header file is it being included twice07:26
tytelno include guards?07:27
falktxyep. I'll fix this right now07:28
tytelcool thanks. i ran into one last issue.07:29
falktxtytel: push fixed. I updated to latest juce as well07:29
tytelline 111 in modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp07:30
tytel#include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList     .h"07:30
falktxah, probably needs relative path07:30
tytelyea, but it builds without it07:31
falktxyes, I need it for my custom builds only. I'll move it somewhere else07:31
tytelah ok07:31
tytelyea, it's referencing another module. not sure if that's alright07:32
falktxtytel: done. let me know if it now builds without you doing any changes07:32
tytelfalktx: ok thanks, pulling now07:32
falktxnow this doens't build for me :P but it should for you07:34
* falktx wonders where juce is including juce_VSTMidiEventList.h07:37
tytelfalktx: :D works07:37
tytelthanks07:37
tytelfalktx: i might have just built my first LV2 plugin. (minus the ttl files)07:42
falktxfor ttl files is a bit more "tricky", since you need to run a little tool to generate them07:44
falktxtytel: download this file https://raw.githubusercontent.com/DISTRHO/DISTRHO-Ports/master/libs/lv2-ttl-generator/lv2_ttl_generator.c and compile it07:44
falktxgcc *.c -ldl -o generator # or similar07:44
falktxhmm, actually that code is only valid c++07:46
falktxtytel: the command you need is:07:46
falktxg++ lv2_ttl_generator.c -o lv2_ttl_generator -ldl07:46
falktxtytel: got that already?07:47
tytelfalktx: yea i just built using the Makefile in the repo07:48
falktxtytel: then you can run it now, if you generated the lv2 *.so file07:48
tytelfor some reason gcc doesn't like declarations inside the condition part of the if statement07:48
tyteli just moved the declaration out.07:49
falktxit only needs the path to *.so as first parameter. and it will generate the ttl files in your current dir07:49
tytellv2_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 #lv207:54
tytelfalktx: hmm i guess my build didn't export the lv2_generate_ttl function properly..07:58
falktxtytel: my bet is that there's a define missing07:59
tytelok i think i know where i'm missing some08:00
falktxtytel: my bet is on JucePlugin_Build_LV208:01
falktxthat needs to be set to non-zero08:01
tytelfalktx: after i sprinkled a few more defines in there it worked!08:12
falktxso you got a working lv2 plugin now?08:12
tytelmaybe?08:12
tyteldo i have to change the ttl files?08:12
falktxno, it should work as-is08:13
tytelsweeeet08:13
falktxput the *.so and *.ttl files inside a my-plugin.lv2 folder08:13
falktxand put that folder in ~/.lv208:13
tytelok i'm going to try it out now08:13
falktxrunning "lv2ls" should list it08:13
falktxtytel: btw, for proper lv2 state support you should support string-state, see https://github.com/DISTRHO/juce/commit/9d5d5fe1936a25382fb1c2d1e03ead09fd14329f08:14
falktxthat is, if your plugin has any non-parameter data at all08:14
falktxif it does, please implement that in your AudioProcessor class and store the state there, *without* the parameter values08:14
tyteli think all the data is stored in the parameters08:16
falktxthen you should use:08:16
falktx#define JucePlugin_WantsLV2State 008:16
falktxif you don't have presets, set this also:08:16
falktx#define JucePlugin_WantsLV2Presets 008:16
falktxand if you don't need time position, set this:08:17
falktx#define JucePlugin_WantsLV2TimePos 008:17
tytelfalktx: woaaaaah it works08:17
falktxtytel: with those off the host has to deal with less stuff. more cpu for the plugin processing08:17
tytelfalktx: it works :D first lv2 build!!08:18
tytelok i'll set those08:18
falktxscreenshot pls!08:19
tytelwell. there's one prob08:19
tytelmight be my window manager08:19
tytelit's at the wrong resolution08:19
tytellet me try it in Unity08:19
tytelbrb08:19
*** tytel has quit IRC08:19
*** tytel has joined #lv208:21
tytelfalktx: screenshot! http://imgur.com/8dcFIfB08:25
tytelyou can't see part of the synth though08:26
tyteloh.... i know why08:26
falktxyour setSize is probably wrong?08:27
tytelyea. it's the old resolution. i updated the standalone resolution, but not the plugin one08:28
*** tytel has quit IRC08:28
*** tytel has joined #lv208:29
tytelfalktx: http://imgur.com/3YWo9Av08:31
tytelbetter now08:31
*** gianMOD has joined #lv208:31
falktxindeed yes08:32
tytelfalktx: thanks for all the help08:32
* falktx loves to bring new plugins to linux :)08:32
falktxtytel: can you push the changes to the git repo? I want to try it now :P08:33
tytelsure!08:34
tytelgimme a minute08:34
tytelfalktx: lv_plugin branch https://github.com/mtytel/helm08:36
tytelalso noticed that i'm getting a 0bpm reading from Ardour.08:36
tytelnot sure why08:36
tytelfalktx: the synth still has some issues but i'm getting close to beta i think08:37
tyteli guess i've been saying that a while though08:37
falktxah damn juce controls have 0.0-1.0 bounds only08:39
falktxusing units with those won't work. need to disable that08:39
tytelfalktx: getting late here. thanks for all the help again. went way faster than i thought.08:44
*** edogawa has quit IRC08:46
*** tytel has quit IRC08:51
*** yann-kaelig has joined #lv209:13
*** aombk2 has quit IRC12:22
*** rncbc_jolla has joined #lv212:42
*** NickSB2 has quit IRC13:01
*** gianMOD has quit IRC13:18
*** gianMOD has joined #lv213:37
*** rncbc_jolla has quit IRC13:58
*** gianMOD has quit IRC14:33
*** gianMOD has joined #lv214:37
*** gianMOD_ has joined #lv215:37
*** gianMOD_ has quit IRC16:34
*** gianMOD_ has joined #lv216:37
*** NickSB2 has joined #lv217:19
*** rncbc has joined #lv217:27
*** Anchakor has quit IRC17:53
*** Anchakor has joined #lv218:00
*** ricardocrudo has quit IRC18:02
*** gianMOD_ has quit IRC18:07
*** HarryHaaren has joined #lv218:08
*** gianMOD has quit IRC18:11
*** tytel has joined #lv218:16
*** falktx has quit IRC18:36
*** gianMOD has joined #lv218:40
*** Magnus_RM has joined #lv218:49
ssj71rgareus: I tired setBfree again, no issue with latest git build running in ardour from kxs18:55
ssj71I just needed to reload the ttl I think18:55
rgareusssj71: 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
rgareusssj71: thanks for the heads up.  good to know it's working19:02
rgareusssj71: does the GL/3D  GUI work?19:03
*** falktx has joined #lv219:16
*** ricardocrudo has joined #lv219:35
*** flexus has joined #lv219:45
ssj71rgareus: perfectly. Its a great plugin. I haven't used it much before but was able to really dial in a good Emerson tone19:50
ssj71couldn't get anything else anywhere close19:51
rgareusssj71: it sometimes even surprises myself - even after years.19:59
rgareusphysical modelling goes a long way.  Fred K laid a very good foundation for that in beatrix.20:00
*** HarryHaaren has quit IRC20:07
*** HarryHaaren has joined #lv220:08
ssj71rgareus: indeed. Thanks for porting it to lv220:24
*** tytel_ has joined #lv220:28
*** drobilla has joined #lv220:47
*** Anchakor has quit IRC20:59
*** yann-kaelig has quit IRC21:10
*** gianMOD has quit IRC21:22
*** son0p has quit IRC21:55
*** flexus has quit IRC22:00
*** son0p has joined #lv222:01
*** rncbc has quit IRC23:23
*** ricardocrudo has quit IRC23:24

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