diff options
author | dakkar <dakkar@thenautilus.net> | 2020-08-28 20:33:31 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2020-08-28 20:33:43 +0100 |
commit | 8f0edd96a87df066aa1f5547653a80146a8a79ea (patch) | |
tree | 59101d93a101a4ce6233494469a2b53b06509b63 /src/modelli/lego-piano | |
parent | lego piano (diff) | |
download | thenautilus-8f0edd96a87df066aa1f5547653a80146a8a79ea.tar.gz thenautilus-8f0edd96a87df066aa1f5547653a80146a8a79ea.tar.bz2 thenautilus-8f0edd96a87df066aa1f5547653a80146a8a79ea.zip |
update lego-piano
Diffstat (limited to 'src/modelli/lego-piano')
-rw-r--r-- | src/modelli/lego-piano/document.en.rest.txt | 17 | ||||
-rw-r--r-- | src/modelli/lego-piano/document.it.rest.txt | 15 |
2 files changed, 21 insertions, 11 deletions
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 |