Page 1 of 1

Paint2Sound Released

Posted: Mon Apr 09, 2012 12:19 pm
by doctornash
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

Re: Paint2Sound Released

Posted: Mon Apr 09, 2012 7:29 pm
by Zach
Wow man, this is really cool!

This could bring a whole new dimensions to making music, or at least coming up with interesting sounding samples to make music with 8)

Re: Paint2Sound Released

Posted: Tue Apr 10, 2012 2:56 am
by IdeasVacuum
...I think Paint2Sound could be very handy for the game developers. Very clever stuff - like the demo movie too. Thanks for sharing. 8)

Re: Paint2Sound Released

Posted: Tue Apr 10, 2012 12:21 pm
by electrochrisso
8) Thanks for sharing. :)

Re: Paint2Sound Released

Posted: Tue Apr 10, 2012 12:48 pm
by dobro

Re: Paint2Sound Released

Posted: Wed Apr 11, 2012 11:49 pm
by electrochrisso
Thanks for links Dobro, very interesting too. :)