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

Concatenate all opus audio in folder and create chapters

I need to join multiple (mp3 or opus) audio in a directory into a single file. I also need to preserve/create each audio as a chapter. The expected outcome is that the output contains the chapter information in the file, so one can easily skip to…
1
vote
1 answer

Got the error:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 1: invalid continuation byte, playsound

I was making a program that plays a song from playsound but I got the error:"UnicodeDecodeError:'t decode byte 0xe3 at position 1: invalid continuation byte" What to do to play the song. This was my code: from playsound import…
1
vote
1 answer

How to prevent automatic download of a linked mp3 file

I am making a website using only HTML and CSS. I am trying to link to an online mp3 file (that I do not own) so that the mp3 plays in the browser. This simple code does what I want on Firefox and Safari:
nibor
  • 13
  • 3
1
vote
0 answers

Is there any program that will render all segments of non-silence from an mp3 file into a separate file?

There is an mp3 file. It consists of different songs, between which there is silence. I need to make each song from this file become a separate file. It is not possible to render them manually because the main mp3 file is longer than 15 hours. Is…
1
vote
3 answers

Audio frame not converting to ndarray

I am trying to run a colab file training openAI's jukebox, however when I try to run the function code which loads the audio, I am getting an error: File "/content/jukebox/jukebox/data/files_dataset.py", line 82, in get_song_chunk data, sr =…
walker_4
  • 433
  • 1
  • 7
  • 21
1
vote
2 answers

PowerShell: Read id3v2 from MP3, specifically ISRC

I'm ultimately aiming to get a hashtable of the path and ISRC of all the MP3 files in my music library for use in organising my library. Right now, I am having trouble getting the ISRC information out of the files. I have checked it is there using…
1
vote
1 answer

AudioInputStream : any way keep track of number of bytes read from source stream?

I'm using JavaZoom's mp3spi-1.9.5 and jl-1.0.1 to play MP3 files. This works fine, but I'm having a little trouble tracking the "progress" of a stream (measured in bytes) I need to play an InputStream from a remote file and I need to know how many…
sbrattla
  • 5,274
  • 3
  • 39
  • 63
1
vote
0 answers

Same MP3 files differ in one 16-bit value

I have this mistery that happened to me recently with my MP3 files. I had a few MP3s that should be identical, but as I have discovered, those files doesn't seem to be identical by their content. I have tried many tools for comparison of the files,…
1
vote
1 answer

Xamarin Forms, Android 11+, Access music folder in root

Hi i searched and searched. How do i access the music folder in android? Not the music folder of the app. Android.OS is not available. I even tried System.IO.Directory.GetFiles("/"); no permissions. I checked every permission in the manifest that…
1
vote
2 answers

kid3-cli set picture does not set album photo for mp3

I've been trying to set album art image in mp3 files programmatically for hours now. (I'm using a Mac running Monterey 12.3.1) Using the kid3-cli I can set all other metadata using this command: kid3-cli -c "set artist 'Artist Name'" -c "set album…
digitalHound
  • 4,384
  • 27
  • 27
1
vote
0 answers

trim or cut ArrrayBuffer from audio by timestamp node

I am fetching data from a remove url that hosts some audio. For instance: https://www.listennotes.com/e/p/98bcfa3fd1b44727913385938788bcc5/ I do this with the following code: const buffer = await (await fetch(url)).arrayBuffer(); How do I trim/cut…
jmecs
  • 143
  • 2
  • 13
1
vote
3 answers

How to Extract Lyrics (USLT frame) from Mp3 using FFmpeg?

I'm using Mp3tag's "Tools" feature to batch run FFmpeg in Windows, in order to batch extract the embedded lyrics content (USLT frame of ID3v2 tag) from MP3 files, I know with FFmpeg I can do something like: -i "%_path%" -f ffmetadata…
Wonderer
  • 19
  • 5
1
vote
2 answers

Having trouble playing .mp3 files in Java

I want to make a simple music player. So I filtered the .mp3 files from the PC directory and showed them in JList. But when I select the song from JList, the song is not playing and showing error like this java.io.FileNotFoundException: F:\Java in…
CSE
  • 73
  • 6
1
vote
2 answers

Convert recorded audio into mp3 programmatically?

I need to convert any recorded audio file to mp3 in java server side. Please help me on this regard I am very much struck on this from long time. If anyone knows the solution please let me know. Your help is highly appreciated. Teja.
Teja
  • 104
  • 8
  • 20
1
vote
1 answer

Remove add to cart button on WooCommerce single product page if product has been purchased and show MP3 player instead

We have a WooCommerce store that sells files (MP3/MP4) to registered users and enables the user to play them in the "Downloads" section of their account (we have modified order-downloads.php). The challenge we are facing is that we would like to…
nabs_kk
  • 35
  • 3