Generate waveform and spectrogram from audio files.
- Node.js (v18 or later)
- FFmpeg
-
Clone the repository:
git clone [email protected]:ladydao/waveform-generator.git cd waveform-generator
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add the following (adjust as needed):PORT=3000 UPLOAD_DIR=appdata/uploads/ OUTPUT_DIR=appdata/output/ FILE_SIZE_LIMIT=104857600
-
Start the server:
npm start
-
Open your browser and navigate to
http://localhost:3000
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the ISC License.