Wasted-Audio / hvcc

The heavy hvcc compiler for Pure Data patches. Updated to python3 and additional generators
https://wasted-audio.github.io/hvcc/
GNU General Public License v3.0
260 stars 30 forks source link

Bug: sending [stop( to [line~] when it's not running seems to jump the current value #188

Open dromer opened 3 months ago

dromer commented 3 months ago

Seeing this with some basic envelopes where the Release triggers a [stop( message and we hear volume jump instead of staying where it is.

Suspicion is this logic: o->x += o->m; from https://github.com/Wasted-Audio/hvcc/blob/develop/hvcc/generators/ir2c/static/HvSignalLine.c#L106-L138

Have tried with various test patches that showcase the issue:

2024-07-23_16-47