Show HN: Small C Program to Convert Photos to Audio
1–10 of 18 posts
Re: Show HN: Small C Program to Convert Photos to Audio
#2Re: Show HN: Small C Program to Convert Photos to Audio
#3I suspect there will be content lost at the bottom and the top of the image depending on the frequency response of the microphone/speaker.
Re: Show HN: Small C Program to Convert Photos to Audio
#4Very interesting. I wonder how it would cope with some noise -- for example playing the resultant file and recording it with a microphone for example. I suspect there will be content lost at the bottom and the top of the image depending on the frequency response of the microphone/speaker.
Edit: depending on the time alignment / phase response of the speakers, you might see the low frequency parts of the image get distorted to the right.
Re: Show HN: Small C Program to Convert Photos to Audio
#5Very interesting. I wonder how it would cope with some noise -- for example playing the resultant file and recording it with a microphone for example. I suspect there will be content lost at the bottom and the top of the image depending on the frequency response of the microphone/speaker.
I would expect to see the frequency response of the speaker + mic combination show up as darker and lighter horizontal bands in the image (since these spectrograms are plotted with frequency on the y axis). It might look really cool! Edit: depending on the time alignment / phase response of the speakers, you might see the low frequency parts of the image get distorted to the right.
Re: Show HN: Small C Program to Convert Photos to Audio
#6Earlier quoted context omitted.
I would expect to see the frequency response of the speaker + mic combination show up as darker and lighter horizontal bands in the image (since these spectrograms are plotted with frequency on the y axis). It might look really cool! Edit: depending on the time alignment / phase response of the speakers, you might see the low frequency parts of the image get distorted to the right.
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
#7Re: Show HN: Small C Program to Convert Photos to Audio
#8Earlier quoted context omitted.
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 spectrogramRe: Show HN: Small C Program to Convert Photos to Audio
#9https://www.google.de/search?q=Aphex+Twin+Spectrograph&tbm=i...