News for hackers. Stuff that matters.

kylophone

Re:The End of Video Coding? on Wednesday June 13, 2018 @12:08PM (#17304359)
Re:Show HN: Small C Program to Convert Photos to Audio on Tuesday June 09, 2015 @02:16PM (#9687591)
Yep. The stb_image.h API is very simple. Also, because its just an #include, you don't need to worry about your users needing to figure out how to link a library.
Re:Show HN: Small C Program to Convert Photos to Audio on Tuesday June 09, 2015 @12:47PM (#9686951)

  sox -c 1 -r 48000 -b 32 -e float -t raw out.raw -n spectrogram
Re:Show HN: Small C Program to Convert Photos to Audio on Tuesday June 09, 2015 @12:18PM (#9686766)
Give it a try! The output file contains both very low frequencies and also frequencies up to Nyquist, in this case 24kHz.
Re:Show HN: Small C Program to Convert Photos to Audio on Tuesday June 09, 2015 @11:12AM (#9686377)
This turns an image into a PCM audio file. The image is visible on the spectrogram. For example, here's Ernest Hemmingway punting a beer can: http://imgur.com/QR5a8mw