Skip to content

Commit

Permalink
Synths - constrain Rhodey synth a little
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed Oct 9, 2023
1 parent 6d25a89 commit dea24fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/server/ruby/lib/sonicpi/synths/synthinfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4828,7 +4828,7 @@ def specific_arg_info
:lfo_width =>
{
:doc => "Width of the low-frequency oscillator (LFO) which determines how wide base tones oscillate around their base frequencies; a dimensionless scaled ratio between base and peak oscillator frequencies",
:validations => [v_positive(:lfo_width)],
:validations => [v_positive(:lfo_width), v_less_than(:lfo_width, 1)],
:modulatable => true
},
:lfo_rate =>
Expand All @@ -4840,7 +4840,7 @@ def specific_arg_info
:vel =>
{
:doc => "The velocity of the attack, makes the sound louder and changes the timbre",
:validations => [v_positive(:vel)],
:validations => [v_positive(:vel), v_less_than(:vel, 10)],
:modulatable => false
},
:mod_index =>
Expand Down

0 comments on commit dea24fd

Please sign in to comment.