Tuesday, 2016-06-07

*** falktx_ has quit IRC02:09
*** artfwo has quit IRC03:01
*** edogawa has joined #lv206:03
*** sigma6 has joined #lv206:57
*** ensonic has joined #lv207:24
*** ocbtec has joined #lv208:49
*** trebmuh has joined #lv209:18
*** falktx has joined #lv211:18
*** unclechu has joined #lv211:51
*** ricardocrudo has joined #lv212:22
*** artfwo has joined #lv212:34
*** falktx has quit IRC13:15
*** falktx has joined #lv213:15
*** FaTony has joined #lv214:16
FaTonyhi, where do I put plugins?14:16
wumpusdefault paths are /usr/lib/lv2, /usr/local/lib/lv2 or ~/.lv214:19
FaTonyok, ty14:21
*** son0p_ has quit IRC14:39
*** son0p_ has joined #lv214:46
*** son0p_ has quit IRC14:53
FaTonyis it ok for lv2 plugin to depend on other library? (.so)15:16
rgareusFaTony: yes in general15:19
FaTonyok15:19
rgareusFaTony: though for portability this is best avoided (link statically)15:19
rgareusbut it really depends how you plan to distribute plugins  and what operating systems you target.15:21
rgareusa lot of gnu/linux-only plugins that come with distros link against shared libs that come with said distro.15:22
FaTonyI'm making an lv2 plugin which uses some of my libraries, I plan to release it into repository with them15:24
rgareusFaTony: the host - which loads the plugin - needs to find those libs.  So those libs need to be in LD_LIBRARY_PATH  ie  /usr/lib/   (or similar)15:26
FaTonyyes, my packages extract then in /usr/lib15:26
rgareusif they're custom libs, not yet packaged by a distro, statically linking is probably the better option15:26
rgareusK15:27
rgareusFaTony: curious, if I may ask: what's the plugin about?15:28
FaTonyemulating NES sound chip15:28
FaTonychiptune plugin basically15:28
rgareusnice15:29
rgareus2nd one this month (after ssj71's SID emulator)15:29
FaTonyyes, see this: https://linuxmusicians.com/viewtopic.php?f=44&p=7153715:30
rgareusFaTony: while you may not care, keep an open mind for portability (*BSD, OSX, Windows) while designing.  LV2 will win that in the long run.15:32
FaTonyI really don't want to support proprietary systems, but I plan to release the code into public domain, although GPL is an option15:33
rgareusfair enough.15:34
rgareusthough users using free software on proprietary systems, are souls half saved :)15:34
rgareusI consider being able to share DAW sessions with plugins with collaborators who didn't yet switch, a plus.15:36
rgareusbut either public domain or GPL is fine15:36
FaTonywell, I make sure my code is 99% ISO C++, but if some stuff is not supported on MSVC, I don't plan to workaround it15:39
rgareusoh. I didn't suggest to go for MSVC compat :)15:39
rgareusthat's insane15:39
rgareusmingw FTW15:39
falktxclang ftw15:39
FaTonywell yes, but lots of ppl use it to compile free software15:39
*** ensonic has quit IRC15:40
rgareustoolkits and external depencecies are usually what holds down portability.15:40
wumpusit's mostly GUI on linux that drags in crazy numbers of dependencies15:58
ventosusdynamically linking to -lm is fine, I guess16:00
wumpusfor the DSP part, especially if you want to be able to guarantee realtime, external dependencies are best avoided16:00
wumpusyes, libc and libm are safest to dynamic link to as they manage versions carefully (if you use e.g. DNS in any way there's no way around that). libstdc++ can be more tricky, the ABI sometimes changes. Everything else is bat country, regarding distribution-agnostic executables.16:04
*** sigma6 has quit IRC16:08
*** falktx has quit IRC16:08
*** ricardocrudo has quit IRC16:09
wumpusnice to see all the new chiptune lv2 plugins16:11
*** deva has joined #lv216:17
*** ensonic has joined #lv216:20
*** ensonic has quit IRC16:25
*** rncbc has joined #lv216:29
*** ensonic has joined #lv216:53
*** oofus has joined #lv217:02
ensonicdid I understood it right that essentially all lv2 plugins supports presets, if the host supports it, since the host will read the ttl file and shove the values into the ports?18:40
ssj71yes18:42
ssj71its built in the spec18:43
ssj71though its possible the plugin would have states that they don't tell the host about which breaks this model18:43
ssj71e.g. Helm doesn't technically have any lv2 control ports (IIUC) but they implemented their own preset mechanism18:44
ensonicokay, I could skip plugins with no control ports, good point18:49
ssj71they also won't put any presets in the ttl.18:50
rgareusssj71: the lv2 state extension covers that18:50
ssj71ensonic: you can't necessarily skip them either because my reMID.lv2 plugin only loads files but does have presets saved as state18:51
ssj71rgareus: I was getting there :)18:51
rgareusand even though it's called "extension"  pretty much everything LV2 is an extension. As for state: all hosts support it.18:52
ssj71I suppose I was unclear, but if you implement the state extension you are telling the host about your states18:53
ssj71or at least that you have them18:53
rgareusthe latter19:24
*** ocbtec has quit IRC19:35
ensonicah, so I shoudl check if the plugin implements the state extension19:43
rgareusensonic: yes, (if you're writing a lv2 host, that is)19:49
rgareusif you use liblilv, the not much has to be done.   just call   lilv_state_restore()   lilv_state_save()19:50
rgareusto check if a plugin has a state interface     lilv_plugin_has_extension_data ()19:51
rgareususing the  URID   LV2_STATE__interface19:52
ensonicthanks!19:57
*** deva has quit IRC20:05
*** deva has joined #lv220:31
*** FaTony has quit IRC20:50
*** deva has quit IRC20:51
*** unclechu has quit IRC20:57
*** edogawa has quit IRC21:50
*** trebmuh has quit IRC23:40

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