node-tone

1.0.1 • Public • Published

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
})

Readme

Keywords

none

Package Sidebar

Install

npm i node-tone

Weekly Downloads

198

Version

1.0.1

License

ISC

Unpacked Size

1.34 MB

Total Files

10

Last publish

Collaborators

  • advplyr