20 chase the beat

20 : chase the beat

Select Project123456789ONSW2
  • Author: Emil J Tywoniak
  • Description: Tap twice to the beat, the outputs will chase the beat. Or generate some audio noise!
  • GitHub repository
  • Clock: 1000 Hz

How it works

The second button press sets a ceiling value for the 1kHz counter. When the counter hits that value, it barrel-shifts the outputs by one bit. When the mode pin isn't asserted, the first output pin emits digital noise generated by a LFSR

How to test

Set 1kHz clock on first input. After reset, set mode to 1, tap the tap button twice within one second. The outputs should set to the beat

External hardware

A button on the tap input, a switch on the mode input, LEDs on the 8 outputs, and audio output on the first output. Don't just connect headphones or speakers directly! It could fry the circuit, you need some sort of amplifier.

IO

#InputOutput
0clko_0 - LED or noise output
1rsto_1 - LED
2tapo_2 - LED
3modeo_3 - LED
4o_4 - LED
5o_5 - LED
6o_6 - LED
7o_7 - LED