Home
Great and Timeless 21st Century Literature - More fresh goodies from the coding department [entries|archive|friends|userinfo]
Acoustic Savant

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

More fresh goodies from the coding department [Jul. 18th, 2006|08:49 pm]
Previous Entry Add to Memories Tell a Friend Next Entry
[mood | accomplished]



See the piccy above? (Of course you do, you just can't see anything else anymore because you've just been blinded, hur hur hur.) It's a graph of the spectral energy of an entire song. Actually it goes out quite a bit farther to the right, but when you get into extreme highs you're actually dealing with a large number of bands each containing a very small amount of energy, so this is the interesting end of the picture. The "ugly wallpaper" is actually a color coding so you can see exactly what frequency every one-pixel-wide band is at without having to print really tiny numbers. That said, I think I'll still make it display some tiny numbers at significant peaks and valleys. That will be a little tedious to code, but make it less tedious to read the graph.

The red area is the peaks, the yellow area is the median, and the green area is everything below the median. Notice how low the yellow part is: it means any given band is actually really quiet at least half the time, even though this is a very loud song overall (King Crimson's Happy With What You Have To Be Happy With).

Even though the peaks are jagged, if you relax your eyes enough you can see a pretty smooth overall curve. I'm hoping that by looking at graphs of my own recordings versus other people's recordings, I'll be able to take some of the guesswork out of mastering. I've already toyed with mapping a spectrum from one song to another, and it's promising, but it's not the whole answer.

In other news, it's dropped into the frosty 80s today, and everyone is wearing sweat jackets. BRRRR!!!
linkReply

Advertisement