7 #ifndef COMMON_H_INCLUDED
8 #define COMMON_H_INCLUDED 1
20 #define ASSERT(cond) ((void*) 0)
27 #define SAMPLING_RATE 40000
28 #define DT (1.0 / SAMPLING_RATE)
30 #define NUM_KEYS 16 // 17? 34? 40?
31 #define NUM_VOICE_BITS 3
32 #define NUM_VOICES (1 << NUM_VOICE_BITS)
37 #define KEYDOWN_COUNT 5
48 #endif // COMMON_H_INCLUDED
int32_t mult_unsigned_signed(uint32_t x, int32_t y)
int32_t mult_signed(int32_t x, int32_t y)
int32_t mult_unsigned(uint32_t x, uint32_t y)