https://github.com/bamdadfr/speed-to-semitones
Convert the audio playback speed to a number of semitones based on the chromatic scale.
https://github.com/bamdadfr/speed-to-semitones
audio audio-speed javascript pitch semitones tone
Last synced: 7 months ago
JSON representation
Convert the audio playback speed to a number of semitones based on the chromatic scale.
- Host: GitHub
- URL: https://github.com/bamdadfr/speed-to-semitones
- Owner: bamdadfr
- License: mit
- Created: 2021-03-24T08:35:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T23:59:02.000Z (over 2 years ago)
- Last Synced: 2025-03-11T06:57:03.496Z (7 months ago)
- Topics: audio, audio-speed, javascript, pitch, semitones, tone
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/speed-to-semitones
- Size: 403 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README




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
```bash
yarn add speed-to-semitones
```### âš¡ Example
```javascript
import speedToSemitones from 'speed-to-semitones'const double = speedToSemitones(2) // returns the string 12
const moreDigits = speedToSemitones(2, 3) // returns the string 12.000
```