Questions tagged [mp3]

MPEG-1 or MPEG-2 Audio Layer III, more commonly referred to as MP3, is a patented digital audio encoding format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard of digital audio compression for the transfer and playback of music on digital audio players.

The use in MP3 of a lossy compression algorithm is designed to greatly reduce the amount of data required to represent the audio recording and still sound like a faithful reproduction of the original uncompressed audio for most listeners. For example: An MP3 file that is created using the setting of 128 kbit/s will result in a file that is about 11 times smaller than the CD file created from the original audio source. An MP3 file can also be constructed at higher or lower bit rates, with higher or lower resulting quality.

The compression works by reducing accuracy of certain parts of sound that are considered to be beyond the auditory resolution ability of most people. This method is commonly referred to as perceptual coding. It uses psychoacoustic models to discard or reduce precision of components less audible to human hearing, and then records the remaining information in an efficient manner.

Further information and deeper analysis: MP3 on wikipedia

4559 questions
2
votes
1 answer

convert caf on iphone or on server for sharing

I have an app that records short sounds (as caf files) and uploads them to a server. I want to be able to share these sounds so they need to be in a more ubiquitous format like mp3. I've got a linux server. Is there anything I can use either on…
Ward
  • 3,318
  • 3
  • 30
  • 50
2
votes
2 answers

Determine if an audio file is VBR

I'm trying to determine whether an audio file uses VBR or not in a Cocoa app (OS X 10.8+). AVFoundation doesn't seem to be able to answer the question at all, and AudioToolbox is lying to me. The code below adamantly claims that any mp3 file I throw…
fzwo
  • 9,842
  • 3
  • 37
  • 57
2
votes
0 answers

Playing a Sound at a Specified Time During a CountDown Timer (before it finishes)?

I would like to tell the Home Activity to play a mp3 sound when there is 20 minutes left in the CountDown Timer and being relatively new at Eclipse I just can't figure it out, everything I have tried just doesn't work. public class Home extends…
2
votes
2 answers

How can I load an MP3 or similar music file for display and analysis in wxWidgets?

I'm developing a GUI in wxPython which allows a user to generate sequences of colours for some toys I'm building. Part of the program needs to load an MP3 (and potentially other formats further down the line) and display it to the user. That should…
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
2
votes
1 answer

Play mp3 sound files in asterisk

I have installed asterisk on my centos system but asterisk only supports wav,gsm but not mp3 .how can i play mp3 sound file in asterisk I have searched a bit and found that to play mp3 we have to install format_mp3.so module and mpg123 I have…
deogratias
  • 472
  • 2
  • 8
  • 23
2
votes
1 answer

PHP MP3 extract volume peaks

say you have a mp3 file. Is it possible to extract the volume level(set between 0 and 100) for every byte in a mp3 file using PHP ? This is what I already have, it might help you function peaks($filename) { if (!file_exists($filename)) { …
2
votes
2 answers

MP3 audio not working in firefox browser / android firefox browser

I am using Html5 audio tag in my site and referring only mp3 audio format(not ogg), its working fine in firefox browser from a test server but when same code deployed on live site then its not playing the audio in firefox browser.
Abdulla khan
  • 758
  • 5
  • 11
2
votes
3 answers

Any website with an api that serves mp3 songs(or just portions) for free?

As a homework i need to make a webapp that will play an mp3 file and the user has to guess the name of the song or the band in a certain time. My question is where can i get this songs? Is there any website that offers mp3's and an api from which i…
daniels
  • 18,416
  • 31
  • 103
  • 173
2
votes
3 answers

How to decode MP3 files? How MP3 files stores sounds?

I'm not talking about any concrete language here. I want to analyse the MP3 file, so I want to get some information about sound from specific second (i don't know, tone/height/frequency of sound). How those data is stored in single file?
Piotrek
  • 10,919
  • 18
  • 73
  • 136
2
votes
2 answers

How to call resources with string name in android?

I'm now trying to call the resources( in my application they are mp3 files and images). For the mp3 file part, my code goes like this ( not working obviously!) if(i==1) { hoho= MediaPlayer.create(getApplicationContext(),…
Sungpah Lee
  • 1,003
  • 1
  • 13
  • 31
2
votes
1 answer

How can a silverlight app download and play an mp3 file from a URL?

I have a small Silverlight app which downloads all of the images and text it needs from a URL, like this: if (dataItem.Kind == DataItemKind.BitmapImage) { WebClient webClientBitmapImageLoader = new WebClient(); …
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
2
votes
0 answers

JavaFX mp3 playback Ubuntu 14.04

I am trying to play mp3 file in java program using javafx. I installed dependencies libavcodec53 and libavformat53 mentioned here. I used following code public void play(String path_to_song){ JFXPanel fxPanel = new JFXPanel(); …
tikend
  • 205
  • 1
  • 3
  • 10
2
votes
0 answers

NDK support to decode mp3 to wav in buffers in android

I am making an app in which I need to decode an mp3, perform some filtering, and then play it out using AudioTrack. Right now I am using Jlayer. My code looks something like this: private void writeintoBuffer(){ Decoder decoder= new Decoder(); …
2
votes
2 answers

Is there any free g729 or g711 converter?

I need converter to convert G729 or G711 files to wav,wma,mp3 or any other format witch can play for example Windows Media Player.
Noro
  • 1,643
  • 5
  • 22
  • 38
2
votes
0 answers

MP3 Wont Play In IE (Outputing Via PHP)

I all I'm attempting to play an audio file in a website and I've written a script to retrieve the mp3 file without showing the URL. So far my PHP script works fine in Fire Fox, Chrome, but not in IE. Whenever I attempt to play the audio directly…
Ajm113
  • 320
  • 1
  • 13