Neural Beatbox (prototype)

Make some noise and record your voice!
Deep Learning models will analyze and build a drum kit, then start generating drum patterns infinitely with your sound.
This codepen was a prototype for:

https://www.neuralbeatbox.net/

Tested with Chrome only

Loading...
or Drag&Drop a sound file↓

Kick
Snare
Hi-hat closed
Hi-hat open
Tom low
Tom mid
Tom high
Clap
Rim

How does it work?

Convolutional Neural Network is used to analyze and classify audio segments based on spectrograms (demo codepen) and Recurrent Neural Network(LSTM) for generating drum sequences.

Shout-out to Tero Parviainen! Rhythm generation part of this codepen is based on his amazing Neural Drum Machine

Built with magenta.js, tensorflow.js and p5.js by @naotokui_en

2020.5.25 -fixed: recording issue 2018.8.30 -added: drag&drop support
2018.8.30 -updated: model re-trained with data augmentation
2018.8.17 -fixed: audio routing. now properly using envelopes!!
2018.8.17 -fixed: duplication in drum kit. one audio segment is used only once in a drum kit
2018.8.9 -added normalization process before the classification.
2018.8.6 -initial release.