[VCO/Blit/Sawtooth]

- added slight random frequency deviation for more vivid sound
This commit is contained in:
2025-07-31 18:15:08 +02:00
parent bcfe5e4edd
commit 0dd21799f9
2 changed files with 14 additions and 2 deletions
+4
View File
@@ -4,6 +4,8 @@
#define _BLIT_H_
#include "synth_defs.h"
#include "noise.h"
#include "synth_types.h"
// --------------------------------------------------------------
// Types
@@ -14,6 +16,7 @@ typedef struct _sblit_common_t
synth_float_t **ppBLEP;
synth_float_t N_K[(BLIT_INTEROLATION_ORDER+0)*(BLIT_INTEROLATION_ORDER+1)];
synth_float_t K[(BLIT_INTEROLATION_ORDER+0)*(BLIT_INTEROLATION_ORDER+1)];
noise_gen_t noise;
} blit_common_t;
@@ -27,6 +30,7 @@ typedef struct _sblit_t
synth_float_t tri_x, tri_sum;
UINT32 m, tri_pol, sqr_pol1, sqr_pol2;
UINT32 freq_update_req, bufsize;
synth_float_t pm_filtered;
} blit_t;