diff options
Diffstat (limited to 'src/audio/synth.h')
| -rw-r--r-- | src/audio/synth.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/audio/synth.h b/src/audio/synth.h index 77b1878..cb0d1df 100644 --- a/src/audio/synth.h +++ b/src/audio/synth.h @@ -17,8 +17,9 @@ // - With caching: MAX_SPECTROGRAMS = 32 provides 2.3x headroom // // Memory cost: 32 slots × 48 bytes = 1.5KB (down from 12KB with 256 slots) -#define MAX_VOICES 48 // Per tracker_compiler: required=24, recommended=48 -#define MAX_SPECTROGRAMS 32 // Current track: 14 unique, 32 provides comfortable headroom +#define MAX_VOICES 48 // Per tracker_compiler: required=24, recommended=48 +#define MAX_SPECTROGRAMS \ + 32 // Current track: 14 unique, 32 provides comfortable headroom struct Spectrogram { const float* spectral_data_a; // Front buffer @@ -39,7 +40,8 @@ void synth_commit_update(int spectrogram_id); void synth_trigger_voice(int spectrogram_id, float volume, float pan); void synth_render(float* output_buffer, int num_frames); -void synth_set_tempo_scale(float tempo_scale); // Set playback speed (1.0 = normal) +void synth_set_tempo_scale( + float tempo_scale); // Set playback speed (1.0 = normal) int synth_get_active_voice_count(); float synth_get_output_peak(); |
