Trying to code a song at STEM class

I tried to make the mBot play the “Happy Birthday” song but I’m no musical prodigy so I searched up some Hertz frequencies the notes play to make it sound nice. If you did the normal “play note at [insert note] for 1 second”, then it would sound deep and quiet. Some notes are off but I gave it a go. The “turn left at power 20%” is just there for some spinning; it might not work because it is very low power.

I think I need to do coding more to be able to program more things. There are other things for coding like Java, Python, and Scratch; and I want to try them one day.

Read more

Comments are closed.

Powered by WordPress.com. Theme: Baskerville 2 by Anders Noren.

Up ↑