
The first pass of my program disregarded the color data and only produced a frequency for the Y axis if the color intensity was less that half the sum of all colors. Below is an example. Note: I converted the WAV to an MP3 to conserve bandwidth, at 320kbps not much data is lost.
Audio File: ohmpie.mp3
I was really shocked to fist see the image! The only tweaking I needed to do was to use a linear scale for the frequency. Also if I selected too high an amplitude for the sin wave, clipping occurred in areas with too much black. For image above I used an amplitude of about 1000 on a scale of 0 to 32768."
You can find the full article including more examples and the code here. via Mr. Array.
No comments:
Post a Comment
Note: To reduce spam, comments for posts older than one week are not displayed until approved (usually same day).