Turns an image into an audio file. Image is visible on the spectrogram.
Turns an image into an audio file. Image is visible on the spectrogram.
Turns an image into an audio file. Image is visible on the spectrogram.
git clone https://github.com/kylophone/spectrophoto
cd spectrophoto
gcc ./spectrophoto.c -o spectrophoto -std=c99 -lm -O3 -Wallspectrophoto in.jpg out.pcm 10This will generate a 48k/32-bit floating point raw PCM file. You can listen to it with SoX like this:
play -c 1 -r 48000 -b 32 -e float -t raw out.pcm
Generating a spectrogram with SoX looks like this:
sox -c 1 -r 48000 -b 32 -e float -t raw out.pcm -n spectrogram
No open issues yet, or sync has not completed.