I really like the Freedrum project and decide to do it on my own. Below is a step-by-step guide, modified from the VO in the video. By the way, VO is an AI voice, made by Amazon Polly, which speaks in an English accent better than mine.
You will need:
- Curie Nano board (Arduino 101 can also do the trick, but it is too big for this project)
- 3.7V lithium battery
- SD card
- SD card reader
- A drum stick
- Solder the pin header to the Curie Nano.
- Insert the SD card into the SD card module.
- Connect the SD card module to the Curie Nano.
- Connect lithium battery to the Curie Nano.
- Put them on the drum stick with Velcro.
- Do some motions to let Curie identify.
Data from Curie IMU will be automatically stored into the SD card.
- Remove the SD card.
- Insert the SD card into the SD card reader.
- Insert it into the computer.
- Open the motions data stored on the SD card with excel, generate a line graph, truncate the unstable waveform of the front end and the smooth line between each two waveforms, and the last invalid data.
- Save the file!
The pre-processed data will be put into QriNeuronPipeline - a feature extraction software by Maker Collider. Then generate several new CSV files into the SD card.
Unplug the SD card and insert the SD card module again. Curie will read the data from SD card and start learning!
- Open the GarageBand application on iPad or iPhone.
- Choose Bluetooth MIDI Devices Item in Advanced Settings, and choose Curie to pair.
Now, you are ready to play the "Air" Drum Kit!
Enjoy the beat!