mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
Remove all audio effects except pitch and pan
This commit is contained in:
parent
b9aefa780f
commit
01f801a2a2
1 changed files with 2 additions and 10 deletions
|
@ -29,11 +29,7 @@ class Scratch3SoundBlocks {
|
||||||
currentInstrument: 0,
|
currentInstrument: 0,
|
||||||
effects: {
|
effects: {
|
||||||
pitch: 0,
|
pitch: 0,
|
||||||
pan: 0,
|
pan: 0
|
||||||
echo: 0,
|
|
||||||
reverb: 0,
|
|
||||||
fuzz: 0,
|
|
||||||
robot: 0
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -68,11 +64,7 @@ class Scratch3SoundBlocks {
|
||||||
static get EFFECT_RANGE () {
|
static get EFFECT_RANGE () {
|
||||||
return {
|
return {
|
||||||
pitch: {min: -600, max: 600}, // -5 to 5 octaves
|
pitch: {min: -600, max: 600}, // -5 to 5 octaves
|
||||||
pan: {min: -100, max: 100}, // 100% left to 100% right
|
pan: {min: -100, max: 100} // 100% left to 100% right
|
||||||
echo: {min: 0, max: 100}, // 0 to max (75%) feedback
|
|
||||||
reverb: {min: 0, max: 100}, // wet/dry: 0 to 100% wet
|
|
||||||
fuzz: {min: 0, max: 100}, // wed/dry: 0 to 100% wet
|
|
||||||
robot: {min: 0, max: 600} // 0 to 5 octaves
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue