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 3622890
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:18:55+00:00 2026-05-18T23:18:55+00:00

I am writing a game that is a bit depending on the soundtrack so

  • 0

I am writing a game that is a bit depending on the soundtrack so I want to read mp3 file and use it’s data (like the speed of music, beat and stuff). Is there any class (preferably) I could use or article that would cover everything about mp3 reading (from checking if it’s an mp3 to actual decoding)? It’s OK if I have to do different calculations to find the rhythm and stuff, I just wanna decode file as I don’t know the algorithm (and don’t know if it’s complicated or not).

  • 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-18T23:18:56+00:00Added an answer on May 18, 2026 at 11:18 pm

    Yes, its complicated. MP3s are the typical lossy DCT compression scheme more or less. The process is similar to JPEG.

    Writing an mp3 decoder and encoder is a project in itself.

    Encode

    Quantize -> DCT Transform -> Entropy Encode -> Store

    Decode

    Entropy Decode -> IDCT -> Dequantize -> play

    I suggest FMOD its widely accepted and used in the gaming community.

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

Sidebar

Related Questions

In a game that I am writing, I use a 2D vector class which
I'm writing a javascript game library that I want to integrate with Facebook Scores.
I am writing a maze game program that looks like this: import java.util.*; import
I am writing a game server that requires connecting to a MySQL database server
I plan on writing a Java 3D game that will work both on PC
I'm currently writing my own 2D Game Engine for a game that I would
I am writing a game where the computer chooses a random number that a
I'm writing a video game in javascript on a server that saves info in
I'm writing the simple card game War for homework and now that the game
I am writing a Facebook application that is a simple board game which I

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.