Skip to content

NitishaS-812k/Mp3-Encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

318342e · Apr 15, 2021

History

24 Commits
Jun 1, 2020
May 20, 2020
May 20, 2020
Apr 15, 2021
May 20, 2020
May 25, 2020
Jun 1, 2020
May 20, 2020
May 20, 2020
May 20, 2020
May 20, 2020
Jun 1, 2020
May 20, 2020
May 20, 2020
Jun 1, 2020

Repository files navigation

Mp3-Encoder

Implementation of a simple Mp3 encoder from scratch using python3

Libraries used:

  • Numpy
  • Scipy.signal
  • math

Installation:

To use this encoder to encode some .wav files(only standard integer PCM WAVE files are supported) clone this repository. Navigate to the cloned directory using terminal/cmd. To encode a .wav file, the following syntax must be used,
python encoder.py inwavfile.wav [outmp3file] bitrate
To encode one of the .wav files in the samples folder( for example: sine.wav), use:
python encoder.py samples/sine.wav samples/sine.mp3 320
If the name of the output file isn't provided, the output file will be created having the same name and a .mp3 extension. The last argument passed to the file is the bitrate. Bitrates starting from 64kbps to 448 kbps with steps of 32kbps are supported. Lower bitrates compress the file more reducing quality and size of the file and vice versa.

About

Implementation of a simple Mp3 encoder from scratch using python3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages