Skip to content

Commit 7a1606e

Browse files
committed
Synths - add hpf metadata to synthinfo for sc808 maracas
1 parent 8657329 commit 7a1606e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/server/ruby/lib/sonicpi/synths/synthinfo.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4453,6 +4453,10 @@ def arg_defaults
44534453
:pan_slide => 0,
44544454
:pan_slide_shape => 1,
44554455
:pan_slide_curve => 0,
4456+
:hpf => 113,
4457+
:hpf_slide => 0,
4458+
:hpf_slide_shape => 1,
4459+
:hpf_slide_curve => 0
44564460
:click => 1,
44574461
:decay => 0.1,
44584462
:decay_curve => -20
@@ -4480,6 +4484,13 @@ def specific_arg_info
44804484
:validations => [],
44814485
:modulatable => false
44824486
},
4487+
:hpf =>
4488+
{
4489+
: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.",
4490+
:validations => [v_positive(:hpf), v_less_than(:hpf, 119)],
4491+
:modulatable => true,
4492+
:midi => true
4493+
}
44834494
}
44844495

44854496

0 commit comments

Comments
 (0)