Skip to content

Commit 5912801

Browse files
committed
Limit octave shift to positive values only #6
1 parent 6182ad0 commit 5912801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Robotone/Parameters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Parameters::Parameters(juce::AudioProcessor& process) :
1616
juce::AudioParameterIntAttributes().withLabel("ms")));
1717

1818
add("octave", new juce::AudioParameterInt(
19-
{ "octave", schema }, "Octave shift", -3, +3, 0,
19+
{ "octave", schema }, "Octave shift", 0, 10, 5,
2020
juce::AudioParameterIntAttributes()));
2121

2222
add("gestalt", new juce::AudioParameterInt(
23-
{ "gestalt", schema }, "Robot vs. Human", -1, +1, +1,
23+
{ "gestalt", schema }, "Robot vs. Human", -1, 1, 1,
2424
juce::AudioParameterIntAttributes()));
2525
}

0 commit comments

Comments
 (0)