aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-08-28 20:10:54 +0100
committerdakkar <dakkar@thenautilus.net>2020-08-28 20:10:54 +0100
commit376627ba0ed1d699939a712bc47944dc2dffc869 (patch)
treea8a3cb7b4db0189a11900d73b103c30f7e642255
parentthe sound font (diff)
downloadlego-piano-376627ba0ed1d699939a712bc47944dc2dffc869.tar.gz
lego-piano-376627ba0ed1d699939a712bc47944dc2dffc869.tar.bz2
lego-piano-376627ba0ed1d699939a712bc47944dc2dffc869.zip
notes on the soundfont
-rw-r--r--esp32/README.rst14
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.