Skip to content

Drozerah/wav-to-mp3-encoder-with-node.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WAV to MP3 encoder with Node.js locally

The programme is based on The LAME project and it read WAV-format files and encodes them into MP3 files.

Requirements

  • Lame Installed (View instructions below)
  • Node 10.13.* or newer

Installation

You can install it with npm:

$ npm install

This command will install the node-lame npm package dependency and create the local application folder structure ready to go.

!Important : If you have not installed LAME yet, please use the following instruction.

Install on Windows

  1. Go to the the Lame Download Page and download the EXE or ZIP file.
  2. Navigate to the directory where Lame was installed in (most commonly C:\Program Files (x86)\Lame For Audacity).
  3. Add the directory to your Environment Variables.

Usage

Store your .wav files into the ./wav subdirectory then run the following command line in your terminal :

$ npm run start

This command will encode your .wav files into the MP3-format and store them in the ./mp3 subdiretory.

Once you are done or if needed you can clean the ./wav or ./mp3 subdirectories by running the following command lines in your terminal :

$ npm run cleanMp3

or

$ npm run cleanWav

Enjoy !

Coded by Drozerah

About

WAV to MP3 Encoder with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published