Friday, 2015-12-11

*** ricardocrudo has quit IRC00:23
*** ddom has quit IRC00:36
*** artfwo has quit IRC02:40
*** falktx` has joined #lv204:18
*** falktx has quit IRC04:21
*** edogawa has joined #lv207:07
*** six6110 has quit IRC08:49
*** ricardocrudo has joined #lv209:01
*** ventosus has joined #lv209:03
*** falktx|work has joined #lv209:13
*** ssj71 has quit IRC09:43
falktx|workdrobilla: where is the suil git repo? I don't see it in http://git.drobilla.net/09:48
falktx|workhttp://git.drobilla.net/cgit.cgi/suil.git/ says no repositories found09:48
rgareusfalktx|work: git clone http://git.drobilla.net/suil.git/   # works11:26
falktx|workyeah, just noticed that11:27
falktx|workbut it's always nice to have the changes visible on the web browser11:27
rgareusyeah, looks like a cgit setup issue or maybe some permission problem11:28
falktx|workor drobilla just forgot about suil11:28
rgareushttp://git.drobilla.net/cgit.cgi/drobillad.git/tree/.gitmodules  lists all the  submodules11:29
*** NickSB2 has quit IRC11:46
*** NickSB2 has joined #lv213:42
*** artfwo has joined #lv213:58
*** son0p has quit IRC14:13
*** son0p has joined #lv214:15
*** son0p has quit IRC14:20
*** son0p has joined #lv214:22
*** son0p has quit IRC14:27
*** son0p has joined #lv214:29
*** ricardocrudo has quit IRC14:54
*** six6110 has joined #lv215:18
drobillahttp://git.drobilla.net/cgit.cgi/suil.git/16:32
*** ssj71 has joined #lv217:01
*** ricardocrudo has joined #lv217:36
ssj71is that supposed to be supported?17:42
ssj71qtractor calls the resize function with w and h == -117:42
*** ricardocrudo has quit IRC17:48
*** NickSB has quit IRC18:07
*** drobilla has quit IRC18:11
*** NickSB has joined #lv218:13
*** ssj71 has quit IRC18:14
*** HarryHaaren has joined #lv218:21
*** ssj71 has joined #lv218:22
*** NickSB2 has quit IRC18:23
*** HarryHaaren has quit IRC18:26
*** NickSB2 has joined #lv218:41
ssj71falktx`: since lilv won't load broken ttl does that mean I'll have to take the mime type thing I made up out?19:04
*** ssj71 has quit IRC19:13
*** falktx|work has quit IRC19:27
*** ssj71 has joined #lv219:43
*** NickSB2 has quit IRC20:13
falktx`ssj71: no, that's fine20:15
falktx`ssj71: the issue will be mostly with undefined prefixes20:15
ssj71ok. I've resolved all those now (finally)20:16
falktx`ssj71: btw, why are rakarrack ports always integer?20:17
*** ventosus has left #lv220:18
ssj71falktx`: rakarrack is always integer. I was trying to match their interface 100%20:19
falktx`ssj71: but is integer really used in the dsp?20:19
ssj71no. I don't know why they did it that way20:19
ssj71its stupid. rkr2 won't use integer20:19
falktx`we're going to do parameter smoothing later for mod. but that won't fork if internally plugins use integers :(20:20
ssj71indeed. You guys could just remove the integer property for mod20:20
falktx`yes, but will that really do anything?20:20
ssj71hmm20:21
falktx`I mean, if the dsp really uses integers, then the ports are correct as-is20:21
* ssj71 goes to the source20:21
ssj71nope won't work. its cast to int20:21
falktx`:(20:22
ssj71thats a stupid way to do it. who ported these?20:22
falktx`I blame zyn20:22
falktx`all zyn fx are that way too20:22
ssj71indeed that really is the reason20:22
falktx`very likely because of midi20:22
ssj71I forget about that piece of history. The rakarrack devs didn't know any better so they kept it through the whole program20:23
* falktx` asks fundamental if floats can be used for zyn20:23
ssj71one nice thing is it makes smaller presets20:24
*** ColaEuphoria has joined #lv220:45
ColaEuphoriado input ports point to contiguous spots in memory?20:57
rgareusno.20:58
rgareusstandard control inputs point to a float20:58
rgareusand that location is only valid during run() and may change every cycle (connect_ports() is usually called before run() )20:59
ColaEuphoriagotcha20:59
ColaEuphoriaso much for my matrix multiplication optimization idea20:59
rgareusaudio inputs  point to continuous regions obviously,    and  atom-control ports, too.20:59
falktx`also input ports are read-only, const21:00
rgareusColaEuphoria: you can create  a localized array of all control data  at the beginning.21:00
ColaEuphoriawhen you say at the beginning, do you mean in run()?21:00
ColaEuphoriaat the top of run()?21:01
rgareusyes21:01
ColaEuphoriaalright21:01
rgareusit's usually good practice anyway.       float  param1 =  *(self->port_1);       if (param1 < min_val) param1 = min_val;   etc etc21:01
ColaEuphoriajust wanted to see if the other thing was possible :)21:01
rgareusaccording to the specs   a plugin can't rely that parameters are within bounds and must be able to cope with arbitrary values.21:02
ColaEuphoriagotcha21:02
falktx`there's a feature to ensure bounds though, if you need it21:02
rgareusfor some kinds of DSP it may make no difference..  for others it can be critical that  min/max boundaries are correct. YMMV21:03
ColaEuphoriawhat may that feature be?21:03
ColaEuphoriahttp://lv2plug.in/ns/ext/port-props/21:04
ColaEuphoriahasStrictBounds?21:04
falktx`http://lv2plug.in/ns/ext/port-props/#hasStrictBounds21:04
ColaEuphoriathanks21:04
rgareusthe pluin can only "omit value clamping for hasStrictBounds ports, if the feature is supported by the host"    so the plugin has to check anyway21:05
rgareusor better fail to instantiate if it does not do that and the host does not support it.21:05
ColaEuphoriayep21:06
rgareusit's one of the more useless parts of the LV2 specs, if you ask me.21:06
ColaEuphoriai could see use for matrix operations (that only require reads and not writes)21:07
ColaEuphoriaon lower end devices21:07
* falktx` thinks all controls should always be within bounds21:07
ColaEuphoriaoh wait21:08
rgareusfalktx`: they usually are.21:08
ColaEuphoriait says it indicates that the VALUE of the port should never exceed min/max control points21:08
rgareusfalktx`: there are 2 edge-cases.    float rounding:  -1.0  may sometimes be  -1.0000000000004.  and  toggle (which hard-defines true/false ignoring the range)21:09
ColaEuphoriacase OUTL: s->ports.outl = (float*)data; break;21:09
ColaEuphoriacase OUTR: s->ports.outr = (float*)data; break;21:09
ColaEuphoriacase MONOSTEREO: s->ports.stereo = (float*)data; break;21:09
ColaEuphoriamy question is21:10
rgareusfalktx`: and 3: bugs and weird users :)21:10
ColaEuphoriadoes outr point to a value in memory contiguous to outl and stereo?21:10
ColaEuphoria(pretend these are all input ports hehe)21:10
rgareusaudio i/o: yes.21:10
ColaEuphoriabut not for regular control ports?21:11
rgareuscorrect.  control ports are arbitrary.  may even point to the stack of the host somewhere.21:11
ColaEuphoriaalrighty21:11
ColaEuphoriathanks21:12
rgareusalso note:  by default autio is processed in-place  in many hosts.21:12
falktx`audio ports, during run(), always point to a float array21:12
rgareusthe input data array  may be the same as the  output data array.21:12
rgareus(zero copy)21:12
falktx`what hosts do that beside ardour? ingen?21:12
rgareusfalktx`: jalv can.21:13
rgareusfalktx`: it uses jack ports directly.21:13
rgareuswhich have the same property21:13
falktx`jalv? but doesn't it use jack input ports data directly?21:14
rgareusyes, exactly21:14
falktx`which are in-place?21:14
rgareusand if there's only a single app using a given port.  it can be zero copy.21:14
rgareuslast I looked jack does not guarntee separate buffers.21:15
falktx`sounds right. I wasn't 100% sure21:15
rgareusfalktx`: it depends. they may or may not be identical...21:15
rgareusfalktx`: do you know if qtractor use in-place ?21:17
falktx`no idea21:17
falktx`carla does in patchbay mode because of juce. but not in rack mode21:17
*** ricardocrudo has joined #lv221:23
*** rncbc has joined #lv221:58
*** rncbc has quit IRC22:08
*** rncbc has joined #lv222:17
*** ricardocrudo has quit IRC23:00
*** ricardocrudo has joined #lv223:09
*** six6110 has quit IRC23:33

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