Oscillofy
February 16th, 2008
After being inspired by this post, I decided to hack together Oscillofy; a Ruby script that can turn an image into sound. The sound looks like the image when it is played back into an oscilloscope (like Goldwave’s XY plot).
A few caveats:
- If the pixel is not white, it is plotted onto the oscilloscope. So for best results, make sure the image is black and white.
- Images with a resolution of 255×255 work best. The image will be resized (and stretched) if necessary.
- The output PCM is 8-bit unsigned.
So knock yourself out. Sure this is a bit of a departure from the usual stuff I post here but hey, I needed to share it.
hey the oscillofy link is down
could you pleeeeeaase fix it? thx
Done and done. Sorry about that, my server seems to have a problem with .rb.txt files. So I zipped it.
Oscillofy looks really cool , but i was not able to donwload it , can you please fix it? or sent it to my email?
It looks like it’s working from here, maybe give it another shot.