summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--additions/modelli/lego-piano/soundfont.mp4bin0 -> 18120104 bytes
-rw-r--r--src/modelli/lego-piano/document.en.rest.txt17
-rw-r--r--src/modelli/lego-piano/document.it.rest.txt15
3 files changed, 21 insertions, 11 deletions
diff --git a/additions/modelli/lego-piano/soundfont.mp4 b/additions/modelli/lego-piano/soundfont.mp4
new file mode 100644
index 0000000..1659a82
--- /dev/null
+++ b/additions/modelli/lego-piano/soundfont.mp4
Binary files differ
diff --git a/src/modelli/lego-piano/document.en.rest.txt b/src/modelli/lego-piano/document.en.rest.txt
index 309d5c6..4b7a0d0 100644
--- a/src/modelli/lego-piano/document.en.rest.txt
+++ b/src/modelli/lego-piano/document.en.rest.txt
@@ -249,10 +249,15 @@ And, finally, the whole assembled set:
:width: 100%
:type: video/mp4
-At the moment the program can't really deal with more than one key
-pressed at a time, as you may have noticed at the end of that last
-video. The next step is to use a soundfont library, probably
-`TinySoundFount <https://github.com/schellingb/TinySoundFont>`_ or `the
+That's great, but it sounds nothing like a piano. It took about two
+days of experimentation, but I finally managed to get the ESP32 to use
+a soundfont, via the `TinySoundFount library
+<https://github.com/schellingb/TinySoundFont>`_ (actually `the
ESP-optimised version
-<https://github.com/earlephilhower/ESP8266Audio/tree/master/src/libtinysoundfont>`_,
-which should have no problems mixing multiple notes.
+<https://github.com/earlephilhower/ESP8266Audio/tree/master/src/libtinysoundfont>`_
+with `a patch
+<https://github.com/dakkar/ESP8266Audio/commit/9df0586bdf7252bf635ee41fe3778105c6fefa1e>`_):
+
+.. video:: soundfont.mp4
+ :width: 100%
+ :type: video/mp4
diff --git a/src/modelli/lego-piano/document.it.rest.txt b/src/modelli/lego-piano/document.it.rest.txt
index a6c0ea9..9491058 100644
--- a/src/modelli/lego-piano/document.it.rest.txt
+++ b/src/modelli/lego-piano/document.it.rest.txt
@@ -248,10 +248,15 @@ E, finalmente, il risultato assemblato:
:width: 100%
:type: video/mp4
-Al momento il programma non sa gestire più di un tasto premuto alla
-volta, come probabilmente avete notato alla fine dell'ultimo filmato.
-Il passo successivo è di usare una libreria soundfont, probabilmente
-`TinySoundFount <https://github.com/schellingb/TinySoundFont>`_ o `la
+Tutto bello, ma non suona nemmeno un po' come un pianoforte. Mi ci son
+voluti due giorni di esperimenti, ma alla fine son riuscito a far
+usare al ESP32 un soundfont, tramite `la libreria TinySoundFount
+<https://github.com/schellingb/TinySoundFont>`_ (in effetti, `la
versione ottimizzata per ESP
<https://github.com/earlephilhower/ESP8266Audio/tree/master/src/libtinysoundfont>`_,
-che dovrebbe riuscire a mixare note multiple.
+con `una patch
+<https://github.com/dakkar/ESP8266Audio/commit/9df0586bdf7252bf635ee41fe3778105c6fefa1e>`_):
+
+.. video:: soundfont.mp4
+ :width: 100%
+ :type: video/mp4