添加一些关于midi播放的项目

This commit is contained in:
terryLP
2025-03-24 14:30:56 +08:00
parent e31eb22077
commit 498b4ef13b
699 changed files with 186162 additions and 1 deletions
@@ -0,0 +1,20 @@
#ifndef __WAVETABLE__
#define __WAVETABLE__
// Sample name: CP-80 EP C4
// Sample's base frequency: 262.0848114426004 Hz
// Sample's sample rate: 32000 Hz
#define WAVETABLE_LEN 27570
#define WAVETABLE_ATTACK_LEN 26715
#define WAVETABLE_LOOP_LEN 855
#define WAVETABLE_ACTUAL_LEN 27570
#ifndef __ASSEMBLER__
#include <stdint.h>
extern const int16_t WaveTable[WAVETABLE_ACTUAL_LEN];
extern const uint16_t WaveTable_Increment[];
#else
.extern WaveTable
.extern WaveTable_Increment
#endif
#endif