Correctly call this.intervalToFrequencyRatio

This commit is contained in:
Eric Rosenbaum 2017-06-19 17:41:08 -04:00
parent e515bf4026
commit 865d3cde88

View file

@ -49,7 +49,7 @@ class PitchEffect {
* @returns {number} a playback ratio
*/
getRatio (val) {
return intervalToFrequencyRatio(val / 10);
return this.intervalToFrequencyRatio(val / 10);
}
/**