Hello Guest

Using sampled MP3s to render Background

  • 1 Replies
  • 4035 Views
Using sampled MP3s to render Background
« on: November 28, 2008, 14:34:49 »
Hi,

 I want to make a 2d shooter that uses information from an MP3 to generate the background.

The idea i have is to sample the music, store this information in another file and then use this file to render the background of the game (Sort of a music visualisation).


However, I'm not sure if this is the best idea and I have no idea how to do it.

Has anyone got any ideas?

I looked at using javax.sound.sampled, but i'm not sure how to store the information sampled as a seperate files.

If anyone could give me a few tips or point me in the direction of some good tutorials, it would be much appreciated.

*

Offline Matzon

  • *****
  • 2242
Re: Using sampled MP3s to render Background
« Reply #1 on: November 28, 2008, 15:53:49 »
use Ogg Vorbis instead. MP3 is patented.
http://www.javagaming.org/index.php?topic=18766.0