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

How to convert blob to MP3 in javascript?

I have blob in my DB. I want to convert the blob to MP 3. How i can do it in JavaScript?
user1365697
  • 5,819
  • 15
  • 60
  • 96
2
votes
2 answers

What trick will give most reliable/compatible sound alarm in a browser window for most browsers

I want to be able to play an alarm sound using Javascript in a browser window, preferably with the requirement for any browser plugins (Quicktime/Flash). I have been experimenting with the tag and the new Audio object in Javascript, but results are…
Dirk Paessler
  • 2,848
  • 4
  • 21
  • 16
2
votes
2 answers

Connecting an Android ListView onClick to another Activity

I am making a MP3 player Android App. I want to start another activity from a ListView click that opens up the artist directory to show the songs from that one artist. I based my code off of the [Android tutorial][1]. This below is in my onCreate…
2
votes
1 answer

Why Apache Tomcat does not see mp3 file?

I develop website that must play music. But tomcat does not see mp3 file that I want to listen. Here is part of my internalAccountTemplate.xhtml
Bohdan Zv
  • 442
  • 2
  • 5
  • 22
2
votes
1 answer

How does Android os read id3 tags in MP3 files?

I want to get and set the attributes of an id3 tag. Title, artist, album, composer etc. I did Google for help and found many 3rd party jars that I can use in my Android project to get and set the attributes. But I want to know a way to do it without…
Abhi
  • 314
  • 1
  • 7
  • 23
2
votes
2 answers

Modify MP3 File

I have an MP3 file uploader. I want to add an additional audio track to the file upon upload via PHP. Is that possible?
arik
  • 28,170
  • 36
  • 100
  • 156
2
votes
1 answer

Compressing Voice with MP3

I'm looking to compress some lectures which are in MP3 format. Currently, they're each about 75MB and I'm looking to compress them a lot. Can anyone suggest some good encoding options for LAME to get decent quality and small filesize? I think the…
Naftuli Kay
  • 87,710
  • 93
  • 269
  • 411
2
votes
1 answer

Python - how to add initial MP3 attributes

I used to get songs with the artist and the song name in the file name (for example - "britney spears - oops i did it again". My script have 2 purposes: 1.add the artist name and song to his MP3's attributes (Using eyed3). 2.create a new folder to…
Danco28
  • 21
  • 2
2
votes
1 answer

How to batch downsample MP3 files using lame?

I found on another question how to do singular files, which worked great. "lame --mp3input -b birtratenumber input.mp3 output.mp3" Thing is, I have around 60 files and doing each individually is very time consuming (the total amount of time does not…
2
votes
0 answers

Decoding MP3 data with decodeAudioData(...) in Opera 27

I'm creating a multimedia project in Javascript and I'm having a heck of a time getting the Web Audio API to work in Opera 27 on any platform. Whenever I call decodeAudioData(...) to try to decode MP3 audio data and create a Buffer, the error…
Zack Schilling
  • 125
  • 1
  • 9
2
votes
0 answers

Android - Play (mp3) from memory while streaming

Sorry about the weird title, I couldn't think of anything better. In my Android App I want to stream an .mp3 file from an http server, which requires basic authentication. The task is to download the data and save it to the sdcard while playing.…
theCNG27
  • 405
  • 8
  • 27
2
votes
4 answers

Running lame from php

I am trying to run lame from a php script. I have tried these, but no luck, I don't get anything returned! Any ideas? system('lame', $returnarr); system('lame --help', $returnarr); exec('lame', $returnarr); passthru('lame', $returnarr); even this…
gok
  • 1,137
  • 1
  • 9
  • 30
2
votes
0 answers

How to get MP3 duration using MultiPlayer of aacdecoder library in Android

I am developing an android application that contains aac Mp3 Streaming. I am trying multiPlayer using aacdecoder library. Everything works well but i don't know how to take the total duration of an mp3. With MediaPlayer of android i used…
simas
  • 222
  • 1
  • 8
2
votes
1 answer

How to play music when "tab key" is pressed in HTML

I want to be able to play a mp3 file when the tab key is pressed on a keyboard. I am making a number system for a restaurant and when a number is entered and tab is pressed, it will make a noise which will draw attention to the numbers. Thanks! My…
2
votes
0 answers

Android decode mp3 with MediaCodec. not use MediaExtractor

I want to decode the mp3 using the MediaCodec. However, I do not want to use the MediaExtractor. Because it is because I want to get the meta data from mp3. icy (Shoutcast) stream are also taken into consideration. I tried writing the code to decode…
Isobe59
  • 43
  • 6