Skip to content

Commit

Permalink
Synths - add hpf metadata to synthinfo for sc808 maracas
Browse files Browse the repository at this point in the history
  • Loading branch information
samaaron committed Oct 16, 2023
1 parent 8657329 commit 7a1606e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/server/ruby/lib/sonicpi/synths/synthinfo.rb
Original file line number Diff line number Diff line change
@@ -4453,6 +4453,10 @@ def arg_defaults
:pan_slide => 0,
:pan_slide_shape => 1,
:pan_slide_curve => 0,
:hpf => 113,
:hpf_slide => 0,
:hpf_slide_shape => 1,
:hpf_slide_curve => 0
:click => 1,
:decay => 0.1,
:decay_curve => -20
@@ -4480,6 +4484,13 @@ def specific_arg_info
:validations => [],
:modulatable => false
},
:hpf =>
{
:doc => "High pass filter cutoff value for the maracas. A MIDI note representing the lowest frequencies allowed to be present in the sound. A high value like 100 makes the sound thin and whispy, a low value like 40 removes just the lower bass components of the sound.",
:validations => [v_positive(:hpf), v_less_than(:hpf, 119)],
:modulatable => true,
:midi => true
}
}


0 comments on commit 7a1606e

Please sign in to comment.