MCPcopy Index your code
hub / github.com/tsoding/button / randomPlaybackRate

Function randomPlaybackRate

index.js:19–21  ·  view source on GitHub ↗
(min = 0.97, max = 1.03)

Source from the content-addressed store, hash-verified

17const evilFart = newFart("fart-paulstretched-evil.flac");
18
19function randomPlaybackRate(min = 0.97, max = 1.03) {
20 return Math.random() * (max - min) + min;
21}
22
23function playFart(fart, randomPitch) {
24 for (const f of farts) {

Callers 1

playFartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…