sample testailuja

This commit is contained in:
2024-06-04 17:07:01 +03:00
parent 1c6b4cdc7e
commit 878e57b057
16 changed files with 1346 additions and 599 deletions

View File

@ -3,14 +3,14 @@
#define SU_RENDER_H
#define SU_CHANNEL_COUNT 2
#define SU_LENGTH_IN_SAMPLES 3335488
#define SU_LENGTH_IN_SAMPLES 1550944
#define SU_BUFFER_LENGTH (SU_LENGTH_IN_SAMPLES*SU_CHANNEL_COUNT)
#define SU_SAMPLE_RATE 44100
#define SU_BPM 165
#define SU_BPM 116
#define SU_ROWS_PER_BEAT 4
#define SU_ROWS_PER_PATTERN 16
#define SU_LENGTH_IN_PATTERNS 52
#define SU_LENGTH_IN_PATTERNS 17
#define SU_LENGTH_IN_ROWS (SU_LENGTH_IN_PATTERNS*SU_PATTERN_SIZE)
#define SU_SAMPLES_PER_ROW (SU_SAMPLE_RATE*60/(SU_BPM*SU_ROWS_PER_BEAT))
@ -34,6 +34,8 @@ typedef short SUsample;
extern "C" {
#endif
void SU_CALLCONV su_render_song(SUsample *buffer);
void SU_CALLCONV su_load_gmdls();
#define SU_LOAD_GMDLS
#ifdef __cplusplus