aboutsummaryrefslogtreecommitdiff
path: root/esp32/README.rst
blob: 46bc3211e47781b2757e5ab669ca04158e7608f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.
 
To build the code, you'll need `makeEspArduino
<https://github.com/plerup/makeEspArduino>`_ and `arduino-esp32
<https://github.com/espressif/arduino-esp32>`_ (``esp32s2`` branch);
edit the ``Makefile`` in this directory to point at wherever you
checked those out