diff options
author | dakkar <dakkar@thenautilus.net> | 2020-08-28 20:12:25 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2020-08-28 20:12:25 +0100 |
commit | 05b06a9363ff5a04c7b23accc0863e9faa9d1820 (patch) | |
tree | 0bb2b5aa21c861d8534a89a3ed8d59a6e532ec1b /sf-compile/static-tsf.h | |
parent | update schematics (diff) | |
parent | notes on the soundfont (diff) | |
download | lego-piano-05b06a9363ff5a04c7b23accc0863e9faa9d1820.tar.gz lego-piano-05b06a9363ff5a04c7b23accc0863e9faa9d1820.tar.bz2 lego-piano-05b06a9363ff5a04c7b23accc0863e9faa9d1820.zip |
Merge branch 'soundfont'
Diffstat (limited to 'sf-compile/static-tsf.h')
-rw-r--r-- | sf-compile/static-tsf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sf-compile/static-tsf.h b/sf-compile/static-tsf.h new file mode 100644 index 0000000..bb45da1 --- /dev/null +++ b/sf-compile/static-tsf.h @@ -0,0 +1,24 @@ +tsf_preset g_presets[] = PROGMEM { + { + .presetName= {0x50,0x69,0x61,0x6e,0x6f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, +0x0,0x0,0x0,0x0,}, + .preset= 2, + .bank= 0, + .regionNum= 4, + }, +}; +tsf theSoundFont PROGMEM = { + .presets= g_presets, + .fontSamples = 0x7fed29afd010, + .voices= 0, + .channels= 0, + .outputSamples= 0, + .presetNum= 1, + .voiceNum= 0, + .maxVoiceNum= 0, + .outputSampleSize= 0, + .voicePlayIndex= 0, + .outputmode= TSF_MONO, + .outSampleRate= 20000, + .globalGainDB= 0, +}; |