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
1 answer

MP3 loading using librosa return empty data when start_time metadata is 0

I have a dataset of thousands of bird chirps audios (mp3) and I try to load them using librosa.load() MP3 files are loaded but, most of the time, resulting data is an empty np.ndarray instead of a np.ndarray filled with floats Using…
Clément
  • 1,128
  • 7
  • 21
1
vote
1 answer

how to convert text file to mp3 using audiosegment in python

so i have file text contains with binary number 1 and 0. i want to make the text file to mp3 file and i found pydub. but i got error: [Errno 22] Invalid argument: 'F:\KULIAH\SEMESTER8\SKRIPSI\MusicLockApp\txt\done.txt' i just trying to open my…
1
vote
2 answers

More precision from ffmpeg silencedetect

I am trying to split a very large (70 hours) mp3 file into smaller files. My first step is the get the timestamps using the silencedetect command in ffmpeg. It works fine for the first few timestamps, but unfortunately, the results are rounded to…
1
vote
1 answer

How to convert many mp3 files in wav format in R

I have many mp3 files in one folder how can I convert every mp3 files in wav format in one go using R programming? Following code work for me to convert one mp3 to wav format but how can I convert every mp3 file in a folder to wav format? r <-…
george g
  • 35
  • 5
1
vote
1 answer

Create a silent mp3 using TTS

My application needs to run a silent mp3 in background. I use TTS synthesizetofile() to convert text to mp3 and TTS playsilence() for playing silence. While I can easily convert normal text to mp3 I cant figure out an easy way to play silence. For…
mohsyn
  • 186
  • 12
1
vote
0 answers

Just Audio for Flutter stops reproducing an mp3 file after some time for some reason (bufferpool2)

I'm just trying to reproduce a mp3 file placed in getApplicationDocumentsDirectory, using Just Audio library (just_audio: ^0.9.29), but after 43 seconds (for that specific file) the app crashes with the following log V/AutofillManager(24351):…
Donovant
  • 3,091
  • 8
  • 40
  • 68
1
vote
0 answers

Raw folder files are not included in Android release build in latest gradle version

Description: Added mp3 file under res/raw folder in Android native code to play mp3 file in app which is working in debug build but not able to play in release build. Issue: As per APK analysis, raw folder for debug build is included in apk but…
Patel Pinkal
  • 8,984
  • 4
  • 28
  • 50
1
vote
1 answer

How to add SYLT tags to a mp3 file?

I want to add synchronized lyrics to songs in mp3 format. I am using the mutagen module for doing so. While i can add unsynchronized lyrics without any problem, I can't seem to get SYLT working. Here is the code aud =…
Ram
  • 26
  • 3
1
vote
1 answer

Downloading an mp3 file from S3 and manipulating it results in bad file

I did a script that downloads a MP3 file from my S3 bucket and then manipulates in before download (Adding ID3 Tags). It's working and the tags are injected properly, but the files corrupts as it seems and unplayable. I still can see my tags trough…
1
vote
0 answers

Java MP3SPI in Applet

I've been struggling with this for the passed few hours but perhaps you guys can give me some help. I've written an application that requires the use of MP3 files. The application runs correctly given the classpath jar files that are said to be…
user899336
  • 11
  • 2
1
vote
0 answers

How to copy metadata exported from mp3 file (with ffmpeg) int another mp3 file

I have 2 mp3 files with the same content but with different speed and volume level. I would like to copy the metadata from one to the other and only the metadata. I have seen this post, and was able to extract the metadata to a file. But now when I…
Sruly
  • 169
  • 1
  • 13
1
vote
1 answer

fetch mp3 file from phone storage (with specific folder) in flutter app

I want to fetch mp3 files from phone storage with specific folder, Actually am using on_audio_query pkg for this but on_audio_query is fetched all mp3 files in my phone storage. please anyone guide! code: @override final _onAudioQuery =…
1
vote
1 answer

need help playing mp3 files within .NET application?

My requirements are: - play a mp3 file on button click - provide a option to seek to a particular time Almost all of the tutorials/resources that I came through, used ".wav" files to play the sound. But I need to play a ".mp3" file within…
MrClan
  • 6,402
  • 8
  • 28
  • 43
1
vote
0 answers

Send Binary Over HTTP And Execute At Client

My issue: I need to extract the binary (01001) or whatever String I can extract from a file and send it via HTTP as my response (could be in a JSON or an XML, I don't care). I believe I am able to extract the contents of the file and send it to the…
sivafe9540
  • 23
  • 7
1
vote
2 answers

youtube-dl convert to mp3

I'm using youtube-dl to download from youtube. I would like to download the files as mp3. Doing some research I found that there's a function for this: --audio-format mp3. However when I use this it still downloads the files as m4a or webm. The…
Jellyfish
  • 67
  • 9