This commit is contained in:
2024-06-01 17:09:23 +03:00
parent 4c7c2e863b
commit 8c1fe50342
13 changed files with 1977 additions and 424 deletions

View File

@ -1,16 +1,16 @@
// some useful song defines for 4klang
#define SAMPLE_RATE 44100
#define BPM 145.000000
#define MAX_INSTRUMENTS 5
#define MAX_PATTERNS 72
#define PATTERN_SIZE_SHIFT 4
#define BPM 165.000000
#define MAX_INSTRUMENTS 6
#define MAX_PATTERNS 25
#define PATTERN_SIZE_SHIFT 5
#define PATTERN_SIZE (1 << PATTERN_SIZE_SHIFT)
#define MAX_TICKS (MAX_PATTERNS*PATTERN_SIZE)
#define SAMPLES_PER_TICK 4562
#define SAMPLES_PER_TICK 4009
#define MAX_SAMPLES (SAMPLES_PER_TICK*MAX_TICKS)
#define POLYPHONY 1
#define INTEGER_16BIT
#define SAMPLE_TYPE short
#define FLOAT_32BIT
#define SAMPLE_TYPE float
#define WINDOWS_OBJECT