*** falktx_ has quit IRC | 02:09 | |
*** artfwo has quit IRC | 03:01 | |
*** edogawa has joined #lv2 | 06:03 | |
*** sigma6 has joined #lv2 | 06:57 | |
*** ensonic has joined #lv2 | 07:24 | |
*** ocbtec has joined #lv2 | 08:49 | |
*** trebmuh has joined #lv2 | 09:18 | |
*** falktx has joined #lv2 | 11:18 | |
*** unclechu has joined #lv2 | 11:51 | |
*** ricardocrudo has joined #lv2 | 12:22 | |
*** artfwo has joined #lv2 | 12:34 | |
*** falktx has quit IRC | 13:15 | |
*** falktx has joined #lv2 | 13:15 | |
*** FaTony has joined #lv2 | 14:16 | |
FaTony | hi, where do I put plugins? | 14:16 |
---|---|---|
wumpus | default paths are /usr/lib/lv2, /usr/local/lib/lv2 or ~/.lv2 | 14:19 |
FaTony | ok, ty | 14:21 |
*** son0p_ has quit IRC | 14:39 | |
*** son0p_ has joined #lv2 | 14:46 | |
*** son0p_ has quit IRC | 14:53 | |
FaTony | is it ok for lv2 plugin to depend on other library? (.so) | 15:16 |
rgareus | FaTony: yes in general | 15:19 |
FaTony | ok | 15:19 |
rgareus | FaTony: though for portability this is best avoided (link statically) | 15:19 |
rgareus | but it really depends how you plan to distribute plugins and what operating systems you target. | 15:21 |
rgareus | a lot of gnu/linux-only plugins that come with distros link against shared libs that come with said distro. | 15:22 |
FaTony | I'm making an lv2 plugin which uses some of my libraries, I plan to release it into repository with them | 15:24 |
rgareus | FaTony: 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 |
FaTony | yes, my packages extract then in /usr/lib | 15:26 |
rgareus | if they're custom libs, not yet packaged by a distro, statically linking is probably the better option | 15:26 |
rgareus | K | 15:27 |
rgareus | FaTony: curious, if I may ask: what's the plugin about? | 15:28 |
FaTony | emulating NES sound chip | 15:28 |
FaTony | chiptune plugin basically | 15:28 |
rgareus | nice | 15:29 |
rgareus | 2nd one this month (after ssj71's SID emulator) | 15:29 |
FaTony | yes, see this: https://linuxmusicians.com/viewtopic.php?f=44&p=71537 | 15:30 |
rgareus | FaTony: 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 |
FaTony | I really don't want to support proprietary systems, but I plan to release the code into public domain, although GPL is an option | 15:33 |
rgareus | fair enough. | 15:34 |
rgareus | though users using free software on proprietary systems, are souls half saved :) | 15:34 |
rgareus | I consider being able to share DAW sessions with plugins with collaborators who didn't yet switch, a plus. | 15:36 |
rgareus | but either public domain or GPL is fine | 15:36 |
FaTony | well, I make sure my code is 99% ISO C++, but if some stuff is not supported on MSVC, I don't plan to workaround it | 15:39 |
rgareus | oh. I didn't suggest to go for MSVC compat :) | 15:39 |
rgareus | that's insane | 15:39 |
rgareus | mingw FTW | 15:39 |
falktx | clang ftw | 15:39 |
FaTony | well yes, but lots of ppl use it to compile free software | 15:39 |
*** ensonic has quit IRC | 15:40 | |
rgareus | toolkits and external depencecies are usually what holds down portability. | 15:40 |
wumpus | it's mostly GUI on linux that drags in crazy numbers of dependencies | 15:58 |
ventosus | dynamically linking to -lm is fine, I guess | 16:00 |
wumpus | for the DSP part, especially if you want to be able to guarantee realtime, external dependencies are best avoided | 16:00 |
wumpus | yes, 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 IRC | 16:08 | |
*** falktx has quit IRC | 16:08 | |
*** ricardocrudo has quit IRC | 16:09 | |
wumpus | nice to see all the new chiptune lv2 plugins | 16:11 |
*** deva has joined #lv2 | 16:17 | |
*** ensonic has joined #lv2 | 16:20 | |
*** ensonic has quit IRC | 16:25 | |
*** rncbc has joined #lv2 | 16:29 | |
*** ensonic has joined #lv2 | 16:53 | |
*** oofus has joined #lv2 | 17:02 | |
ensonic | did 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 |
ssj71 | yes | 18:42 |
ssj71 | its built in the spec | 18:43 |
ssj71 | though its possible the plugin would have states that they don't tell the host about which breaks this model | 18:43 |
ssj71 | e.g. Helm doesn't technically have any lv2 control ports (IIUC) but they implemented their own preset mechanism | 18:44 |
ensonic | okay, I could skip plugins with no control ports, good point | 18:49 |
ssj71 | they also won't put any presets in the ttl. | 18:50 |
rgareus | ssj71: the lv2 state extension covers that | 18:50 |
ssj71 | ensonic: you can't necessarily skip them either because my reMID.lv2 plugin only loads files but does have presets saved as state | 18:51 |
ssj71 | rgareus: I was getting there :) | 18:51 |
rgareus | and even though it's called "extension" pretty much everything LV2 is an extension. As for state: all hosts support it. | 18:52 |
ssj71 | I suppose I was unclear, but if you implement the state extension you are telling the host about your states | 18:53 |
ssj71 | or at least that you have them | 18:53 |
rgareus | the latter | 19:24 |
*** ocbtec has quit IRC | 19:35 | |
ensonic | ah, so I shoudl check if the plugin implements the state extension | 19:43 |
rgareus | ensonic: yes, (if you're writing a lv2 host, that is) | 19:49 |
rgareus | if you use liblilv, the not much has to be done. just call lilv_state_restore() lilv_state_save() | 19:50 |
rgareus | to check if a plugin has a state interface lilv_plugin_has_extension_data () | 19:51 |
rgareus | using the URID LV2_STATE__interface | 19:52 |
ensonic | thanks! | 19:57 |
*** deva has quit IRC | 20:05 | |
*** deva has joined #lv2 | 20:31 | |
*** FaTony has quit IRC | 20:50 | |
*** deva has quit IRC | 20:51 | |
*** unclechu has quit IRC | 20:57 | |
*** edogawa has quit IRC | 21:50 | |
*** trebmuh has quit IRC | 23:40 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!