It is currently Wed May 22, 2013 8:04 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Paint2Sound Released
PostPosted: Mon Apr 09, 2012 12:19 pm 
Offline
User
User

Joined: Thu Oct 20, 2011 7:22 am
Posts: 65
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


Top
 Profile  
 
 Post subject: Re: Paint2Sound Released
PostPosted: Mon Apr 09, 2012 7:29 pm 
Offline
Addict
Addict

Joined: Sun Dec 12, 2010 12:36 am
Posts: 1284
Location: Waterloo, WI - USA
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)

_________________
Image


Top
 Profile  
 
 Post subject: Re: Paint2Sound Released
PostPosted: Tue Apr 10, 2012 2:56 am 
Offline
Addict
Addict

Joined: Fri Oct 23, 2009 2:33 am
Posts: 2860
Location: Wales, UK
...I think Paint2Sound could be very handy for the game developers. Very clever stuff - like the demo movie too. Thanks for sharing. 8)

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
 
 Post subject: Re: Paint2Sound Released
PostPosted: Tue Apr 10, 2012 12:21 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 731
Location: Darling River
8) Thanks for sharing. :)

_________________
PureBasic Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: Paint2Sound Released
PostPosted: Tue Apr 10, 2012 12:48 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 511
Thanks to Jeff Minter ;)
http://en.wikipedia.org/wiki/Psychedeli ... hesizer%29
and
http://en.wikipedia.org/wiki/Neon_%28li ... hesizer%29


And Me in French Forum : 16 Jan 2005
http://www.purebasic.fr/french/viewtopi ... t+des+mots

;)

and V2 here : in 2008
http://www.purebasic.fr/french/viewtopi ... t+des+mots

_________________
Image
************************************
site : http://michel.dobro.free.fr/
Videos : http://www.youtube.com/user/DobroMG
************************************


Top
 Profile  
 
 Post subject: Re: Paint2Sound Released
PostPosted: Wed Apr 11, 2012 11:49 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 731
Location: Darling River
Thanks for links Dobro, very interesting too. :)

_________________
PureBasic Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Exabot [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye