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

How to play an MP3 File using Java?

Using Applet.AudioClip I'm able to play .wav files, but if I try to do that on an MP3 file, then no audio seems to get played even though no exceptions are thrown. Is there any way to play MP3s with Java, whether using Swing, Java FX, or any other…
Ali
  • 261,656
  • 265
  • 575
  • 769
2
votes
4 answers

mp3 to gsm for asterisk

In our application we allow user to upload audio file. currently we support .wav format and we use "sox" to convert the .wav file to gsm for asterisk. We would like to have mp3 support as well. Any recommendation on how to get this done ? Your help…
channa ly
  • 9,479
  • 14
  • 53
  • 86
2
votes
0 answers

How to Set Tempo/BitRate for MP3 files in iPhone sdk?

I am trying to change the tempo of the MP3 file to b saved in iPhone. I know it is streaming type audio, but is there a way to permanently reflect such a change? I am able to [musicPlayer setRate:float_value] for playing the audio with the changed…
Apple_iOS0304
  • 1,092
  • 1
  • 9
  • 19
2
votes
1 answer

FMOD how to load mp3 file with using mp3 file name as parameter in android

I've problem with loading mp3 file. when I give char array or jstring parameter to android java native method, c source file doesn't work. maybe path parameter is not working correctly. what's wrong with it? please answer to my…
choijuho
  • 75
  • 1
  • 1
  • 8
2
votes
1 answer

Changing Tempo of mp3 file in android

I want to change the tempo of mp3 files without changing the pitch. I have byte array of mp3 file , want to change its tempo and save it with that increased or decreased tempo in sdcard. I searched about it alot , people were taking about Lame…
Harsh
  • 346
  • 7
  • 19
2
votes
1 answer

Flash - mp3 encoder / flash.media.Sound delay

I'm trying to play gapless loop using mp3 file. I've read some tutorials and learned there is something like encoder / decored delay and it is possible to fill that gap with proper music data using some tools. It even worked fine, but when I'm…
synek317
  • 749
  • 2
  • 7
  • 22
2
votes
2 answers

Convert * (mp3, m4p, and the likes) to OGG via Command Line for HTML5 compatibility

What options do I have for converting MP3's to OGG on the fly using PHP? I assume the only way to do this is via the command line with an execute statement. Is this true? If so, what converters (and associated commands) would I be best off using? I…
Nicholas Yost
  • 266
  • 6
  • 15
2
votes
1 answer

Java/Android: How to get a spectrum of the MP3/wav file?

I need to draw a spectrum of MP3 (or wav) file. I know FFT method, but I don't how to access to the content of the mp3/wav file on java/android platform. I don't know how to parse mp3/wav format... Is there a framework which can do this?
JavaRunner
  • 2,455
  • 5
  • 38
  • 52
2
votes
1 answer

How to get mp3 metadata from radio stream (no icecast, no shoutcast)

As the topic says, I need to obtain the metadata from a web radio live stream, the site url is like: http://vps.radioduepuntozero.net:8000/Radio2.0.mp3 is there any way to do it maybe with JavaScript or PHP? As you know, the main problem is the…
2
votes
2 answers

Convert wma stream to mp3 stream with C# and ffmpeg

Is it possible to convert a wma stream to an mp3 stream real time? I have tried doing something like this but not having any luck: WebRequest request = WebRequest.Create(wmaUrl); HttpWebResponse response =…
user1363468
  • 79
  • 1
  • 6
2
votes
3 answers

Server-side Reading of ID3 tags with Google App Engine

I have been searching for a few weeks to find a solution that will allow me to read id3 tags from an mp3 file that has been uploaded to Google App Engine. The uploaded files are stored in the Blobstore and I am coding with Java. I would like to…
Chris P
  • 21
  • 1
2
votes
0 answers

How can i add cover image on mp3 file using ffmpeg?

I'm trying to convert audio file to mp3 and I want to add cover image into mp3 file. I tried this: ffmpeg.exe -i "input audio file" -i image.png out.mp3 When conversion completes there is no cover image into mp3. I tried and this which is from the…
user1562502
  • 21
  • 1
  • 2
2
votes
0 answers

Get album artwork from an MP3 file on iOS

I'm trying to grab the album artwork from an mp3 file which the user adds into the application. This is the code I am using. NSURL * fileURL=[NSURL fileURLWithPath:filePath]; NSString *fileExtension = [[fileURL path] pathExtension]; if…
Jonah Siegle
  • 31
  • 1
  • 3
2
votes
0 answers

How widely supported are Variable Bitrate MP3 files?

I'm developing an audio production tool, and I'm trying to figure out what defaults and UI choices I should make for the "choose output encoding" window. I want to output to VBR by default (and focus the interface around that), but most tools…
Alex
  • 235
  • 2
  • 10
2
votes
2 answers

Playing mp3 on my website

So I was wondering what the best way to play an mp3 on my website would be... I kind of want it to function and appear like the itunes method - a simple play and stop button. like this: How should I do this? I don't really want to embed a…
Ben Potter
  • 875
  • 5
  • 20
  • 34