fix(vm/compiler): invert the logic of the release flag in the voices (closes #102)

This makes all envelopes released by default, instead of attacking. Add also test to demonstrate the buggy behaviour.
This commit is contained in:
2023-09-23 15:56:46 +03:00
parent 20b0598a57
commit 1ac2ad3c75
13 changed files with 46 additions and 19 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ typedef struct Unit {
typedef struct Voice {
int Note;
int Release;
int Sustain;
float Inputs[8];
float Reserved[6];
struct Unit Units[63];