mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Merge pull request #926 from ericrosenbaum/bugfix/reduce-pitch-effect-range
Clamp pitch effect range to -360 to 360
This commit is contained in:
commit
0e4e6be9e7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue