LBRY Block Explorer

LBRY Claims • arduino-synthesizer-plays-westminster

c5112f529214a5ba5d5e7a9b6af968555dc365f5

Published By
Created On
1 Sep 2021 17:02:05 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Arduino Synthesizer plays Westminster Chime
You may already know the tone() function from the Arduino Library. But this simply spits out a square wave and so it sounds rather boring.
But with a simple trick we can generate any waveform with an Arduino and a small circuitry, and with this even imitate musical instruments!

In this project, I use the Timer/Counter 2 of the Atmega 328 MCU to generate a PWM signal. After low-pass filtering with some resistors and capacitors, we get either a sine, sawtooth or rectangle wave with programmable frequency and duty cycle. By modulating with an ADSR Envelope, it is even possible to imitate any musical instrument and play a small tune!

You can download the schematic and example code from here:
https://create.arduino.cc/projecthub/michalin70/arduino-as-simple-synthesizer-for-music-2aa48f

Support this channel on Patreon and get updates about ongoing projects and preview videos!
https://www.patreon.com/docvolt

Donations:
https://paypal.me/docvolt
...
https://www.youtube.com/watch?v=Ev3Xti8TeD8
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
HOW T
Controlling
VIDEO
TAIL
Controlling
VIDEO
COMPU
Controlling
VIDEO
MINI-
Controlling
VIDEO
AI WR
Controlling
VIDEO
BREAD
Controlling
VIDEO
MAKE
VIDEO
CHANN
Controlling
VIDEO
I BUI