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

Streaming MP3 Chunks on ASP.NET

Currently, I have a feature on an ASP.NET website where the user can play back MP3 Files. The code looks something like this: Response.Clear(); Response.ContentType = "audio/mpeg"; foreach (DataChunk leChunk in db.Mp3Files.First(mp3 =>…
GWLlosa
  • 23,995
  • 17
  • 79
  • 116
2
votes
3 answers

Playing NAudio .mp3 through an Audio Source in Unity

I'm using a package called Visualizer Studio (http://www.alteredr.com/visualizer-studio/) to make a game where objects react to music. My goal is to have the user be able to load a song at any time during the game. It's going to be standalone/PC,…
user2876904
  • 21
  • 1
  • 3
2
votes
1 answer

OpenAl mp3 loop not working

I'm trying to play sound in c++ project using OpenAl. I want to play a music track that will loop. When the file is a .wav or .mp3 at 320 kbps this works just fine. But when trying with a .mp3 at 32 kbps it shall not loop. Another thing is that, if…
ruff1991
  • 803
  • 3
  • 9
  • 16
2
votes
0 answers

How to stream and play mp3 file from internet url?

What's the way to stream (and play) an mp3 audio file from an internet url with Android? Url being something like this: http://somesite.com/somefile.mp3 Thanks!!
Michael Eilers Smith
  • 8,466
  • 20
  • 71
  • 106
2
votes
0 answers

Using Lame in android to encode WAV to MP3, result is a noise file

I'm using Lame to encode wav to mp3 in android. http://lame.sourceforge.net/ - LAME, with this tut. http://developer.samsung.com/android/technical-docs/Porting-and-using-LAME-MP3-on-Android-with-JNI, everything works good. creating the…
venkat
  • 53
  • 1
  • 8
2
votes
2 answers

Using FFmpeg or wrapper to get mp3 from mp4 in C#

I'm trying to extract an mp3 from a flash compatible mp4 file and have so far found FFMpeg and a bunch of different wrappers that all claim to be able to do the job. Ideally, I'd like to not have to rely on shelling to the FFMpeg exe, but none of…
CatBusStop
  • 3,347
  • 7
  • 42
  • 54
2
votes
2 answers

C# WMPLib Duration of a mp3

Im using WMPLib to make an easy mp3player in C#. Im almost done but theres one more thing I want to do. I Would like to how far gone the song is and also, how much is left of the song. using for example the progressbar. thanks Adam
2
votes
2 answers

phonegap playing http:// or file:// based mp3s does not work on Android

I'm working on a simple app that has but a few functions, that is supposed to play audio ether from a web site ie. function playfile(){ var playing = "http://static.weareswoop.com/audio/charlestown/track_1.mp3"; var my_media = new…
Andrew Killen
  • 1,756
  • 24
  • 24
2
votes
0 answers

How to recompile Chrome Embedded for Delphi XE2

I have downloaded the DCEF3 from here. It works well in Delphi XE2 but there is a huge problem : I cannot play MP3 files with HTML5 using Embedded Chrome. I searched a lot and finally found this topic. As I understood, I must edit the file cef.gypi…
Kermia
  • 4,171
  • 13
  • 64
  • 105
2
votes
1 answer

Correct Field Name For "Album Artist" ID3 Tag In SoX With LAME

I've got SoX compiled with LAME, and it works fine, I can make an .mp3 file with common ID3 tags. But I can't figure out what to call the "Album Artist" field so that I can specify a value. For example: sox -n --comment "Title=Sweep" --comment…
Ace Frahm
  • 272
  • 1
  • 11
2
votes
1 answer

How can I use Perl to record MP3 files on Windows?

Is there any Perl module for recording mp3 files specially on Win32? If yes could someone provide an example.
Ron
  • 51
  • 1
  • 4
2
votes
2 answers

node.js : fluent-ffmpeg throws error when converting mp4 to mp3

I'm trying to convert an mp4 video to mp3 with node's fluent-ffmpeg module. Here is my code: ffmpeg = require 'fluent-ffmpeg' mp4 = '/Users/jashua/Desktop/video.mp4' mp3 = '/Users/jashua/Desktop/audio.mp3' proc = new ffmpeg({source:mp4}) …
tldr
  • 11,924
  • 15
  • 75
  • 120
2
votes
1 answer

Loading audio file from an URL in Lua

I need to load an mp3 file from an URL in Lua. I've tried this but it doesn't work. require "socket.http" local resp, stat, hdr = socket.http.request{ url = "https://www.dropbox.com/s/hfrdbncfgbsarou/hello.mp3?dl=1", } local audioFile =…
2
votes
1 answer

Firefox 22+: MP3/MPEG 4/AAC Content-Type is not supported

According to this page, Firefox 22+ on the Mac support MPEG 4, H.264, MP3 and AAC. Still, I have been unable to play both MP3 audio files and H.264 video files using the audio and video tags in Firefox 22 and 23, getting the ol' "HTTP 'Content-Type'…
Martin Gordon
  • 36,329
  • 7
  • 58
  • 54
2
votes
1 answer

How to use mediastore.audio for album and artist info and add it in custom list view?

First of all i am a newbie,here is the code for adding the song's name in the customlost ,all i need is just some function using mediastore(i tried metadataretriever but the app stopped responding ) so that i can add them too.... public class…
user2348089