Search
Thursday, 25th of May 2017, 15:10:06 UTC
15:22:13
Shinmera
Hm, actually it would be good to have an on/off switch for every segment in general.
15:22:44
Shinmera
will have to brood on this
15:28:28
Shinmera
The problem is that I can't really do it generically
15:28:42
Shinmera
I can't just not call the mix method on the segment, because that would leave stale data in the buffers.
15:29:17
Shinmera
and what it means to be "off" is different for different segments
15:29:33
Shinmera
eg a mixer should output 0, but an effect should copy the input.
15:30:16
Shinmera
But I also don't like the idea of complicating the average case of forcing every segment to implement an off switch
15:38:08
Shinmera
I could formulate it as an attribute, maybe
15:38:38
Shinmera
yeah that should work, I think
17:12:27
Colleen
http://shinmera.tymoon.eu/public/scream.wav
17:28:56
Shinmera
I don't think I can implement this for LADSPA
17:29:00
Shinmera
since there I run into the same problem
17:29:16
Shinmera
(I don't know which buffers are what and how they relate)
17:38:43
Shinmera
Another thing that would be useful is having volume control directly on source/drain channels.
17:39:51
Shinmera
But currently the buffer_to/from_channel functions don't take a volume parameter and are publicly exposed
17:42:30
Shinmera
You know, if I could actually compile together mix functions at runtime this could be a lot sweeter still, since often times the modifications are in-place and could be rolled toegether into a single loop when in a chain.
Friday, 26th of May 2017, 3:10:06 UTC