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 /esp32/README.rst | |
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 'esp32/README.rst')
-rw-r--r-- | esp32/README.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/esp32/README.rst b/esp32/README.rst new file mode 100644 index 0000000..b4d415b --- /dev/null +++ b/esp32/README.rst @@ -0,0 +1,14 @@ +The soundfount ``font.h`` has been produced in this way: + +1. download + https://github.com/schellingb/TinySoundFont/blob/master/examples/florestan-subset.sf2 +2. use something like `Polyphone + <https://www.polyphone-soundfonts.com/>`_ to remove all presets, + instruments and samples apart from the "Piano" +3. use ``perl soundfont2-to-c-header florestan-subset.sf2 font.h`` to + dump the reduced font to a C header file + +The TinySoundFont library is under the MIT license, but the font is +very probably from `Nando Florestan +<http://dev.nando.audio/pages/soundfonts.html>`_; the license for it +is unclear to me. |