File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
designs/overtone/sonic-pi/src/sonic_pi Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 105
105
amp (varlag amp amp_slide amp_slide_curve amp_slide_shape)
106
106
pan (varlag pan pan_slide pan_slide_curve pan_slide_shape)
107
107
freq (midicps note)
108
- snd (* amp (bell-partials freq attack decay sustain release attack_level decay_level sustain_level dull-partials))]
109
- (detect-silence snd :action FREE)
108
+ snd (* amp (bell-partials freq attack decay sustain release attack_level decay_level sustain_level dull-partials))
109
+ det (+ snd (impulse:ar 0 ))]
110
+ (detect-silence det :action FREE)
110
111
(out out_bus (pan2 snd pan))))
111
112
112
113
(defsynth sonic-pi-pretty_bell [note 52
135
136
amp (varlag amp amp_slide amp_slide_curve amp_slide_shape)
136
137
pan (varlag pan pan_slide pan_slide_curve pan_slide_shape)
137
138
freq (midicps note)
138
- snd (* amp (bell-partials freq attack decay sustain release attack_level decay_level sustain_level partials))]
139
- (detect-silence snd :action FREE)
139
+ snd (* amp (bell-partials freq attack decay sustain release attack_level decay_level sustain_level partials))
140
+ det (+ snd (impulse:ar 0 ))]
141
+ (detect-silence det :action FREE)
140
142
(out out_bus (pan2 snd pan)))))
141
143
142
144
(comment
You can’t perform that action at this time.
0 commit comments