Hacker News new | past | comments | ask | show | jobs | submit | kylophone's comments login


It's still block based. I was talking about new approaches which the blog post is referencing.



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.


Give it a try! The output file contains both very low frequencies and also frequencies up to Nyquist, in this case 24kHz.


I'll try to give it a shot! What are you using to generate the spectrograms?


  sox -c 1 -r 48000 -b 32 -e float -t raw out.raw -n spectrogram


please post your results!

science is fun


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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: