An easy objective for today. Using your favorite programming language create a program that makes a sound. For bonus points make multiple different tonal sounds.
An easy objective for today. Using your favorite programming language create a program that makes a sound. For bonus points make multiple different tonal sounds.
Permalink: http://problemotd.com/problem/sound-off/
Content curated by @MaxBurstein
Comments:
Johnathan - 10 years, 4 months ago
I tried to make a GUI for it with tkinter, but still don't have a good grasp on making them yet.
reply permalink
Johnathan - 10 years, 4 months ago
Also be careful the sound could be kinda loud from this if you have it turned up and try running it.
reply permalink
Cha0z97 - 10 years, 4 months ago
This weekend I came across this little gem:
main(t){ for(t=0;;t++)putchar( t*((t>>12|t>>8)&63&t>>4) );}
Compile as noize1 ./noize | padsp tee /dev/audio > /dev/null
credits go to viznut
reply permalink