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
1
vote
1 answer

How to dynamically cut short an mp3 file in php

Possible Duplicate: Automatically trimming a mp3 in PHP I am currently serving mp3 files via php like the method described in this question: Can I serve MP3 files with PHP? $track = "sometrack.mp3"; if(file_exists($track)) { …
footy
  • 5,803
  • 13
  • 48
  • 96
1
vote
1 answer

How to play mp3 files in java

Possible Duplicate: Playing .mp3 and .wav in Java? Friends, please tell me link if this question already exist: I want to play sounds of alphabet letters encoded in mp3, with different variations while playing it. For example: For the word…
JMohasin
  • 513
  • 2
  • 13
  • 35
1
vote
1 answer

Silverlight doesn't play mp3

I am using VS2010,C# to develop a Silverlight web based game. I want to play mp3 and this is my existing code: StreamResourceInfo sri = Application.GetResourceStream(new Uri("/TennisSL;component/Images/idle.mp3",…
Ali_dotNet
  • 3,219
  • 10
  • 64
  • 115
1
vote
1 answer

Adobe Flash crash after several hours of playing mp3 stream

I have made a mp3 player that is working fine, it plays a mp3 radio stream for several hours (last crash was after 6,5 hours) and then it crashes without any message or exception. This is very difficult to debug because it only happen after a couple…
Codebeat
  • 6,501
  • 6
  • 57
  • 99
1
vote
1 answer

iOS - Failed to play audio file

I'm trying to play an mp3 audio file on iPhone executing the following code: NSURL *audioURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@/%@.mp3", FONYK_FILES_URL, [self.voicenote valueForKeyPath:@"Fonyker.fonykid"], [self.voicenote…
8vius
  • 5,786
  • 14
  • 74
  • 136
1
vote
2 answers

Stream mp3 with PHP, on Linux+FireFox

I'm trying to stream an mp3 file with PHP and play it on the browser. I'm using Ubuntu for both the server ( apache ) and client for testing. My code works on Chrome, but not on FireFox. When I access the mp3 directly ( so it's served by the web…
1
vote
1 answer

playing mp3 from nsbundle

SETUP I put a mp3 into my bundle just for testing, i will have them download into the documents directory. But for now i am going to work off the bundle. I have found a couple tutorials, but not anything for what i need. The below is definitely a…
zach
  • 1,281
  • 7
  • 27
  • 41
1
vote
1 answer

Cross-platform real-time MP3 recorder

I have an SDL app, that works under Linux, Mac and Windows. It's something like a media player, and can play audio just fine. I'd like to add audio recording feature to it, but I'd like to encode it in real time to MP3. Can anyone point me to an…
mav
  • 1,230
  • 1
  • 15
  • 23
1
vote
1 answer

Microphone Pitch/Freq Detection (actionscript 3.0 in particular)

So, I'm trying to detect the average frequency of a sound recorded from the microphone. It can be assumed that this sound will be in mp3 or wav form. My final goal is to do this live (or close enough), but for now simply finding the average…
shafeen
  • 2,431
  • 18
  • 23
1
vote
1 answer

Download last 30 seconds of an mp3

Is it possible to download only the last 30 seconds of an mp3? Or is it necessary to download the whole thing and crop it after the fact? I would be downloading via http, i.e. I have the URL of the file but that's it.
Wisco crew
  • 1,337
  • 1
  • 17
  • 25
1
vote
3 answers

How to play mp3 files via javascript without any html5 feature?

I need to encode an mp3 audio file with base64, then sent to client(web browser), decode it via javascript, then play it. Is there a way to play an mp3 file via javascript?
BigDiggers
  • 105
  • 1
  • 3
  • 8
1
vote
1 answer

How to export bloopsaphone tunes to MP3?

I have found a few places that have exported their Bloopsaphone tunes to MP3 but I cannot find out how to do this. Here's an example.
Tyler
  • 13
  • 4
1
vote
1 answer

How to achieve mp3 stream using java Servlet

Goal: build a servlet so that when I type http://xxx.com/servpage?a.mp3 in browser, I can instantaneously start the playing of this mp3 file. Previously if I put the file on goDaddy as a static file, I can do that. My software can play it right…
Hai Bi
  • 1,173
  • 1
  • 11
  • 21
1
vote
2 answers

mp3 upload mimetype being missed by firefox specically

I have a file upload, it works great in everything except for firefox, it keeps saying the mimetype isnt supported. This is my code: if(isset($_POST[submitfile])) { $uploadedsong = $_FILES['soup']['tmp_name']; $mimetype =…
JimmyBanks
  • 4,178
  • 8
  • 45
  • 72
1
vote
1 answer

How to convert caf to mp3/amr?

Is there a way to convert the iphone record .caf files to .mp3 or amr files? Because the caf file need to upload, and server part can't use this format. I am not familiar with audio processing. Here is my conclude : The iphone sdk don't have a…
TK189
  • 1,490
  • 1
  • 13
  • 17