feat(vm/compiler): increase native synth delaylines to 128

Closes #155
This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-04-27 21:47:27 +03:00
parent 5fd78d8362
commit f72f29188b
4 changed files with 9 additions and 6 deletions

View File

@ -2,7 +2,7 @@
struc su_synth
.synth_wrk resb su_synthworkspace.size
.delay_wrks resb su_delayline_wrk.size * 64
.delay_wrks resb su_delayline_wrk.size * 128
.delaytimes resw 768
.sampleoffs resb su_sample_offset.size * 256
.randseed resd 1

View File

@ -38,7 +38,7 @@ typedef struct SampleOffset {
typedef struct Synth {
struct SynthWorkspace SynthWrk;
struct DelayWorkspace DelayWrks[64]; // let's keep this as 64 for now, so the delays take 16 meg. If that's too little or too much, we can change this in future.
struct DelayWorkspace DelayWrks[128]; // let's keep this as 64 for now, so the delays take 16 meg. If that's too little or too much, we can change this in future.
unsigned short DelayTimes[768];
struct SampleOffset SampleOffsets[256];
unsigned int RandSeed;