speed-to-percentage
v1.2.1
Published
calculate percentage from playback speed
Maintainers
Readme
Convert the audio playback speed to percentage.
Normal playback speed is 1, meaning the audio is played at the normal speed.
🚀 Use
yarn add speed-to-percentage⚡ Example
import speedToPercentage from 'speed-to-percentage'
const half = speedToPercentage(0.5) // returns the string -50
const moreDigits = speedToPercentage(0.5, 2) // returns the string -50.00