Music Box

Post your projects here
Post Reply
pigraham
Posts: 65
Joined: Sat Aug 15, 2015 1:41 pm

Music Box

Post by pigraham » Thu Aug 27, 2015 12:51 pm

No iPod this, but it plays tones in sequence that resemble music!
Just type the notes (cdefgab) into the string sprite. Space, or most other characters, will introduce a pause. Notes are fixed length, but the project could be extended to have programmable length notes.
This is a combination of my string sequencer and SoundBug projects.
Blockly code here http://www.codebug.co.uk/create/codebug/477/musicbox/
Video here https://youtu.be/RCoyVlenkmY
The leg output feeds directly into the audio jack of a "hamburger speaker". Will also drive a piezo buzzer / transducer.

BMS Doug
Posts: 61
Joined: Wed Aug 26, 2015 8:54 am
Contact:

Re: Music Box

Post by BMS Doug » Thu Aug 27, 2015 1:11 pm

That's great!

Post Reply