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

How to properly divide an mp3 file with Google Apps Scripts

I am trying to make a script that emails an audio file from a website as an attachment (the website sends out an email with a link to the file when a new podcast comes out). My problem is Google doesn't allow attachments larger than 25MB. My idea…
Leo
  • 11
  • 3
1
vote
2 answers

How to change Title (not file-name) of .mp3 file on Mac using Python?

I want to rename mp3 files on my mac using python before importing them to iTunes. So I need to change the "Title" of the file, not the file's name. As in, I want to change "Al-Fatihah" in the picture below to "new_title". Most online resources and…
Mahmoud Gabr
  • 109
  • 2
  • 12
1
vote
2 answers

How do I generate an mp3 file using Python Azure text to speech api

I am able to generate a wav file of "Mary had a little lamb" using the code below. But it fails when I try to generate an…
user3567761
  • 145
  • 1
  • 2
  • 9
1
vote
0 answers

How can I copy all metadata from one file to another automatically?

I have a collection of .mp3 files that have a lot of metadata on them, and a collection of those same tracks as .flac files with no metadata. I'd like to be able to simply copy the metadata from an .m03 file to its .flac cousin automatically. I…
Pete_Set
  • 11
  • 1
1
vote
1 answer

delete smaller mp3 files with similar name in python

I've been facing following issue: there is a directory, where online radio station is ripping and storing mp3 files some if them is played and stored more times, difference is in the name : 1st file till dot has unique name : something.mp3 2nd…
furumc
  • 13
  • 2
1
vote
0 answers

How to convert MP3 from TTS ( Text to Speech )

I have made text to speech functionality using the link mentioned below:- MDN - https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance MDN Example - https://mdn.github.io/web-speech-api/speak-easy-synthesis/ I want to convert it…
Owaiz Yusufi
  • 849
  • 1
  • 14
  • 34
1
vote
0 answers

Include both an image and an MP3 file in stream.publish when posting feed on Facebook

I want to include both an image and an MP3 file in stream.publish when I publish a feed. But according to the Facebook API reference stream attachments can include either an image or an MP3 file or Flash. Is there some way I can include both an…
Tobio
  • 255
  • 4
  • 13
1
vote
1 answer

Failure to initialize a AVAudioCompressedBuffer

I'm trying to initialize an AVAudioCompressedBuffer using this format: like such: AVAudioCompressedBuffer*…
gerbil
  • 859
  • 7
  • 26
1
vote
1 answer

Mutagen: How can I "correctly" embed album art into mp3 file so that I can see the pitcure display as file icon

I am trying to convert flac files to mp3 format, using pydub for conversion and mutagen for tags and album art copy. Convert a flac file to a 320Kbps mp3: from pydub import AudioSegment path_flac = 'mc_test/from/01 Lapislazuli.flac' path_mp3 =…
Chunpin
  • 57
  • 8
1
vote
1 answer

What is the proper length of an ID3v2 frame?

In describing and ID3v2 header and the frames within, https://id3.org/id3v2.3.0#ID3v2_frame_overview states: The frame ID is followed by a size descriptor, making a total header size of ten bytes in every frame. Yet when I use a hex editor to look…
Dave Davis
  • 574
  • 1
  • 4
  • 14
1
vote
2 answers

How do i create a video from a static image and an audio file?

Im trying to write a program that creates an mp4 from a static image and an audio file. Here is the code im using so far: from moviepy.editor import AudioFileClip, ImageClip def mp3PNGMerge(fileSaveName): audio_clip = AudioFileClip("[PATH…
invisabuble
  • 149
  • 1
  • 3
  • 12
1
vote
1 answer

Android- launch mp3 from a url link

I currently have a webview that when you press a mp3 link, the mp3 will start playing. We recently changed all of the links, and they are now "https" instead of "http". The error I receive from my log cat is the following: 08-09 17:26:59.060:…
Splitusa
  • 1,181
  • 7
  • 31
  • 51
1
vote
1 answer

ID3 Artwork Tags from MP3 In Documents Directory iPhone Development

I have several MP3 files in the user's documents directory, and I want to be able to get and display the ID3 Artwork Tags. I have tried using NSURLAsset, but I am unsure how to convert that to a UIImage or a UIImageView! Thanks!
theArdvark
  • 21
  • 3
1
vote
1 answer

Save base64 audio file to folder in nodejs

I have a base64 string of audio file. I want to save this as a file in local folder with nodejs. I have integrated and done this with the fs library and got mp3 file in local folder, but not able to play. Could you please support me to solve this…
Rugma
  • 13
  • 1
  • 4
1
vote
0 answers

Create sticks sound in mp3 or midi file - NodeJS

I have a project in NodeJs which I am building a music in a midi file, using MidiWriter library. This library has a set of instrument but I want to generate the baqueta sound. I want to play this sticks sound to indicate the compass of the melody. I…
1 2 3
99
100