# Image to Audio, Spectrogram Player

**URL:** <https://discourse.processing.org/t/image-to-audio-spectrogram-player/44731>\
**Category:** Libraries\
**Created:** [July 8, 2024, 11:18am UTC](https://discourse.processing.org/t/image-to-audio-spectrogram-player/44731 "2024-07-08T11:18:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karmakarma](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/karmakarma/32/19757_2.png) [@karmakarma](https://discourse.processing.org/u/karmakarma)\
**Post date:** [July 8, 2024, 11:18am UTC](https://discourse.processing.org/t/image-to-audio-spectrogram-player/44731/1 "2024-07-08T11:18:00Z")

</div>

dear all,

i’m aiming at doing a Processing version of this: [Image to Audio, Spectrogram Player](https://nsspot.herokuapp.com/imagetoaudio/)

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. 😛 [Windowlicker - Wikipedia](https://en.wikipedia.org/wiki/Windowlicker)

thx!
