Audio
Masher
[continue autosave]
AI Drone 1 by heartcore
log in
learn
new
browse
# Define generators _sin 4096 gen_sine _env 4096 '0.5 0.5 270 0.5' gen_composite _pulse 64 'tick dur 0.22 * tgate dur 0.1 * port' gen_eval # Set base MIDI note _key 50 varset # Generate drone: pinknoise -> string resonators 0.15 pinknoise (_key get mtof) 0.1 (0.05 0.4 0.5 _pulse osc)+ streson (_key get mtof 0.5 *) 0.2 streson (_key get mtof 0.25 *) 0.95 streson dcblk # Shape drone spectrum: moving equalizer # (pareq: freq, boost, Q, mode) 1000 0.1 (0.1 0.7 0.7 _pulse osc)+ 0.6 2 pareq 3000 0.02(0.1 1.5 0.3 _pulse osc)+ 0.7 2 pareq 4000 0.001 1 2 pareq # Add granular sweep - fof has 12 arguments: # amp fundamental formant 0.06 (_key get mtof 0.5 *) (0.1 200 sine 500 +) # oct band ris dec dur iphs laps win sine 0 1 0.003 0.0007 0.02 0 5 _env _sin fof # 2-band distortion dup 6 0.1 0 0 dist 0.001 clip 60 * 2200 (0.07 300 sine)+ 0.3 1 lpf18 swap 2000 buthp 10 0.1 0 0 dist 0.0001 0.01 -6 peaklim 0.4 clip 0.2 * + # Mix and add ambiance (+) dup 0.6 0.33 delay + dup 10 6 6000 zrev + # (zrev: in1 rtlo rthi hfdmp) 500 0.3 0.3 0 pareq 2 *
No parameters.
meta
quick ref
help
Title:
AI Drone 1
Author:
heartcore
Description:
AI generated code for a drone based on the Drone spirit patches
Created:
2024/01/11
Modified:
2024/01/11
License
6VGQJD
loading...
Here are some Sporth learning resources (most of them by Paul Batchelor):
The
interactive cookbook
is a tutorial where you can run all the example code online (it's based on the
original cookbook
).
The
examples
demonstate a variety of Sporth ugens. Note: those that rely on external files will not work in AudioMasher.
The
Soundpipe modules reference
goes into more detail on the underlying function powering each Sporth ugen.
The
AudioMasher collection
can certainly be used as learning material.
And some information about AudioMasher:
Frequently Asked Questions
Source on Github