Skip to content

Cut mp3 with random start with duration and extract metadata

License

Notifications You must be signed in to change notification settings

bchapoton/mp3cutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp3cutter

Soft Version
NodeJS 12.16.1
NPM 6.13.4

Install

npm install

Usage

node src/cutThatShit.js
node src/cutThatShit.js -verbose

Purpose

Cut at random position for 30s and extract metadata from mp3 in the mp3src sub folders.

The cut will not corrupt original files, it will create the same sub folders in mp3dest folder, in which you will find 000x.mp3 cut files and a metadata.json file with artist, title and the file name for each mp3.

Metadata

The metadata are extracted from the ID3Tag original file.

{
    "folder": "sample",
    "files": [
        {
            "artist": "Ona",
            "title": "Poison",
            "file": "00001.mp3"
        }
    ]
}

Sample

Sample downloaded on https://www.auboutdufil.com/

Titre: Poison

Auteur: Ona

Source: https://www.youtube.com/channel/UCnnBCffappJ4k2zjnRjLt_w

Licence: https://creativecommons.org/licenses/by/3.0/deed.fr

Téléchargement (6MB): https://auboutdufil.com/?id=559

About

Cut mp3 with random start with duration and extract metadata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published