Is there any Algorithm for converting Image of sound to sound?
algorithm, audio, image
Solution
Basic answer is yes.. sort of. But not from that exact picture. That is because that picture is an extremely time-compressed waveform of the sound. There are likely sound waves missing in that picture hidden between 1 pixel and the next.
In case you're wondering the algorithm is:
sound_amplitude=((pixel_height-(image_height/2))/image_height)*sound_resolution
where sound_resolution is 128 if 8 bit and 32768 if 16 bit.
But, as I said, that image is too compressed. You have multiple pixels squished into a single vertical line. You can't correctly extract pixel_height form that.
Problem
So I have an image like this (source: bytearray.org) Is there any algorithm to extract (get as PCM) sound from which was created that image?