From 8678925b3f1ada6133982033cdd98cf84f89a35f Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 15 Jun 2022 02:55:16 -0400 Subject: [PATCH] Add Gates module. --- plugin.json | 16 ++ res/Compare.svg | 621 +++++++++++++++++++++------------------- res/Gates.svg | 730 ++++++++++++++++++++++++++++++++++++++++++++++++ res/Logic.svg | 230 ++++++++------- res/Process.svg | 602 +++++++++++++++++++++++++++++++++++++++ src/Gates.cpp | 205 ++++++++++++++ src/Process.cpp | 76 +++++ src/plugin.cpp | 2 + src/plugin.hpp | 2 + 9 files changed, 2082 insertions(+), 402 deletions(-) create mode 100644 res/Gates.svg create mode 100644 res/Process.svg create mode 100644 src/Gates.cpp create mode 100644 src/Process.cpp diff --git a/plugin.json b/plugin.json index 02a9634..582fe2b 100644 --- a/plugin.json +++ b/plugin.json @@ -329,6 +329,22 @@ "Utility", "Polyphonic" ] + }, + { + "slug": "Gates", + "name": "Gates", + "description": "Gate processor", + "tags": [ + "Polyphonic" + ] + }, + { + "slug": "Process", + "name": "Process", + "description": "CV processor", + "tags": [ + "Polyphonic" + ] } ] } \ No newline at end of file diff --git a/res/Compare.svg b/res/Compare.svg index 2d90c79..4312c4a 100644 --- a/res/Compare.svg +++ b/res/Compare.svg @@ -39,8 +39,8 @@ id="namedview210" showgrid="false" inkscape:zoom="1.7566021" - inkscape:cx="-38.246552" - inkscape:cy="209.86956" + inkscape:cx="-69.046764" + inkscape:cy="171.2647" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" @@ -49,52 +49,52 @@ id="defs9"> + id="uuid-c64f22f2-9902-4383-a90c-2ce3d9bf4a00" + data-name="FND BG" + style="display:inline"> + style="fill:url(#uuid-ceb1f0ca-0ca2-46a9-982b-2ba7e59fdccb)" + id="rect11" + x="0" + y="0" /> + id="uuid-0cf2d9fd-764c-4eb5-8d95-894a7f181361" + data-name="FND GRAPH" + style="display:inline"> - + id="g74"> + style="opacity:0.68999999;isolation:isolate;fill:none" + id="circle62" /> + id="g68"> + d="m 48.29822,97.10256 c 6.2955,-3.78272 10.15833,-10.61025 10.15833,-17.95479 0,-11.491 -9.45566,-20.94666 -20.94666,-20.94666 -11.491,0 -20.94666,9.45566 -20.94666,20.94666 0,7.39639 3.91756,14.2646 10.28394,18.02967" + style="fill:none;stroke:#1f1f1f;stroke-width:0.80000001px;stroke-linecap:round;stroke-miterlimit:10" + id="path64" + inkscape:connector-curvature="0" /> + id="g66" /> + y2="78.999901" + style="fill:none" + id="line70" /> + x1="37.509899" + y1="58.201111" + x2="37.509899" + y2="71.622688" + style="fill:none;stroke:#1f1f1f;stroke-width:0.80000001px;stroke-linecap:round;stroke-miterlimit:10" + id="line72" /> + id="g84"> - - - + style="fill:#1f1f1f" + id="circle76" /> + + + + id="uuid-30565932-5eae-46d1-839e-14a2da3e712f" + data-name="FND TXT" + style="display:inline"> - - - + id="g93"> + + + - - - + id="g101"> + + + - - - - + id="g111"> + + + + - - - + id="g119"> + + + - - - - + id="g129"> + + + + - - - + id="g137"> + + + - - - + id="g145"> + + + - - - + id="g153"> + + + + d="m 19.26953,139.13867 1.76172,-3.9292 c 0.09375,-0.20996 0.26367,-0.33887 0.50098,-0.33887 h 0.04004 c 0.2373,0 0.40039,0.12891 0.49512,0.33887 l 1.76074,3.9292 c 0.03418,0.0615 0.04785,0.12207 0.04785,0.17627 0,0.22363 -0.16895,0.3999 -0.39258,0.3999 -0.19629,0 -0.33203,-0.11523 -0.40723,-0.2915 l -0.38574,-0.88721 h -2.30371 l -0.39941,0.91455 c -0.06738,0.16943 -0.20996,0.26416 -0.38574,0.26416 -0.2168,0 -0.38672,-0.16943 -0.38672,-0.38623 0,-0.061 0.02051,-0.12207 0.05469,-0.18994 z m 3.10254,-1.34131 -0.83301,-1.91748 -0.83398,1.91748 z" + style="fill:#1f1f1f" + id="path155" + inkscape:connector-curvature="0" /> - - - + d="m 51.71289,135.3584 c 0,-0.2373 0.18359,-0.41992 0.41992,-0.41992 h 1.70703 c 0.54297,0 0.96875,0.14893 1.24023,0.41992 0.20996,0.20996 0.31836,0.46777 0.31836,0.78613 v 0.0137 c 0,0.56885 -0.3252,0.87402 -0.67773,1.05664 0.55566,0.18945 0.94238,0.50781 0.94238,1.15186 v 0.0132 c 0,0.84717 -0.69824,1.30078 -1.75488,1.30078 h -1.77539 c -0.23633,0 -0.41992,-0.18262 -0.41992,-0.41992 z m 1.95801,1.57861 c 0.53516,0 0.89453,-0.20996 0.89453,-0.64355 v -0.0137 c 0,-0.37256 -0.29785,-0.60303 -0.83301,-0.60303 H 52.5332 v 1.26025 z m 0.24414,2.00537 c 0.56934,0 0.91504,-0.22363 0.91504,-0.65039 v -0.0137 c 0,-0.39941 -0.31934,-0.63672 -0.97656,-0.63672 h -1.32031 v 1.30078 h 1.38184 z" + style="fill:#1f1f1f" + id="path157" + inkscape:connector-curvature="0" /> - - - - - - - + id="g173"> + + + + + + + - - + d="m 5.26953,23.93262 v -0.02539 c 0,-2.48975 1.87695,-4.5293 4.56641,-4.5293 1.31445,0 2.20215,0.35059 2.92773,0.88867 0.20117,0.1499 0.375,0.4248 0.375,0.7627 0,0.52588 -0.4248,0.93848 -0.9502,0.93848 -0.2627,0 -0.43848,-0.09961 -0.5752,-0.1875 -0.53906,-0.40039 -1.10156,-0.62549 -1.78906,-0.62549 -1.47656,0 -2.54102,1.22607 -2.54102,2.72754 v 0.0249 c 0,1.50146 1.03906,2.75293 2.54102,2.75293 0.8125,0 1.35059,-0.25049 1.90137,-0.68848 0.14941,-0.125 0.35059,-0.2124 0.5752,-0.2124 0.48828,0 0.90039,0.40039 0.90039,0.88818 0,0.30029 -0.14941,0.53809 -0.32422,0.68848 -0.78906,0.68799 -1.71484,1.10059 -3.11523,1.10059 -2.57812,0 -4.49219,-1.98926 -4.49219,-4.50391 z" + style="fill:#1f1f1f" + id="path175" + inkscape:connector-curvature="0" /> + + + + + +