← Back to context

Comment by vram22

8 years ago

writeln(chr(7)) ?

or something more (e.g. playing different frequencies to sound like the happy birthday song)?

Related, and good fun for kids of all ages (first did something like this on my earliest home computer [1]):

Play the piano on your computer with Python:

https://jugad2.blogspot.com/2013/04/play-piano-on-your-compu...

[1] Lissajous hippo, retrocomputing and the IBM PC Jr.:

https://jugad2.blogspot.com/2012/09/lissajous-hippo.html

Western classic music fans may find the comments on that post interesting - stuff about octaves and frequencies.