Comment by markatkinson
8 years ago
I made a colourful ASCII birthday cake in Pascal that beeped happy birthday at that age. Still one of my proudest programming moments.
8 years ago
I made a colourful ASCII birthday cake in Pascal that beeped happy birthday at that age. Still one of my proudest programming moments.
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.