speed-to-semitones
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

release license maintainability coverage snyk

Convert the audio playback speed to a number of semitones based on the chromatic scale.

Normal playback speed is 1.0, which is a pitch of 0 semitones.

🚀 Use

yarn add speed-to-semitones

Example

import speedToSemitones from 'speed-to-semitones'

const double = speedToSemitones(2) // returns the string 12
const moreDigits = speedToSemitones(2, 3) // returns the string 12.000

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.1
    28
    • latest

Version History

Package Sidebar

Install

npm i speed-to-semitones

Weekly Downloads

40

Version

1.3.1

License

MIT

Unpacked Size

9.26 kB

Total Files

6

Last publish

Collaborators

  • bamdadsabbagh