See your music. Hear your light.
AlbumViz is an interactive tool that transforms sound into color using real audio data and scientific mapping. Whether you enter an album name or a YouTube music video, AlbumViz analyzes the full frequency spectrum of the audio — from sub-bass at 20 Hz to piercing highs at 20,000 Hz — and converts it into visible light wavelengths between 400 nm (violet) and 700 nm (red).
Music is more than just sound—it's an experience that can evoke powerful emotions, memories, and even visual imagery. AlbumViz bridges the gap between hearing and seeing by translating the unique frequency patterns of your favorite songs into vibrant color gradients. This process not only creates beautiful visual art but also provides a new way to understand and appreciate the structure of music.
For musicians, AlbumViz offers a fresh perspective on composition and arrangement, revealing the hidden architecture of sound. For educators, it serves as a valuable teaching tool to demonstrate the relationship between physics, math, and art. And for music lovers, it’s a fun and engaging way to explore the songs you love in a whole new light—literally!
Each visualization is unique, reflecting the dynamic range and complexity of the audio. From the deep, pulsing bass of electronic music to the soaring highs of a violin solo, AlbumViz captures it all and presents it as a continuous spectrum of color. This not only makes for stunning visuals but also helps you "see" the energy and emotion embedded in every track.
AlbumViz uses advanced audio analysis techniques to break down your music into its core components. The process starts by dividing the audio into 1,000 segments, regardless of the song's length. For each segment, the dominant frequency is detected using digital signal processing algorithms. This frequency is then mapped to a specific wavelength of visible light using a logarithmic scale, ensuring that the full range of human hearing is represented proportionally in the color spectrum.
Our ears perceive sound logarithmically, meaning we’re more sensitive to ratios of frequencies than to absolute differences. AlbumViz reflects this by converting the logarithm of frequency into visible color.
This approach is grounded in both psychoacoustics and physics. The logarithmic mapping ensures that low and high frequencies are represented fairly, mimicking the way our ears naturally interpret sound. The result is a visualization that is both scientifically accurate and aesthetically pleasing.
Here’s the formula used:
$$\lambda = 700 - 300 \times \frac{\log_{10}(f) - \log_{10}(20)}{\log_{10}(20000) - \log_{10}(20)}$$
\(\lambda\)
: Wavelength in nanometers (400–700 nm)f
: Frequency in Hz (20–20,000 Hz)By applying this formula, AlbumViz ensures that every nuance in your music is captured and translated into a corresponding color, creating a one-of-a-kind visual fingerprint for each track.
Whether you want to create a unique piece of art, analyze the structure of your favorite songs, or simply have fun exploring the intersection of music and color, AlbumViz has you covered.
AlbumViz is available as a free and open-source project. You can download the latest version directly from GitHub. The application is lightweight and runs on most modern computers without the need for an internet connection.
Want to see how it works under the hood or contribute to the project? Check out the source code on GitHub. Contributions, bug reports, and feature requests are always welcome!
The application is designed to be user-friendly, with clear prompts and helpful error messages. Even if you’re new to audio analysis or programming, you’ll find it easy to get started. For advanced users, the codebase is well-documented and modular, making it simple to add new features or customize the visualization process.
Curious about what AlbumViz can do? Here’s what the user interface looks like, along with a sample visualization generated from a popular album. Notice how the colors shift smoothly, reflecting the changing frequencies throughout the song.
Each visualization is unique to the audio input, making it a perfect gift or conversation piece for music and science enthusiasts.
Your privacy is important. AlbumViz runs completely offline and does not collect, transmit, or store any data. All processing is done locally on your device, ensuring that your music and personal information remain secure and private.
This makes AlbumViz ideal for use in classrooms, studios, and at home, without worrying about data privacy or internet connectivity.
AlbumViz is an open-source project, and we welcome contributions from the community. If you have ideas for new features, want to help improve the code, or simply want to share your visualizations, join us on GitHub! Together, we can make music more colorful for everyone.
For questions, feedback, or support, feel free to reach out via the contact page or open an issue on GitHub.