Merge pull request #926 from ericrosenbaum/bugfix/reduce-pitch-effect-range

Clamp pitch effect range to -360 to 360
This commit is contained in:
Eric Rosenbaum 2018-02-01 14:27:32 -05:00 committed by GitHub
commit 0e4e6be9e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ class Scratch3SoundBlocks {
*/ */
static get EFFECT_RANGE () { static get EFFECT_RANGE () {
return { return {
pitch: {min: -600, max: 600}, // -5 to 5 octaves pitch: {min: -360, max: 360}, // -3 to 3 octaves
pan: {min: -100, max: 100} // 100% left to 100% right pan: {min: -100, max: 100} // 100% left to 100% right
}; };
} }