Skip to content

advplyr/node-tone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-Tone

Node wrapper for tone

Requires tone binary to be installed

Installation

npm install node-tone

Usage

const tone = require('tone')

// optionally specify path to binary
tone.TONE_PATH = 'path/to/tone'

// Get metadata for file
tone.dump('path/to/audiofile.mp3').then((jsonDump) => {
   console.log(jsonDump)
})

// Write metadata for file
const metadataToWrite = {
   Title: "some title",
   Comment: "Hello World"
}
tone.tag('path/to/audiobook.m4b', metadataToWrite).then(() => {
   // Success
})

About

Node wrapper for tone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published