You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/server/ruby/lib/sonicpi/synths/synthinfo.rb
+29-28Lines changed: 29 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -3748,10 +3748,6 @@ def synth_name
3748
3748
"sc808_bassdrum"
3749
3749
end
3750
3750
3751
-
defon_start(studio,args_h)
3752
-
args_h[:rand_buf]=studio.rand_buf_id
3753
-
end
3754
-
3755
3751
defdoc
3756
3752
"Bassdrum of the SC808 drum machine based on [Yoshinosuke Horiuchi's](https://www.patreon.com/4H/posts) implementation of the legendary rhythm composer from the early 80s."
3757
3753
end
@@ -3775,8 +3771,6 @@ def arg_defaults
3775
3771
:attenuation=>1,
3776
3772
}
3777
3773
end
3778
-
3779
-
3780
3774
defspecific_arg_info
3781
3775
{
3782
3776
:decay=>
@@ -3820,17 +3814,14 @@ def synth_name
3820
3814
"sc808_snare"
3821
3815
end
3822
3816
3823
-
defon_start(studio,args_h)
3824
-
args_h[:rand_buf]=studio.rand_buf_id
3825
-
end
3826
-
3827
3817
defdoc
3828
3818
"Snare drum of the SC808 drum machine based on [Yoshinosuke Horiuchi's](https://www.patreon.com/4H/posts) implementation of the legendary rhythm composer from the early 80s. "
3829
3819
end
3830
3820
3831
3821
defarg_defaults
3832
3822
{
3833
3823
:note=>65,
3824
+
:detune=> -11,
3834
3825
:amp=>1,
3835
3826
:amp_slide=>0,
3836
3827
:amp_slide_shape=>1,
@@ -3839,13 +3830,6 @@ def arg_defaults
3839
3830
:pan_slide=>0,
3840
3831
:pan_slide_shape=>1,
3841
3832
:pan_slide_curve=>0,
3842
-
:attack=>0,
3843
-
:decay=>0,
3844
-
:sustain=>0,
3845
-
:release=>0.3,
3846
-
:attack_level=>1,
3847
-
:decay_level=>:sustain_level,
3848
-
:sustain_level=>1,
3849
3833
:lpf=>93,
3850
3834
:lpf_slide=>0,
3851
3835
:lpf_slide_shape=>1,
@@ -3856,6 +3840,9 @@ def arg_defaults
3856
3840
:hpf_slide_curve=>0,
3857
3841
:mix=>0.7,
3858
3842
:head_hpf=>30,
3843
+
:decay=>4.2,
3844
+
:decay_curve=> -115,
3845
+
:click=>0.999
3859
3846
}
3860
3847
end
3861
3848
@@ -3911,6 +3898,31 @@ def specific_arg_info
3911
3898
:doc=>"Ratio of amplitude between the sound of the head of the drum (the boom) and the snare of the drum (the buzz). A value of 1 is 100% snare, a value of 0 is 100% head and 0.5 is 50% of each.",
3912
3899
:validations=>[v_between_inclusive(:mix,0,1)],
3913
3900
:modulatable=>false,
3901
+
},
3902
+
3903
+
:click=>
3904
+
{
3905
+
:doc=>"Amount of initial click to the drum sound. 0 is no click and 1 is a hard click.",
3906
+
:validations=>[v_between_inclusive(:click,0,1)],
3907
+
:modulatable=>false
3908
+
},
3909
+
:decay=>
3910
+
{
3911
+
:doc=>"Amount of decay for the snare. Higher numbers increase the decay duration.",
3912
+
:validations=>[v_positive_not_zero(:decay)],
3913
+
:modulatable=>false
3914
+
},
3915
+
:detune=>
3916
+
{
3917
+
:doc=>"Detune multiplier of original pitch for the snare's timbre. A value of 1 indicates no deviation from the fundamental pitch",
3918
+
:validations=>[],
3919
+
:modulatable=>false
3920
+
},
3921
+
:decay_curve=>
3922
+
{
3923
+
:doc=>"Curve value for the decay of the snare",
3924
+
:validations=>[],
3925
+
:modulatable=>false
3914
3926
}
3915
3927
}
3916
3928
end
@@ -3929,10 +3941,6 @@ def synth_name
3929
3941
"sc808_clap"
3930
3942
end
3931
3943
3932
-
defon_start(studio,args_h)
3933
-
args_h[:rand_buf]=studio.rand_buf_id
3934
-
end
3935
-
3936
3944
defdoc
3937
3945
"Clap of the SC808 drum machine based on [Yoshinosuke Horiuchi's](https://www.patreon.com/4H/posts) implementation of the legendary rhythm composer from the early 80s."
0 commit comments