Image to Audio, Spectrogram Player

dear all,

i’m aiming at doing a Processing version of this: Image to Audio, Spectrogram Player

basically what I want is to encode an image generated in Processing in an audio file, and make Processing itself play this audio file in realtime.

the biggest issue so far for me is making Processing generate the audio file from its spectrogram. so far I have not found any library or code sample available that could support me. does anyone know how that could be done in Processing?

side note: found out during research that Aphex Twin’s Windonclicker song has the image of a spiral encoded by the end of it. :stuck_out_tongue: Windowlicker - Wikipedia