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

Delphi FMX.Media.TMediaPlayer has different time markings on the same file on Windows and Android

I use Delphi 10.4 CE for creating the simplest audiobook reader. I have a mp3 audiobook file. In my application I want FMX.Media.TMediaPlayer to play a separate sentence, for example from 6.7 sec to 8.6 sec of the track. I set…
1
vote
1 answer

can I keep this constantly playing in the background after starting Main.py

import pygame pygame.mixer.init() pygame.mixer.music.load("myFile.Mp3") pygame.mixer.music.play(-1) # note -1 for playing in loops # do whatever # when ready to stop do: pygame.mixer.pause() If you want to unpause: …
Mark Liles
  • 11
  • 2
1
vote
1 answer

Is there any possible solution to get mp3 of text I get blob but not play able

Is there any possible solution to get mp3 of text I get blob but not play able text = document.getElementById("text"); voice = document.getElementById("Svoice"); action = document.getElementById("action"); function…
Mudassar
  • 11
  • 3
1
vote
1 answer

Streaming MP3 from Internet with FMOD

I thought this would be a relatively simple task with something like FMOD, but I can't get it to work. Even the example code netstream doesn't seem to do the trick. No matter what mp3 I try to play with the netstream example program, I get this…
Kyle Gobel
  • 5,530
  • 9
  • 45
  • 68
1
vote
0 answers

Python ffmpeg-python causes WinError2/ffmpeg has no attribute input

I was trying to make mp4/mp3 converter using ffmpeg, but ffmpeg is causing WinError2. Only ffmpeg-python installed : causes WinError2, since ffmpeg.exe does not exist Only ffmpeg installed : cannot import ffmpeg in py file (no module) Both ffmpeg…
eattato
  • 15
  • 1
  • 5
1
vote
1 answer

aax audiobooks to mp3 and splitting them into parts python

I would like to write a tool for audiobooks, that is doing mainly the following: convert aax to mp3 including metadata put the mp3 in a database (probably mongo DB) compare the information with a database (do you know any?) split the mp3 into parts…
RoKa
  • 105
  • 6
1
vote
0 answers

NodeJS: Every audio file created through fs.writeFile and Blob has excessive length

I'm creating an app which needs to take the user's voice and convert it to text, but the audio file seems to have something wrong with the length after it's creation. Here is how I'm gathering the audio and converting the data to a Blob. I'm just…
1
vote
1 answer

how to record audio from a URL (podcast, radio, stream) into file without using mic. Flutter plugin Just Audio

I have a radio app where I play radio from URL using just audio in flutter (by using seturl() method and then play() method). I want to record audio using stream or some sort of other way than using microphone (which is already done and…
1
vote
1 answer

Python: how can I Insert mp3 to one Mp4 Video at specific time

I am new to Python. Now I have 1.mp3 file and 1.mp4 file. The mp3 file is short and lasts 1s. The path of mp3 is C:/1.mp3 The mp4 file is longer and lasts 20s. The path of mp4 is C:/1.mp4 I want to insert the 1.mp3 to the 1.mp4 at 5s and 10s How can…
1
vote
2 answers

recommend a Flash MP3 player supporting starting playing from a specific time

I need a Flash player which can start my mp3 file from a specific time based on the embedding properties or on URL or just anything.
shandoosheri
  • 492
  • 1
  • 6
  • 16
1
vote
1 answer

How to add album art with ffmpeg while converting webm to mp3

I have been trying trying to add an album art while converting webm to mp3 at one go The code below works but doesn't add the album art. Any help ffmpeg -i file.webm -i it.jpeg -c:v copy -map 1 -map 0 -f mp3 -vn audio-out.mp3
General
  • 21
  • 3
1
vote
1 answer

How to play mp3 url in the background in reactjs app?

How do you add a mp3 url to your reactjs app and let it autoPlay in loop in the background? I installed both reactplayer and react audio player packages. Here's my code: import "./App.css"; import ReactAudioPlayer from…
1
vote
0 answers

ExoPlayer: get mp3/flac duration without playback

Is there any way to get/calculate audio file duration with ExoPlayer library WITHOUT file playback? Android has MetadataRetriever.extractMetadata(METADATA_KEY_DURATION). But I use exoplayer2.MetadataRetriever.retrieveMetadata​(MediaSourceFactory…
GordovPony
  • 11
  • 2
1
vote
0 answers

How can we create a 10 hr mp3 by looping 1 hr mp3 using Python?

At the moment, I use audacity to do it. However, I have 100s of such mp3 files which is needed. I was wondering if we can do it in Python? from pydub import AudioSegment sound = AudioSegment.from_mp3("C:/Users/s/Desktop/free/1.mp3") #…
LearnerJS
  • 298
  • 2
  • 14
1
vote
2 answers

Hi, I'm making my first steps in coding using HTML, CSS, JS training. For some reasons the code for MP3 player provided in training does not work

I'm making my first steps in coding using online training. For some reasons the code for MP3 player provided in training does not work. I wrote same code in Brackets and it does not fly. It shows buttons, but when I press them nothing is…