Skip to content

M5Stack / M5Core2 demo animating 16 metronomes

License

Notifications You must be signed in to change notification settings

tobozo/M5Core2-SoundBouncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5Core2-SoundBouncer

Pendulum Wave

What is it?

An implementation of Project JDM's tempo phasing demo using 16 metronomes.

Hardware requirement:

  • M5Core2

Platform compatibility:

  • Plaformio
  • Arduino

Libraries dependencies:

Credits:

This project was heavily inspired by a video from Project JDM:

Custom tones

The current tone was generated with SoX:

sox -V -r 44100 -n -b 16 -c 1 blip.wav synth 1 sin 500 vol -8dB

The sound data was produced from the wav file using xxd utility:

xxd -i blip.wav > blip.h

The data is adressed as a 16bit signed array, with an offset of 44 bytes (PCM wav header size):

.sample      = (int16_t*)&blip[44],
.length      = (blip_len-44)/2,

Roadmap

  • Generate tones from ML_Oscillator instead of using piano sample
  • Add controls for bounces, bullets, colors, etc