Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7677449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:25:30+00:00 2026-05-31T17:25:30+00:00

I’m attempting to write a music visualizer. I’ve looked into it and sound.sampled looks

  • 0

I’m attempting to write a music visualizer. I’ve looked into it and sound.sampled looks like a good library for reading the data. However, the jdk can only load .wav files. So I’m looking for a flexible addon that’ll enable me to load .mp3.

The classes I’ll be using are here:
http://uk.answers.yahoo.com/question/index?qid=20100125081723AAdnYzf

P.S. Lemme know if you’ve attempted music visualizers before.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T17:25:31+00:00Added an answer on May 31, 2026 at 5:25 pm

    However, the jdk..

    It is not the JDK that matters, but the JRE.

    ..can only load .wav files. ..

    It can load (a subset of) the types returned by AudioSystem.getAudioFileTypes(). If you check the docs for AudioFileFormat.Type in Java 7, you’ll see a list of 5 types, but the ultimate check is what the JRE returns.

    .. So I’m looking for a flexible addon that’ll enable me to load .mp3.

    The mp3plugin.jar of the JMF can be added to the run-time class-path to add support for MP3 decoding to JavaSound.

    Lemme know if you’ve attempted music visualizers before.

    Music Visualizer

    Yup 😉


    I made this wonderful starry background and thought the stars should twinkle and glow based on the music. Do you think it’s possible to detect the odd instrument that’s playing? Like drums or strings?

    I recently broke my own player and am busy with other things, as such I’m using WinAmp to play my favorite tracks and watching some of the (300+) visualizations WinAmp offers. The reason I mention that is that my traces are of two types, ‘oscilloscope’ style & a ‘Lissajous’ style. Check the YouYube site linked above for examples of each.

    WinAmp OTOH offers a plethora of seemingly quite different styles, some of which are closely tied to the music visually, and others which are entirely unrelated (just pretty animations in their own right). I figure the ones that have a linkage to the music (beyond representing the trace itself – like my software), are basing their graphics on the volume of the signal, which can then sometimes represent a beat.

    The correct way to calculate the volume is to come up with a number in decibels (dB), but in my software I implemented a simpler algorithm to detect the RMS of each channel. You can see those volume bars in a Rasputina Track.

    Visualization with RMS levels

    They are not especially clear in (the lower left/right of) that image, but watch the video & I think you’ll find they are easier to see & offer a good basis for the ‘pulsating stars’ type of effect you are after (a number to multiply a basic brightness by). To get stars to twinkle differently according to frequency (e.g. bass – low, violins – high) you’d need to look to something like spectrum analysis – a Fast Fourier Transform is one way to do that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.