summaryrefslogtreecommitdiff
path: root/objects
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-04-01 12:51:13 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-04-01 14:18:44 +0200
commit257ee4c9fd1dda29231d21229a3674db64637416 (patch)
treea8bf36a7b471f51c5a87b2ac87a7f8128a870eb8 /objects
parent8a4bca986c57062e96f1e58281b3eff52a856ee6 (diff)
Simplify sqrt distortion.
Diffstat (limited to 'objects')
-rw-r--r--objects/sqrt-distortion.axs86
1 files changed, 26 insertions, 60 deletions
diff --git a/objects/sqrt-distortion.axs b/objects/sqrt-distortion.axs
index 0853a04..ccd7c33 100644
--- a/objects/sqrt-distortion.axs
+++ b/objects/sqrt-distortion.axs
@@ -1,4 +1,4 @@
-<patch-1.0 appVersion="1.0.11">
+<patch-1.0 appVersion="1.0.12">
<obj type="delay/read interp" uuid="e3d8b8823ab551c588659520bf6cc25c630466c7" name="phase1" x="378" y="0">
<params>
<frac32.u.map name="time" onParent="true" value="11.5"/>
@@ -7,13 +7,6 @@
<objref attributeName="delayname" obj="write_1"/>
</attribs>
</obj>
- <obj type="mix/mix 2 g" uuid="221f038da51943034a75e442c90624fcebfe6112" name="mix_2" x="532" y="28">
- <params>
- <frac32.u.map name="gain1" value="64.0"/>
- <frac32.u.map name="gain2" value="64.0"/>
- </params>
- <attribs/>
- </obj>
<obj type="math/inv" uuid="7f4c6cf4dcf79f9b0aa81c2eaf540405875714a3" name="inv_1" x="644" y="28">
<params/>
<attribs/>
@@ -24,7 +17,7 @@
</obj>
<obj type="filter/lp m" uuid="1aa1bc51da479ed92429af700591f9d7b9f45f22" name="lp_1" x="798" y="28">
<params>
- <frac32.s.map name="pitch" value="27.0"/>
+ <frac32.s.map name="pitch" value="39.0"/>
<frac32.u.map name="reso" value="29.5"/>
</params>
<attribs/>
@@ -37,17 +30,10 @@
<objref attributeName="delayname" obj="write_1"/>
</attribs>
</obj>
- <obj type="mix/mix 2 g" uuid="221f038da51943034a75e442c90624fcebfe6112" name="mix_1" x="924" y="140">
- <params>
- <frac32.u.map name="gain1" value="64.0"/>
- <frac32.u.map name="gain2" value="64.0"/>
- </params>
- <attribs/>
- </obj>
- <obj type="filter/bp m" uuid="f26437572c3a1f6be883bb219c773a9906ff8296" name="bp_1" x="798" y="196">
+ <obj type="mix/mix 2 g" uuid="221f038da51943034a75e442c90624fcebfe6112" name="mix_1" x="560" y="112">
<params>
- <frac32.s.map name="pitch" value="32.0"/>
- <frac32.u.map name="reso" value="47.5"/>
+ <frac32.u.map name="gain1" value="32.0"/>
+ <frac32.u.map name="gain2" value="32.0"/>
</params>
<attribs/>
</obj>
@@ -58,18 +44,18 @@
<obj type="delay/write" uuid="bd73958e3830021807ee97a8cff4500a72a5710d" name="write_1" x="378" y="224">
<params/>
<attribs>
- <combo attributeName="size" selection="512 (10.66ms)"/>
+ <combo attributeName="size" selection="256 (5.33ms)"/>
</attribs>
</obj>
- <obj type="math/sqrt" uuid="1b69138b600d63436014c7927b9fc1d60a413331" name="sqrt_1" x="308" y="252">
+ <obj type="patch/inlet f" uuid="5c585d2dcd9c05631e345ac09626a22a639d7c13" name="filter" x="672" y="266">
<params/>
<attribs/>
</obj>
- <obj type="patch/inlet f" uuid="5c585d2dcd9c05631e345ac09626a22a639d7c13" name="filter" x="672" y="266">
+ <comment type="patch/comment" x="182" y="280" text="cut off the low end"/>
+ <obj type="patch/inlet a" uuid="b577fe41e0a6bc7b5502ce33cb8a3129e2e28ee5" name="audio in" x="70" y="308">
<params/>
<attribs/>
</obj>
- <comment type="patch/comment" x="182" y="280" text="cut off the low end"/>
<obj type="filter/hp" uuid="7829b56456e975f1d89bda2ad1c7ad678080a73b" name="hp_1" x="182" y="308">
<params>
<frac32.s.map name="pitch" value="-24.0"/>
@@ -77,43 +63,16 @@
</params>
<attribs/>
</obj>
- <obj type="patch/inlet a" uuid="b577fe41e0a6bc7b5502ce33cb8a3129e2e28ee5" name="audio in" x="56" y="476">
+ <obj type="math/sqrt" uuid="1b69138b600d63436014c7927b9fc1d60a413331" name="sqrt_1" x="308" y="308">
<params/>
<attribs/>
</obj>
- <obj type="math/gain" uuid="62b1c1a6337c7c8f6aec96408a432477b113cfa0" name="input gain" x="154" y="476">
- <params>
- <frac32.u.map name="amp" onParent="true" value="4.0"/>
- </params>
- <attribs/>
- </obj>
<nets>
<net>
- <source obj="lp_1" outlet="out"/>
- <dest obj="mix_1" inlet="in1"/>
- </net>
- <net>
- <source obj="mix_2" outlet="out"/>
- <dest obj="bp_1" inlet="in"/>
+ <source obj="mix_1" outlet="out"/>
<dest obj="inv_1" inlet="in"/>
</net>
<net>
- <source obj="phase1" outlet="out"/>
- <dest obj="mix_2" inlet="in1"/>
- </net>
- <net>
- <source obj="phase2" outlet="out"/>
- <dest obj="mix_2" inlet="in2"/>
- </net>
- <net>
- <source obj="bp_1" outlet="out"/>
- <dest obj="mix_1" inlet="in2"/>
- </net>
- <net>
- <source obj="input gain" outlet="out"/>
- <dest obj="hp_1" inlet="in"/>
- </net>
- <net>
<source obj="inv_1" outlet="out"/>
<dest obj="+_1" inlet="in1"/>
</net>
@@ -123,7 +82,6 @@
</net>
<net>
<source obj="filter" outlet="inlet"/>
- <dest obj="bp_1" inlet="pitch"/>
<dest obj="lp_1" inlet="pitch"/>
</net>
<net>
@@ -136,22 +94,30 @@
<dest obj="+_1" inlet="in2"/>
</net>
<net>
- <source obj="audio in" outlet="inlet"/>
- <dest obj="input gain" inlet="in"/>
+ <source obj="phase1" outlet="out"/>
+ <dest obj="mix_1" inlet="in1"/>
</net>
<net>
- <source obj="mix_1" outlet="out"/>
+ <source obj="phase2" outlet="out"/>
+ <dest obj="mix_1" inlet="in2"/>
+ </net>
+ <net>
+ <source obj="lp_1" outlet="out"/>
<dest obj="audio out" inlet="outlet"/>
</net>
+ <net>
+ <source obj="audio in" outlet="inlet"/>
+ <dest obj="hp_1" inlet="in"/>
+ </net>
</nets>
<settings>
<subpatchmode>no</subpatchmode>
</settings>
<notes><![CDATA[]]></notes>
<windowPos>
- <x>-5</x>
- <y>33</y>
- <width>1280</width>
- <height>767</height>
+ <x>0</x>
+ <y>0</y>
+ <width>1918</width>
+ <height>1078</height>
</windowPos>
</patch-1.0> \ No newline at end of file