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

how to load the mp3 song and display it in aspx webpage?

i got the mp3 file read as byte[] from the database. how to show this byte[] /assign to which control to make the mp3 load and play in aspx webpage.how to load the mp3 song and display it in webpage??? or. how to download the file????
Innova
  • 4,831
  • 21
  • 76
  • 107
2
votes
1 answer

adding custom tag using tagLib sharp library

Is it possible to add custom tags (say "SongKey: Em") to an mp3 file using TagLib# libary?
Omri Btian
  • 6,499
  • 4
  • 39
  • 65
2
votes
1 answer

SDL2 & SMPEG2 - Empty sound buffer trying to read a MP3

I'm trying to load a MP3 in a buffer using the SMPEG2 library, which comes with the SDL2. Every SMPEG function calls returns without error, but when I'm done, the sound buffer is full of zeros. Here's the code : bool LoadMP3(char* filename) { bool…
MartinVeronneau
  • 1,296
  • 7
  • 24
2
votes
0 answers

How to add multiple singer name or genre to single mp3 songs metadata

What is the best way to add multiple genre/Singer/Artist to MP3 song's metadata(tag), so that the music-player can pick it correctly. For Example: Title: Gerua Artist: Antara Mitra, Arijit Singh Then in Artist section of Music Player it should…
Vivek Kumar
  • 4,822
  • 8
  • 51
  • 85
2
votes
2 answers

Java: Error trying to play a mp3 file

I want to play a simple mp3 file. I have this code: import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; public class MelodyPlay { public static void main(String[] args) { String bip =…
user5148441
2
votes
0 answers

MP3 Headers missing - ffmpeg (mp3 to raw format)

I have been trying to decode an MP3 file to raw format, using ffmpeg C library but most of the files return the following error: [mp3 @ 0x7fb922008400] Header missing The code is picked up from examples encoding_decoding.c: #include…
w2lame
  • 2,774
  • 6
  • 35
  • 48
2
votes
0 answers

Mp3 player with progressBar, with multiple Activity

What are the best approach to create a mp3 player, with progress bar update. BUT, I have to switch between 2 activity, and the mp3 need to continue play\update progress bar on one of the 2 activity. On iOS, i can use "singleton" and…
Franck
  • 8,939
  • 8
  • 39
  • 57
2
votes
0 answers

How to play mp3 with exo player

Please help me, the below code is not working: // 1. Instantiate the player. mPlayer = ExoPlayer.Factory.newInstance(1); // 2. Construct renderer. Allocator allocator = new DefaultAllocator(1024); DataSource dataSource = new…
Na Pro
  • 715
  • 1
  • 8
  • 23
2
votes
1 answer

Have any idea's of getting a new audio file to play with every click of this lesson?

I am somewhat new to AS but still trying to learn and accomplish what seems like tough stuff. I will prevail! The code below shows my progress so far. I have a UI Loader that has a series of thumbnails. With each click of the thumbnail a new SWF…
P.T. Fenn
  • 55
  • 8
2
votes
5 answers

Is it possible to read music file metadata using R?

I've got a bunch of audio files (let's say ogg or mp3), with metadata. I wish to read their metadata into R so to create a data.frame with: file name file location file artist file album etc Any way you know of for doing that ?
Tal Galili
  • 24,605
  • 44
  • 129
  • 187
2
votes
2 answers

get mp3 song duration in javascript

is there a way to get mp3 song duration in JavaScript? Thanks.
Gbolahan
  • 420
  • 2
  • 8
  • 18
2
votes
0 answers

JPanel - Get Audio to work

I have made a GUI which is pretty simple, looking similar to this: Where I simply do Open to browse a music file Play to play the music Stop to stop the music Now I came to a problem where I don't really know how to make it, so my program…
WeInThis
  • 537
  • 2
  • 8
  • 22
2
votes
2 answers

Play MP3 from stream

Is there any way to play MP3 directly from a memory stream (without any temp. files) using VB.NET or C#? or play from SQLCe database? Thanks
emdadgar2
  • 820
  • 1
  • 9
  • 15
2
votes
0 answers

Cross platform music radio

I need to implement a cross-platform app (windows, web, android at first and then ios and even smart tv.). The app will be a simple radio streaming mp3 files from a server. I'm experienced with c# on .net platform and unity engine, and also html+js…
2
votes
2 answers

Mp3 audio sequencer and mixer in C#

I want to create a very simple audio sequencer in C# that would work mostly with MP3 files or optionally any other compressed format, like Ogg or FLAC. Not just WAV. User arranges audio files into a grid with multiple channels/tracks (i.e. multiple…
Zdeněk Gromnica
  • 854
  • 2
  • 14
  • 31