Paint2Sound Released
Posted: Mon Apr 09, 2012 12:19 pm
Paint2Sound is a PB application for converting any .jpg or .bmp image or any picture you care to draw/paint, into a soundscape.
The principle is: each pixel row represents a frequency band. The application synthesizes sine waves for each pixel row with an instantaneous amplitude determined by the brightness of each pixel in the pixel row, and then sums together all the sine waves. User controls are provided for various parameters like sample rate, sound duration, frequency distribution across the pixel rows and the overall level in the mix of each sine wave.
I have provided the application source in the .zip file. Also in the .zip file are curvegadget.pbi and portaudio.pb and its associated dlls (the curvegadget.pbi and portaudio.pb are both includes in paint2soundv101.pb). Throw them all into a dir and execute paint2soundv101.pb.
Have tried it only Windows only. Also in the .zip is a compiled exe (if you just want to run it).
The application demonstrates quite a few things like additive synthesis, drawing/painting, synchronization of picture scanning with audio playback, how the curvegadget can be used, use of cubic bezier algorithm for audio processing, and so on
http://www.mediafire.com/?42bmg4ta32usut6
Here's a demo video I posted:
http://www.youtube.com/watch?v=GqAPurzHLXU
The principle is: each pixel row represents a frequency band. The application synthesizes sine waves for each pixel row with an instantaneous amplitude determined by the brightness of each pixel in the pixel row, and then sums together all the sine waves. User controls are provided for various parameters like sample rate, sound duration, frequency distribution across the pixel rows and the overall level in the mix of each sine wave.
I have provided the application source in the .zip file. Also in the .zip file are curvegadget.pbi and portaudio.pb and its associated dlls (the curvegadget.pbi and portaudio.pb are both includes in paint2soundv101.pb). Throw them all into a dir and execute paint2soundv101.pb.
Have tried it only Windows only. Also in the .zip is a compiled exe (if you just want to run it).
The application demonstrates quite a few things like additive synthesis, drawing/painting, synchronization of picture scanning with audio playback, how the curvegadget can be used, use of cubic bezier algorithm for audio processing, and so on
http://www.mediafire.com/?42bmg4ta32usut6
Here's a demo video I posted:
http://www.youtube.com/watch?v=GqAPurzHLXU