computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit 6dd533572acf55ba8c00d46e2614d59a6e6722e9
parent 9feb37770b3297c9f10661d03dde7a8752f2c4eb
Author: Adam M <[email protected]>
Date:   Sun,  9 Feb 2020 18:46:32 -0600

Patrix panel

Diffstat:
Ares/ComputerscareMolyPatrixPanel.svg | 358+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Msrc/ComputerscareMolyPatrix.cpp | 8++++----
2 files changed, 362 insertions(+), 4 deletions(-)

diff --git a/res/ComputerscareMolyPatrixPanel.svg b/res/ComputerscareMolyPatrixPanel.svg @@ -0,0 +1,358 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="360" + height="380" + viewBox="0 0 95.25 100.54167" + version="1.1" + id="svg8" + inkscape:version="0.92.2 5c3e80d, 2017-08-06" + sodipodi:docname="ComputerscareMolyPatrixPanel.svg" + style="enable-background:new"> + <defs + id="defs2" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.0000002" + inkscape:cx="236.7312" + inkscape:cy="355.04977" + inkscape:document-units="mm" + inkscape:current-layer="g1669" + showgrid="false" + units="px" + inkscape:snap-bbox="true" + inkscape:snap-page="true" + inkscape:bbox-nodes="true" + inkscape:snap-bbox-edge-midpoints="true" + inkscape:window-width="1440" + inkscape:window-height="856" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:snap-global="false" + showguides="false" + inkscape:lockguides="false" /> + <metadata + id="metadata5"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-196.45832)" + style="display:none"> + <path + style="opacity:1;vector-effect:none;fill:#f0f0f0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.48607069;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" + d="M 0,196.45831 H 23.8125 V 296.99999 H 0 Z" + id="rect817" + inkscape:connector-curvature="0" /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + x="8.2147436" + y="295.57718" + id="text1490" + transform="rotate(1.4468834)"><tspan + sodipodi:role="line" + id="tspan1488" + x="8.2147436" + y="295.57718" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">computerscare</tspan></text> + <text + transform="rotate(-5.9989835)" + id="text1494" + y="288.0314" + x="-28.710276" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + y="288.0314" + x="-28.710276" + id="tspan1492" + sodipodi:role="line">trg</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + x="20.711658" + y="288.87244" + id="text1498" + transform="rotate(1.9714728)"><tspan + sodipodi:role="line" + id="tspan1496" + x="20.711658" + y="288.87244" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">in</tspan></text> + <text + transform="rotate(0.49746114)" + id="text1521" + y="289.16214" + x="20.314623" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + y="289.16214" + x="20.314623" + id="tspan1519" + sodipodi:role="line">clr</tspan></text> + <text + transform="matrix(1.0139335,-0.02825079,0.06854811,0.98434808,0,0)" + id="text1645" + y="204.61243" + x="-10.296249" + style="font-style:normal;font-weight:normal;font-size:10.74719143px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26867977" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.01535606px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26867977" + y="204.61243" + x="-10.296249" + id="tspan1643" + sodipodi:role="line">debug</tspan></text> + </g> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="bg" /> + <g + style="display:inline" + transform="translate(0,-196.45832)" + id="g1669" + inkscape:groupmode="layer" + inkscape:label="Layer 1 copy"> + <path + inkscape:connector-curvature="0" + id="path1647" + d="m 0,198.72401 h 92.801443 v 98.27598 H 0 Z" + style="opacity:1;vector-effect:none;fill:#e0e0e0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.68660867;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + <path + style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.60485148;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 32.813533,196.45833 h 62.658494 v 8.08714 H 64.572145 c -18.33529,-1.39489 -18.301741,-1.40936 -31.758612,-2.83448 z" + id="rect888" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccc" /> + <path + style="fill:#afafaf;fill-opacity:1;stroke:none;stroke-width:0.587466;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 32.827608,196.46391 -9.560682,2.27594 -0.0016,5.42044 8.868216,0.34243 0.761003,-2.74374 0.03474,-0.0206 z" + id="path890" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#626262;fill-opacity:1;stroke:none;stroke-width:0.68970191;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 32.953325,201.64596 32.044186,2.89689 30.437524,0.006 -2.682618,1.34551 -61.330846,-1.4159 z" + id="path892" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccc" /> + <g + aria-label="MOLYPATRIX" + transform="matrix(1.0524052,0,0,0.55404123,0,81.908224)" + style="font-style:normal;font-weight:normal;font-size:7.10298109px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#585858;fill-opacity:1;stroke:none;stroke-width:0.17757453" + id="text1034"> + <path + d="m 33.183503,208.48071 h 1.196289 l 1.51424,3.80797 1.522188,-3.80797 h 1.196289 l 0.06285,7.54491 -0.908658,-0.41767 0.06285,-6.44511 -1.530136,3.83796 H 35.49262 l -1.530138,-3.83796 v 4.91364 h -0.778979 z" + style="fill:#585858;fill-opacity:1;stroke-width:0.19760819" + id="path1036" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccccccccccc" /> + <path + d="m 42.108507,208.93784 c -0.508677,0 -0.913306,0.20679 -1.213888,0.62038 -0.29827,0.41359 -0.447405,0.97723 -0.447405,1.69092 0,0.71118 0.149135,1.27356 0.447405,1.68715 0.300582,0.41359 0.705211,0.62038 1.213888,0.62038 0.508677,0 0.910995,-0.20679 1.206952,-0.62038 0.29827,-0.41359 0.447405,-0.97597 0.447405,-1.68715 0,-0.71369 -0.149135,-1.27733 -0.447405,-1.69092 -0.295957,-0.41359 -0.698275,-0.62038 -1.206952,-0.62038 z m 0,-0.6204 c 0.726021,0 1.306376,0.26606 1.741063,0.79818 0.434688,0.5296 0.652032,1.24077 0.652032,2.13352 0,0.89023 -0.217344,1.6014 -0.652032,2.13352 -0.434687,0.5296 -1.015042,0.7944 -1.741063,0.7944 -0.728333,0 -1.310999,0.15287 -1.747999,-0.37673 -0.434687,-0.52959 -0.652031,-1.65844 -0.652031,-2.55119 0,-0.89275 0.217344,-1.60392 0.652031,-2.13352 0.437,-0.53212 1.019666,-0.79818 1.747999,-0.79818 z" + style="fill:#585858;fill-opacity:1;stroke-width:0.18545301" + id="path1038" + inkscape:connector-curvature="0" + sodipodi:nodetypes="scscscscsscscscscs" /> + <path + d="m 45.157605,209.24644 h 0.700587 v 6.2602 l 2.52142,0.48729 v 0.86704 h -3.222007 z" + style="fill:#979797;fill-opacity:1;stroke-width:0.21533614" + id="path1040" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccc" /> + <path + d="m 47.808069,209.02198 0.752351,-0.0219 2.138238,4.82889 0.722082,-4.91223 0.752349,-0.0219 -1.735902,4.04027 0.0861,3.62496 -0.703812,0.0205 -0.0861,-3.62497 z" + style="fill:#979797;fill-opacity:1;stroke-width:0.21533614" + id="path1042" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccccccc" /> + <path + d="m 53.580013,209.70073 0.06794,2.86019 0.880632,-0.0257 q 0.488855,-0.0143 0.746977,-0.39422 0.258123,-0.37996 0.241774,-1.06823 -0.01623,-0.68319 -0.292032,-1.04759 -0.275802,-0.3644 -0.764657,-0.35015 z m -0.720447,-0.82593 1.580976,-0.0461 q 0.87023,-0.0254 1.327819,0.54293 0.460933,0.56308 0.487455,1.67963 0.02676,1.12674 -0.406802,1.71589 -0.430098,0.58906 -1.300328,0.61441 l -0.880632,0.0257 0.07266,3.05904 -0.700345,0.0204 z" + style="fill:#949494;fill-opacity:1;stroke-width:0.21533614" + id="path1044" + inkscape:connector-curvature="0" /> + <path + d="m 58.559698,210.19919 -0.629811,4.13929 1.526696,0.66651 z m -0.380126,-1.29012 0.794121,0.0168 1.859123,9.65823 -0.728232,-0.0153 -0.442364,-2.47691 -2.333812,-0.0491 -0.500873,2.45704 -0.738636,-0.0156 z" + style="fill:#949494;fill-opacity:1;stroke-width:0.24200957" + id="path1046" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccccccccc" /> + <path + d="m 60.433626,208.9565 4.3798,0.0923 -0.0088,0.74463 -1.837921,-0.0387 -0.06872,5.795 -0.703958,-0.0148 0.06872,-5.79499 -1.775069,0.93587 z" + style="fill:#979797;fill-opacity:1;stroke-width:0.19957048" + id="path1048" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccccc" /> + <path + d="m 67.907105,214.43663 q 0.224262,0.15401 0.432057,0.64167 0.211262,0.48763 0.419719,1.33583 l 0.689702,2.74703 -0.752508,-0.0241 -0.642451,-2.57854 q -0.248824,-1.00979 -0.489023,-1.34474 -0.236731,-0.33487 -0.652864,-0.3482 l -0.762911,-0.0245 -0.03278,4.21321 -0.70049,-0.0226 0.07755,-9.96877 1.581305,0.0509 q 0.887751,0.0285 1.319133,0.75693 0.431382,0.72846 0.420162,2.1707 -0.0073,0.94146 -0.241028,1.55508 -0.230237,0.61371 -0.665578,0.84018 z m -1.722126,-4.24275 -0.02753,3.53879 0.880815,0.0282 q 0.506295,0.0163 0.766391,-0.42287 0.263615,-0.4457 0.27042,-1.32039 0.0068,-0.87468 -0.249851,-1.32373 -0.253135,-0.45557 -0.75943,-0.47182 z" + style="fill:#979797;fill-opacity:1;stroke-width:0.24639972" + id="path1050" + inkscape:connector-curvature="0" /> + <path + d="m 70.431222,209.22143 0.700491,0.0226 -0.07755,9.96876 -0.700491,-0.0226 z" + style="fill:#979797;fill-opacity:1;stroke-width:0.24639972" + id="path1052" + inkscape:connector-curvature="0" /> + <path + d="m 72.27608,209.28063 0.752508,0.0239 1.257715,3.74698 1.32231,-3.66423 0.752506,0.0241 -1.701775,4.73401 1.735193,5.23831 -0.752507,-0.0239 -1.423481,-4.28662 -1.499853,4.19281 -0.755975,-0.0242 1.889722,-5.26227 z" + style="fill:#585858;fill-opacity:1;stroke-width:0.24639972" + id="path1054" + inkscape:connector-curvature="0" /> + </g> + <g + id="g9547" + transform="matrix(0.28934334,-0.08585884,0,0.11855262,22.794369,198.64501)" + inkscape:transform-center-x="-0.033072916" + inkscape:transform-center-y="0.34109619"> + <g + style="display:inline" + inkscape:label="Layer 1" + id="layer4" /> + <path + id="rect5872" + d="m 11.987289,9.3234482 h 7.991524 v 3.9957608 h -7.991524 z" + style="opacity:1;fill:#0f0f00;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5874" + d="m 14.667374,10.662096 h 3.995763 v 1.331921 h -3.995763 z" + style="opacity:1;fill:#ffffff;fill-opacity:0.98571424;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5878" + d="m -29.323654,9.3234482 h 7.989551 v 3.9957608 h -7.989551 z" + style="opacity:1;fill:#0c0c00;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + transform="scale(-1,1)" + inkscape:connector-curvature="0" /> + <path + id="rect5880" + d="m 26.64423,10.662096 -3.171232,0.209056 v 1.331921 l 3.171232,-0.209056 z" + style="opacity:1;fill:#ffffff;fill-opacity:0.98571424;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5882" + d="m 19.995058,14.667374 h 1.331921 v 3.995762 h -1.331921 z" + style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5884" + d="m 20.888507,17.21991 2.579094,0.32072 v 1.33192 l -2.579094,-0.32072 z" + style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5886" + d="m 11.954803,20.011301 h 2.696328 v 2.663842 h -2.696328 z" + style="opacity:1;fill:#000200;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5888" + d="m 27.970341,20.011301 h 2.696327 v 2.663842 h -2.696327 z" + style="opacity:1;fill:#000200;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5890" + d="m 14.651131,20.011301 h 13.351695 v 1.33192 H 14.651131 Z" + style="opacity:1;fill:#000200;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + </g> + <g + aria-label="computerscare" + transform="matrix(0.40619359,0.02318378,0.08989054,1.4387823,-6.4347583,-222.15825)" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + id="text1651"> + <path + d="m 9.6564066,294.11837 -0.022491,0.23707 q -0.1028223,-0.0489 -0.2099211,-0.0673 -0.1055806,-0.0199 -0.2168506,-0.009 -0.2488775,0.0238 -0.4014201,0.19401 -0.1524199,0.16888 -0.1792271,0.45145 -0.026804,0.28254 0.095932,0.42654 0.1228661,0.14262 0.371738,0.11887 0.1112317,-0.0106 0.2224055,-0.0498 0.1127112,-0.0408 0.2267849,-0.11044 l -0.022229,0.23431 q -0.111772,0.0599 -0.2295122,0.0956 -0.1163563,0.0357 -0.2456588,0.048 -0.3517468,0.0335 -0.5381239,-0.16582 -0.1863704,-0.19938 -0.1510635,-0.57153 0.035829,-0.37767 0.2649098,-0.61397 0.2304697,-0.23642 0.5947391,-0.27118 0.1181718,-0.0112 0.2283935,0.003 0.110394,0.0127 0.2114822,0.0509 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1701" + inkscape:connector-curvature="0" /> + <path + d="m 10.696255,294.13661 q -0.205776,0.0197 -0.340506,0.19093 -0.134608,0.16992 -0.160888,0.44696 -0.02628,0.27705 0.07673,0.42565 0.104532,0.1471 0.311691,0.12734 0.204372,-0.0195 0.339118,-0.1908 0.134737,-0.1713 0.160888,-0.44696 0.02602,-0.27428 -0.07838,-0.42277 -0.10427,-0.14986 -0.308651,-0.13035 z m 0.0204,-0.21501 q 0.333675,-0.0318 0.503758,0.16499 0.170076,0.19686 0.133987,0.57727 -0.03596,0.37905 -0.246966,0.61361 -0.210875,0.23319 -0.544555,0.26503 -0.335078,0.032 -0.505151,-0.16486 -0.1685548,-0.19836 -0.1325956,-0.5774 0.036091,-0.38042 0.2455756,-0.61348 0.210875,-0.23319 0.545947,-0.26516 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1703" + inkscape:connector-curvature="0" /> + <path + d="m 13.143759,294.1394 q 0.109103,-0.20599 0.261143,-0.30389 0.152033,-0.0979 0.358066,-0.0977 0.277351,3.4e-4 0.428154,0.205 0.150801,0.203 0.151243,0.57869 l 0.0013,1.12376 -0.2932,-3.3e-4 -0.0013,-1.1138 q -3.15e-4,-0.26763 -0.0908,-0.39742 -0.0905,-0.12977 -0.275921,-0.13 -0.226635,-2.7e-4 -0.357993,0.15747 -0.131357,0.15777 -0.131036,0.4304 l 0.0012,1.05229 -0.2932,-3.4e-4 -0.0013,-1.1138 q -3.17e-4,-0.2693 -0.0908,-0.39742 -0.0905,-0.12976 -0.279091,-0.13 -0.223465,-2.8e-4 -0.354821,0.15914 -0.131357,0.15777 -0.131039,0.42874 l 0.0012,1.05227 -0.293194,-3.3e-4 -0.0022,-1.86186 0.293199,3.4e-4 3.42e-4,0.28924 q 0.09965,-0.17108 0.239016,-0.25238 0.139373,-0.0812 0.331141,-0.081 0.193354,2.3e-4 0.328188,0.10342 0.136421,0.10314 0.201631,0.29946 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.31164581" + id="path1705" + inkscape:connector-curvature="0" /> + <path + d="m 14.742929,294.81667 v 0.81855 h -0.254937 v -2.13044 h 0.254937 v 0.23426 q 0.07993,-0.1378 0.201194,-0.20395 0.122645,-0.0675 0.292144,-0.0675 0.28112,0 0.45613,0.22324 0.176389,0.22324 0.176389,0.58705 0,0.3638 -0.176389,0.58704 -0.17501,0.22324 -0.45613,0.22324 -0.169499,0 -0.292144,-0.0661 -0.121268,-0.0675 -0.201194,-0.20533 z m 0.862652,-0.53881 q 0,-0.27975 -0.115755,-0.43822 -0.114377,-0.15985 -0.315571,-0.15985 -0.201193,0 -0.316949,0.15985 -0.114377,0.15847 -0.114377,0.43822 0,0.27974 0.114377,0.43959 0.115756,0.15847 0.316949,0.15847 0.201194,0 0.315571,-0.15847 0.115755,-0.15985 0.115755,-0.43959 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1707" + inkscape:connector-curvature="0" /> + <path + d="m 16.276561,294.97975 -1.52e-4,-0.94031 0.251931,-0.0648 1.5e-4,0.9306 q 3.6e-5,0.22051 0.08495,0.30972 0.08491,0.0878 0.254686,0.0444 0.204008,-0.052 0.321737,-0.21413 0.119098,-0.16225 0.119061,-0.38971 l -1.43e-4,-0.88065 0.251931,-0.0648 2.51e-4,1.55331 -0.25193,0.0648 -3.9e-5,-0.23855 q -0.09172,0.16493 -0.213559,0.26548 -0.120476,0.0987 -0.280672,0.13983 -0.264253,0.0678 -0.401197,-0.0637 -0.136946,-0.13139 -0.136998,-0.45174 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1709" + inkscape:connector-curvature="0" /> + <path + d="m 18.344702,293.59556 v 0.43822 h 0.522277 v 0.19706 h -0.522277 v 0.83784 q 0,0.18879 0.05099,0.24254 0.05237,0.0537 0.21084,0.0537 h 0.260449 v 0.21222 H 18.60653 q -0.293522,0 -0.405144,-0.10887 -0.111621,-0.11024 -0.111621,-0.39963 V 294.2308 H 17.90373 v -0.19706 h 0.186035 v -0.43822 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1711" + inkscape:connector-curvature="0" /> + <path + d="m 20.508346,294.20141 2.1e-5,0.12482 -1.158332,0.29657 q 0.01648,0.25929 0.156153,0.36223 0.141049,0.1012 0.391609,0.037 0.145134,-0.0376 0.280676,-0.10793 0.136913,-0.0711 0.271081,-0.17758 l 4e-5,0.24133 q -0.135541,0.093 -0.277931,0.15998 -0.14239,0.0669 -0.288893,0.10441 -0.366941,0.094 -0.581938,-0.0673 -0.213628,-0.16169 -0.213688,-0.53061 -6.1e-5,-0.38138 0.202543,-0.65655 0.203972,-0.2769 0.549007,-0.36523 0.309435,-0.0789 0.488832,0.0774 0.180765,0.15485 0.18082,0.50156 z m -0.251942,-0.0103 q -0.0028,-0.2087 -0.116435,-0.30445 -0.112293,-0.0961 -0.298502,-0.0484 -0.210854,0.0537 -0.338169,0.20723 -0.125945,0.15291 -0.145079,0.37694 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1713" + inkscape:connector-curvature="0" /> + <path + d="m 21.957402,293.70647 q -0.04051,-0.0348 -0.09048,-0.0504 -0.04847,-0.0176 -0.109015,-0.0179 -0.214674,-10e-4 -0.342446,0.1935 -0.126277,0.19295 -0.148963,0.5573 l -0.07045,1.13137 -0.254581,-0.002 0.133728,-2.14769 0.254581,0.002 -0.02078,0.33365 q 0.092,-0.19509 0.225823,-0.28824 0.133948,-0.0951 0.316971,-0.0939 0.02614,1.7e-4 0.05745,0.006 0.03139,0.004 0.06931,0.0144 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.31195399" + id="path1715" + inkscape:connector-curvature="0" /> + <path + d="m 23.185447,294.16269 -0.03488,0.23723 q -0.09833,-0.0702 -0.208837,-0.11429 -0.110508,-0.0442 -0.233212,-0.0622 -0.186783,-0.0275 -0.289279,0.016 -0.101136,0.0437 -0.117973,0.15816 -0.01283,0.0873 0.04655,0.14753 0.05959,0.0589 0.254751,0.13358 l 0.08309,0.0317 q 0.258799,0.0966 0.355164,0.21797 0.09793,0.12025 0.07046,0.30705 -0.03127,0.21268 -0.218575,0.31189 -0.185938,0.0994 -0.480428,0.0561 -0.122703,-0.018 -0.252707,-0.0622 -0.128844,-0.0426 -0.269062,-0.11204 l 0.03809,-0.25904 q 0.128445,0.0927 0.258001,0.14937 0.129765,0.0553 0.262013,0.0747 0.17724,0.0261 0.281492,-0.0199 0.104454,-0.0473 0.120693,-0.15775 0.01504,-0.10226 -0.04648,-0.16702 -0.06015,-0.0645 -0.285871,-0.14928 l -0.08424,-0.0333 q -0.225922,-0.0833 -0.314703,-0.19949 -0.08858,-0.11748 -0.06252,-0.29473 0.03167,-0.21541 0.201614,-0.31021 0.169938,-0.0948 0.450794,-0.0535 0.139065,0.0204 0.258757,0.059 0.119693,0.0385 0.217301,0.0946 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1717" + inkscape:connector-curvature="0" /> + <path + d="m 24.870079,293.71708 c -0.100179,0.22188 -0.307778,-0.0461 -0.545525,-6.6e-4 -0.164833,0.0179 -0.293032,0.10436 -0.384604,0.25956 -0.09157,0.1539 -0.137716,0.36148 -0.138447,0.62276 -7.33e-4,0.26126 0.04428,0.45959 0.13504,0.59502 0.09075,0.13421 0.218558,0.19227 0.383389,0.17441 0.07366,-0.008 0.146446,-0.0291 0.218355,-0.0638 0.07282,-0.0359 0.145224,-0.0851 0.217208,-0.1478 l -9.06e-4,0.32499 c -0.07104,0.0536 -0.144798,0.096 -0.221288,0.12709 -0.07557,0.0311 -0.156182,0.0514 -0.241816,0.0606 -0.232975,0.0252 -0.417785,-0.056 -0.554422,-0.24379 -0.136639,-0.18777 -0.204478,-0.45371 -0.203514,-0.79782 9.75e-4,-0.34922 0.07081,-0.63136 0.209496,-0.84642 0.139609,-0.21517 0.330044,-0.33583 0.571307,-0.36198 0.07832,-0.009 0.154713,-0.006 0.22918,0.01 0.07456,0.013 0.399669,0.185 0.469531,0.22205 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.31195399" + id="path1719" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccccccccccccccc" /> + <path + d="m 25.27088,294.18553 c -0.304402,0.0529 -0.525511,0.12786 -0.663327,0.22513 -0.137828,0.0972 -0.231343,0.23848 -0.280543,0.42366 -0.03928,0.14762 -0.02681,0.25751 0.03737,0.32969 0.06594,0.0703 0.174662,0.0923 0.326171,0.0661 0.208862,-0.0363 0.397697,-0.14669 0.566493,-0.33111 0.170576,-0.18621 0.291885,-0.41486 0.363926,-0.68596 l 0.02455,-0.0926 z m 0.797087,-0.3022 -0.383612,1.44357 -0.376726,0.0653 0.102045,-0.38404 c -0.126834,0.16855 -0.26421,0.30088 -0.41213,0.39697 -0.147514,0.0945 -0.314103,0.15796 -0.499764,0.19024 -0.234816,0.0408 -0.402613,9.7e-4 -0.503403,-0.11943 -0.09905,-0.12214 -0.116151,-0.30522 -0.05131,-0.54922 0.07564,-0.28464 0.218662,-0.51419 0.429083,-0.68863 0.211785,-0.17469 0.488992,-0.2918 0.831621,-0.35132 l 0.528297,-0.0918 0.01074,-0.0405 c 0.05083,-0.19127 0.03271,-0.32891 -0.05434,-0.41292 -0.08529,-0.0857 -0.230985,-0.11071 -0.437105,-0.0749 -0.131051,0.0229 -0.263287,0.0623 -0.396724,0.11854 -0.133417,0.0562 -0.232984,0.0411 -0.366073,0.13043 l 0.06836,-0.29631 c 0.153469,-0.0826 0.298842,-0.14946 0.43613,-0.20066 0.137674,-0.0527 0.267953,-0.0896 0.390841,-0.11104 0.331728,-0.0577 0.554278,-0.006 0.66763,0.15556 0.113379,0.16132 0.11884,0.43475 0.01638,0.82031 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.40330327" + id="path1721" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccccccccccccccccccccccccccc" /> + <path + d="m 28.350746,293.06479 q -0.04709,-0.0384 -0.1142,-0.0519 -0.06426,-0.016 -0.151843,-0.009 -0.310422,0.0256 -0.560476,0.28676 -0.247238,0.25852 -0.401664,0.71924 l -0.479566,1.43064 -0.36814,0.0299 0.910236,-2.71577 0.36814,-0.0299 -0.141434,0.42189 q 0.198315,-0.25686 0.423198,-0.39095 0.22574,-0.13671 0.49037,-0.15847 0.03779,-0.003 0.08121,1.2e-4 0.04378,0.002 0.09559,0.009 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.41587311" + id="path1723" + inkscape:connector-curvature="0" /> + <path + d="m 30.326996,293.48066 -0.07721,0.24229 -1.650316,0.34375 c -0.09278,0.33947 -0.138463,0.41148 -0.06004,0.57791 0.08041,0.16457 0.242432,0.23498 0.485996,0.2115 0.141085,-0.0136 0.284907,-0.0499 0.431579,-0.1094 0.148004,-0.0596 0.532064,-0.24931 0.692277,-0.35528 l -0.149399,0.46849 c -0.155827,0.0882 -0.539241,0.26575 -0.690244,0.31855 -0.151003,0.053 -0.297718,0.0861 -0.440104,0.0997 -0.356698,0.034 -0.594876,-0.0783 -0.714573,-0.33822 -0.118346,-0.25999 -0.101404,-0.62871 0.05083,-1.10615 0.157467,-0.49361 0.380633,-0.89441 0.669776,-1.2024 0.291027,-0.30987 0.604243,-0.48099 0.939646,-0.51332 0.300798,-0.0292 0.496573,0.0792 0.587401,0.32437 0.0927,0.24334 0.06751,0.58936 -0.07556,1.03809 z m -0.321012,-0.1099 c 0.08366,-0.27075 0.09611,-0.4816 0.03713,-0.63247 -0.05761,-0.15106 -0.176951,-0.21781 -0.357957,-0.20038 -0.204973,0.0193 -0.394287,0.11384 -0.567816,0.28179 -0.172243,0.16794 -0.140481,0.3511 -0.249554,0.63649 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.43824852" + id="path1725" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccscccsscscscccccsccc" /> + </g> + </g> +</svg> diff --git a/src/ComputerscareMolyPatrix.cpp b/src/ComputerscareMolyPatrix.cpp @@ -73,7 +73,7 @@ struct ComputerscareMolyPatrixWidget : ModuleWidget { { ComputerscareSVGPanel *panel = new ComputerscareSVGPanel(); panel->box.size = box.size; - panel->setBackground(APP->window->loadSvg(asset::plugin(pluginInstance, "res/ComputerscareKnolyPobsPanel.svg"))); + panel->setBackground(APP->window->loadSvg(asset::plugin(pluginInstance, "res/ComputerscareMolyPatrixPanel.svg"))); //module->panelRef = panel; @@ -83,7 +83,7 @@ struct ComputerscareMolyPatrixWidget : ModuleWidget { float xx; float yy; float x0 = 6; - float dx = 22; + float dx = 21.4; float y0 = 40; float dy = 21; for (int i = 0; i < numRows; i++) { @@ -95,9 +95,9 @@ struct ComputerscareMolyPatrixWidget : ModuleWidget { } - addInput(createInput<PointingUpPentagonPort>(Vec(18, 4), module, ComputerscareMolyPatrix::POLY_INPUT)); + addInput(createInput<PointingUpPentagonPort>(Vec(8, 10), module, ComputerscareMolyPatrix::POLY_INPUT)); - addOutput(createOutput<PointingUpPentagonPort>(Vec(298, 4), module, ComputerscareMolyPatrix::POLY_OUTPUT)); + addOutput(createOutput<InPort>(Vec(318, 1), module, ComputerscareMolyPatrix::POLY_OUTPUT)); } void addLabeledKnob(std::string label, int x, int y, ComputerscareMolyPatrix *module, int index, float labelDx, float labelDy) {