# node-tone

> Node wrapper for tone

Latest version **1.0.1** (published 2022-09-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-tone
pnpm add node-tone
yarn add node-tone
bun add node-tone
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-09-10 |
| First published | 2022-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | advplyr |
| Maintainers | advplyr |

## Links

- npm: https://www.npmjs.com/package/node-tone
- Repository: https://github.com/advplyr/node-tone
- Issues: https://github.com/advplyr/node-tone/issues
- npm.io page: https://npm.io/package/node-tone

## Recent versions

- 1.0.1 (latest) — 2022-09-10
- 1.0.0 — 2022-09-10

## README

# Node-Tone

Node wrapper for [tone](https://github.com/sandreas/tone)

**Requires tone binary to be installed**

## Installation

```bash
npm install node-tone
```

## Usage

```javascript
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
})
```

---
_Source: https://npm.io/package/node-tone · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
