Skip to content

Commit eba79d0

Browse files
committed
rework chorus fx and stereo input reverb
1 parent db0f026 commit eba79d0

4 files changed

Lines changed: 4088 additions & 3867 deletions

File tree

docs/04-fx.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ gain (the volume of the sound)
2727
| >-----------------------> v
2828
panning hall (stereo reverb)
2929
|| ||
30-
double ||
31-
(automated double tracking ||
32-
/chorus) ||
30+
double / chorus ||
31+
|| ||
3332
|| <====================== <<
3433
lfo
3534
(low frequency oscillator)
@@ -121,6 +120,30 @@ You can provide extra arguments to have the filter modulate between a low and hi
121120
new synth saw note(0 0) fx(filter low 1/4 100 3500 0.55 0 4)
122121
```
123122

123+
## double / chorus
124+
125+
Add an Automated-Double-Tracking (ADT) or Chorus effect to the sound. When only typing double it will sound like two versions of the sound are left and right. When typing chorus the original sound is added and the delaytimes are longer. Arguments are the modulation speed in division, the modulation depth in milliseconds, the modulation wave `sine` or `random`, the wet-dry ratio between `0` and `1` and a detune factor between left and right modulation wave in floating.
126+
127+
**arguments**
128+
- {Division} -> modulation rate (default=4/1)
129+
- {Number+} -> modulation depth in ms (default=8 for double, default=45 for chorus)
130+
- {Name} -> modulation wave, sine or random (default=random)
131+
- {Float+} -> wet-dry (default=1 for double, default=0 for chorus)
132+
- {Float+} -> modulation rate detune (default=0.94562)
133+
134+
```
135+
fx(double)
136+
fx(chorus)
137+
fx(chorus <rate>)
138+
fx(chorus <rate> <depth> <wave> <wet-dry> <detune>)
139+
```
140+
141+
```java
142+
new sample clap_808 fx(double)
143+
144+
new synth saw fx(chorus 5/1 45 sine 0.5 0.99873)
145+
```
146+
124147
## freeze
125148

126149
Create an FFT-freeze effect on the sound. This will result in a "frozen-in-time"-like sound, where the timbre is still clearly audible. The freezer is triggered at the time interval of the `time()` function. The trigger can be set with a float to give it a probability of triggering, or a ring can be provided to let the freezing occor in a rhythmic pattern. The second optional argument determines the sliding time between 2 freeze frames (in n-frames), and the third optional argument sets the amount of frames to store.
@@ -211,12 +234,4 @@ Add an Low Frequency Oscillator effect to the sound.
211234

212235
```
213236
fx(lfo <time-division>)
214-
```
215-
216-
## double
217-
218-
Add an Automated-Double-Tracking (ADT) effect to the sound. This will give the effect as if there were two of the same sounds, one left and one right.
219-
220-
```
221-
fx(double)
222-
```
237+
```

0 commit comments

Comments
 (0)