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
2 answers

mp3 files served from AppEngine don't "rewind"

I serve mp3 files from my application, using response.out, and it seems to work, BUT if the file is used in a html5 script or just played in web browser with a plugin, the mp3 file plays properly the first time, but if I try to rewind and play it…
tuoLarips
  • 170
  • 1
  • 10
2
votes
1 answer

Non-Flash Audio Plugins for CKeditor

I am looking to find a non-flash based audio plugin for ckeditor. I tried making my own custom plugin but was unsuccessful..I would much rather prefer to find a pre-made plugin. Ideally, I would like to upload an mp3 and be able be able to place on…
2
votes
1 answer

Mp3 file manipulation

I'm trying to accelerate the speed of a mp3 file. I'm currently using python on a Mac. I'm not very familiar with this kind of thing, so far I have learned how to read an mp3 file and get it's frame headers, but this is the first time I'm processing…
Filipe
  • 3,398
  • 5
  • 21
  • 35
2
votes
1 answer

How to extract ID tags from MP3 files in Cocoa?

Please advise some way to extract MP3 attributes using simple API. Is there any other libraries other than ID3.framework? I found that it is quite out-dated and has memory leaks. Thanks a lot.
Vadim
  • 9,383
  • 7
  • 36
  • 58
2
votes
2 answers

How to record audio and save it in mp3 format in AS3 (Adobe Air2.5)?

I am building one desktop application in Air2.5, which needs to record and save audio. In AS3 (Specially with Air 2.5), is it possible to record and save audio in mp3 format?
Rajneesh Gaikwad
  • 1,193
  • 2
  • 14
  • 30
2
votes
2 answers

Best Mime Type Method

Whats the best way to determine the mime type or file type , stopping anything malicious getting through and making sure a bug doesn't get in your system. In my example I need a way of screening so just .mp3 are uploaded to the site. Now I know…
Rudiger Kidd
  • 498
  • 1
  • 5
  • 23
2
votes
0 answers

Not getting sound from iOS simulator

I have a Cordova (phonegap) app that is playing mp3 audio files but I can not hear it in the simulator. Not getting any error message at all. Sound does play in browser and I checked all the System Preference settings according to this. Anyone…
septemberbrain
  • 998
  • 9
  • 25
2
votes
2 answers

How do i replace unknown characters with sed?

Today i tried to import some MP3 Files from an external drive to my music folder, when i noticed that many of my tags are getting wrong interpreted. For example, files with letters such as á,ó,í,ö,ä etc. are shown as a question mark within a…
JFP
  • 21
  • 1
  • 2
2
votes
1 answer

What does LAME text does in MP3 file?

I see here http://en.wikipedia.org/wiki/MP3 that MP3 file consists of MP3 headers interchanged with MP3 data. MP3 header consist of few bytes. But here is my MP3 file dump with ID3 tag cut. Header is highlighted with blue. You can see that…
Dims
  • 47,675
  • 117
  • 331
  • 600
2
votes
0 answers

Safari provides wrong audio duration from mp3 served with PHP

I am giving an audio to a javascript player, such as (for Safari): new Audio('give_audio.php?n='+name+'&t=mp3'); I was looking to set the correct headers for Safari for him to retreive the audio duration. I found this topic which helped me a…
ekqnp
  • 284
  • 3
  • 13
2
votes
1 answer

Marker for MP3 frame?

i want to ask about marker byte for each MP3 frame? How we to know that it is a frame from MP3? In some article said that the marker is Hexa (FF FB) for each frame header. Is it true?
haidey
  • 37
  • 1
  • 4
2
votes
1 answer

how to play a mp3 file from the middle

mciSendStringi("","","",""); I used the above function to play a mp3 file. Now I want to play the mp3 file from the middle (i.e) if the file is 5:32 minutes long I want to play it from 2:00 minutes. Can any help me how to do it?
RV.
  • 2,782
  • 8
  • 39
  • 51
2
votes
2 answers

playing a stream of PCM audio on .NET CF

I have a .NET CF library that produces PCM formatted data stream (as Stream object) from an MP3 file. I want to make my Windows Mobile phone to play the podcast I decode with that library. How can I play the PCM stream? I have tried PlaySound…
user256890
  • 3,396
  • 5
  • 28
  • 45
2
votes
2 answers

python removing unwanted characters after scanning mp3 meta-data

I Was looking for a way to scan mp3 meta-data yesterday and i found this code snippet on the Internet def getID3(filename): fp = open(filename, 'r') fp.seek(-128, 2) fp.read(3) # TAG iniziale title = fp.read(30) artist =…
user735977
2
votes
1 answer

sox still doesn't support mp3 after its source is recompiled with mp3 support

I am trying to re-compile sox source with mp3 support on CentOS 5. Note sox-12.18.1-1.el5_5.1 has been installed on my CentOS machine for a while. Following http://techblog.netwater.com/?p=4, I installed the following packages using yum. yum install…
user646073
  • 149
  • 5
  • 12