Skip to content

adapt tensorflow's play_bach to micro controler. using TFlite micro. ESP32

License

Notifications You must be signed in to change notification settings

pabou38/micro_bach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micro_bach

Generates and play BACH music with Tensorflow Lite for microcontroler.

****Hardware configuration:

The microcontroler applications extends another project: https://github.com/pabou38/play_bach. This play_bach repo contains the 'larger' python application, including training (locally on desktop or colab), tensorflow lite model generation (all quantization options, edge TPU, metadata), C file generation for microcontroler (model, corpus, dictionaries), as well as static MIDI file generation, and real time music streaming to any smartphone or tablet (browser based GUI).

Developped with VScode and PlatformIO.

The src directory contains main.cpp, the TFlite micro model, and corpus/dictionaries.

A breadbord schematic (Fritzing) is also available in this repo.

Please see also https://medium.com/nerd-for-tech/play-bach-let-a-neural-network-play-for-you-part-1-596e54b1c912 for more context for this work. it is a serie of Medium post.

Screenshot Screenshot

About

adapt tensorflow's play_bach to micro controler. using TFlite micro. ESP32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published