mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-01-06 04:42:18 -05:00
Cleanup
This commit is contained in:
parent
5e6e33264d
commit
e515bf4026
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class PitchEffect {
|
||||||
*/
|
*/
|
||||||
intervalToFrequencyRatio (interval) {
|
intervalToFrequencyRatio (interval) {
|
||||||
return Math.pow(2, (interval/12));
|
return Math.pow(2, (interval/12));
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update a sound player's playback rate using the current ratio for the effect
|
* Update a sound player's playback rate using the current ratio for the effect
|
||||||
|
|
Loading…
Reference in a new issue