Unity-Technologies / NativeAudioPlugins

MIT License
135 stars 28 forks source link

Multiband attack and release are broken #9

Open Manamongods opened 2 years ago

Manamongods commented 2 years ago

This commit: https://github.com/Unity-Technologies/NativeAudioPlugins/commit/fd08cdc7e1468f7b077e494c71cde9381ae7d0db

Changed the lines from: atk = GetTimeConstant(0.99f, _atk); rel = GetTimeConstant(0.99f, _rel); to: atk = GetTimeConstant(0.99f, atk); rel = GetTimeConstant(0.99f, rel);

which means atk and rel are never being set correctly.