mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
Correctly call this.intervalToFrequencyRatio
This commit is contained in:
parent
e515bf4026
commit
865d3cde88
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class PitchEffect {
|
|||
* @returns {number} a playback ratio
|
||||
*/
|
||||
getRatio (val) {
|
||||
return intervalToFrequencyRatio(val / 10);
|
||||
return this.intervalToFrequencyRatio(val / 10);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue