Skip to content

Commit

Permalink
Merge pull request #621 from ericrosenbaum/feature/remove-most-audio-…
Browse files Browse the repository at this point in the history
…effects

Remove all audio effects except pitch and pan
  • Loading branch information
ericrosenbaum committed Jun 19, 2017
2 parents b9aefa7 + 01f801a commit 524d99d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/blocks/scratch3_sound.js
Expand Up @@ -29,11 +29,7 @@ class Scratch3SoundBlocks {
currentInstrument: 0,
effects: {
pitch: 0,
pan: 0,
echo: 0,
reverb: 0,
fuzz: 0,
robot: 0
pan: 0
}
};
}
Expand Down Expand Up @@ -68,11 +64,7 @@ class Scratch3SoundBlocks {
static get EFFECT_RANGE () {
return {
pitch: {min: -600, max: 600}, // -5 to 5 octaves
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
pan: {min: -100, max: 100} // 100% left to 100% right
};
}

Expand Down

0 comments on commit 524d99d

Please sign in to comment.