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

How do I make it difficult for users to save mp3 files from my site to their hard drives?

I want users to be able to upload mp3s and also be able to play them through a player embedded on a page. I know it's impossible to stop dedicated users from copying the audio by directly recording it from the computers output but I want to make it…
Peter D
  • 4,851
  • 2
  • 30
  • 30
1
vote
1 answer

Issues with playing Audio (mp3) on Xcode

I have the following problem on my application. When I press the Play button, the mp3 starts playing and also terminates the application. SongDetailsViewController.h #import #import @interface…
iShah
  • 119
  • 2
  • 14
1
vote
1 answer

Playing a mp3 file using an Embed tag where the source is ashx file and byte array from database

I currently store text to speech mp3 files as varbinary(max) in the database. what I want to do is play those audio files using the embed tag where the source is ashx file that will recieve the id of the database record and write the byte array. My…
user1111692
  • 31
  • 1
  • 3
1
vote
0 answers

How to broadcast live to icecast using java?

I can broadcast an mp3-file to icecast using jShout. MP3SPI tells that it can broadcast mp3-files to icecast. But how can i broadcast liveaudio from my soundcard as mp3 to icecast in java? Right now capturing audio this way:…
4F2E4A2E
  • 1,964
  • 26
  • 28
1
vote
1 answer

Playing audio file using itunes SDK

I am developing a windows form C# application that should be able to interface with iTunes. Basically, I now am able to use the iTunes COM to play music. However, when I do this, iTunes should be running since the music plays through iTunes. I was…
Dillion Ecmark
  • 704
  • 3
  • 10
  • 23
1
vote
1 answer

Extract Wavelength from MP3 as an Image

Are there any good libraries that can help convert an MP3 into an image of its wavelengths (I think that's the proper term). What I'm looking for is a way to generate the wavelengths of MP3s server-side like is done on Souncloud:…
Dan
  • 3,389
  • 5
  • 34
  • 44
1
vote
0 answers

Mp3 from iPhone library convert to PCM?

I need to read some audio file from the iPhone/iPod library and then pass it to a function to do some detection. I need to decode from MP3 to PCM in order to pass at the function some chunks of data. My question is: what's the best ay to do this? I…
Pablosproject
  • 1,374
  • 3
  • 13
  • 33
1
vote
1 answer

NAudio - WaveStram & BlockAlignReductionStream

I'm using NAudio's WaveStream and BlockAlignReductionStream to read data from MP3 files. it all works great using the Read method, which reads into a byte[] buffer, but I'm wondering what happens when the format is different than 8-bit PCM, or when…
Symbol
  • 145
  • 3
  • 10
1
vote
1 answer

How can I monitor an mp3 live stream to detect corruption?

Once a month the mp3 streams messes up and the only way to tell it has messed up is by listening to it as it streams. Is there a script or program or tool I can use to monitor the live streams at a given url and send some kind of flag when it…
Bulvak
  • 1,794
  • 8
  • 31
  • 63
1
vote
1 answer

jAudiotagger - How to create custom TXXX tags

I want to create/add a custom ID3 tag to a MP3 (ID3v2.3 or ID3v2.4). There is a TXXX tag for this purpose, but I don't know how to create it using the library jAudiotagger.
Pwdr
  • 3,712
  • 4
  • 28
  • 38
1
vote
1 answer

getting mp3 audio signal as array in java

I have been trying to get audio stream of mp3 as array of floating points. I have got the array with the below sample code. I am not sure whether I can use this array for applying FFT. Because this array is not matching[or similar] to the one which…
MLS
  • 617
  • 1
  • 7
  • 14
1
vote
2 answers

How to extract album cover from a mp3 file without download the whole file

I'm using TabLib for extraction, but i need to know how many bytes should i download from the mp3 file, in order to be able to extract TagLib. I've looked into mp3 specs, but i didn't found anything relevant.
Cumatru
  • 695
  • 2
  • 12
  • 34
1
vote
2 answers

Best library for audio file meta data?

I am looking for a library to read meta data from compressed and uncompressed audio files (i.e. mp3, ogg, etc.). In the past I have used libvorbis and id3lib, but I'm wondering if there are better libraries around? Ideally I would like a library…
Anders Sandvig
  • 20,720
  • 16
  • 59
  • 73
1
vote
2 answers

Java how to extract audio stream from movie

I need to extract the audio stream from a movie and eventually convert it to a certain format, let's say MP3 at 192 kbps, for later processing, more exactly to detect the voices. Are there any libraries for extracting the audio stream from a movie?
user1019710
  • 321
  • 5
  • 14
1
vote
1 answer

mp3 recorder on a website, mp3 licencing issue

I dont know if this is right question to ask here. But let me ask, I am working on site where I will put a flash audio recorder, That will record voice in mp3 file and save on the server for later play. Do i need some kind of license to create mp3…
Parminder
  • 3,088
  • 6
  • 37
  • 61