computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit ca9a9ffde61532bf094176969df61984d79dcf3e
parent 05cc6f471faf715b378ab3e996bcd7320c25fc50
Author: Adam M <aemalone@gmail.com>
Date:   Sun, 17 May 2020 17:12:16 -0500

Panel for Pequencer, viz for penerator

Diffstat:
Mplugin.json | 2+-
Mres/ComputerscareSolyPequencerPanel.svg | 102++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------
Msrc/ComputerscareGolyPenerator.cpp | 8++++----
Msrc/ComputerscareHorseADoodleDoo.cpp | 17+++++++++--------
Msrc/ComputerscareSolyPequencer.cpp | 15++++++---------
5 files changed, 85 insertions(+), 59 deletions(-)

diff --git a/plugin.json b/plugin.json @@ -1,6 +1,6 @@ { "slug": "computerscare", - "version": "1.3.0", + "version": "1.4.0", "name": "computerscare", "brand": "computerscare", "author": "computerscare", diff --git a/res/ComputerscareSolyPequencerPanel.svg b/res/ComputerscareSolyPequencerPanel.svg @@ -27,8 +27,8 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="7.9999999" - inkscape:cx="50.536891" - inkscape:cy="163.17232" + inkscape:cx="30.501852" + inkscape:cy="319.59181" inkscape:document-units="mm" inkscape:current-layer="g1669" showgrid="false" @@ -37,13 +37,13 @@ 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-width="1097" + inkscape:window-height="853" + inkscape:window-x="294" inkscape:window-y="0" inkscape:window-maximized="0" inkscape:snap-global="false" - showguides="true" + showguides="false" inkscape:lockguides="false" /> <metadata id="metadata5"> @@ -275,17 +275,17 @@ inkscape:connector-curvature="0" /> </g> <path - style="fill:#232224;fill-opacity:1;stroke:none;stroke-width:0.45396167;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 15.875695,208.46838 -2.140959,-1.27492 0.05706,3.66931 -0.03904,5.83331 2.157977,1.62419 z" + style="fill:#232224;fill-opacity:1;stroke:none;stroke-width:0.47089523;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 15.839959,214.02463 -2.303661,-1.27492 0.0614,3.66931 -0.04201,5.83331 2.355046,1.82263 z" id="path890" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccc" /> <path style="fill:#626262;fill-opacity:1;stroke:none;stroke-width:0.53296405;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 2.1729618,218.74555 -2.18157457,-2.10375 13.79446877,0.0312 2.125859,1.65541 c -4.541363,0.0382 -9.1972793,0.39611 -13.7387532,0.41714 z" + d="m 1.9745243,224.3018 -1.94771373,-4.72299 c 6.04481953,-0.0555 10.07442143,-0.26556 13.65415243,-0.0155 l 2.032314,4.32142 c -4.541363,0.0382 -9.1972788,0.39611 -13.7387527,0.41714 z" id="path892" inkscape:connector-curvature="0" - sodipodi:nodetypes="ccccc" /> + sodipodi:nodetypes="cccccc" /> <path sodipodi:nodetypes="cccccc" inkscape:connector-curvature="0" @@ -296,11 +296,11 @@ sodipodi:nodetypes="cccccc" inkscape:connector-curvature="0" id="path875" - d="m 12.21722,200.01556 -1.378965,-2.08751 2.256069,12.63711 0.90751,-1.44959 -1.20706,-1.83862 z" + d="m 12.21722,200.01556 -1.378965,-2.08751 1.429246,17.1681 3.652562,-0.98657 -3.125289,-6.83263 z" style="fill:#232224;fill-opacity:1;stroke:none;stroke-width:0.45396167;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <path - style="fill:#fafafa;fill-opacity:1;stroke:none;stroke-width:0.40790954;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 13.7771,216.68913 -13.74179493,-0.0661 -0.03307292,-20.16465 10.87037685,1.97236 1.879558,8.49006 1.011234,0.29029 z" + style="fill:#fafafa;fill-opacity:1;stroke:none;stroke-width:0.46019867;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 13.7771,219.35515 -13.74179493,0.2433 -0.03307292,-23.14003 10.87037685,2.51044 1.879558,10.80621 1.011234,0.36949 z" id="rect888" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccccc" /> @@ -322,9 +322,10 @@ inkscape:connector-curvature="0" /> <path style="fill:none;stroke:#000000;stroke-width:0.6756435;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 8.7163688,198.98001 c -0.7974259,1.80914 1.6179202,3.67489 1.5707702,1.10609 -0.04253,-1.17889 -0.29068,-1.55006 -0.08831,-0.20433 0.226936,1.45165 0.487174,3.68658 -0.7643191,4.3504 -0.4498329,0.23654 -1.020826,0.2271 -1.3812147,-0.27926" + d="m 8.7163688,198.98001 c -0.7974259,1.80914 1.6179202,3.67489 1.5707702,1.10609 -0.04253,-1.17889 -0.224534,-2.4761 -0.02216,-1.13037 0.226936,1.45165 0.421028,4.61262 -0.8304651,5.27644 -0.4498329,0.23654 -1.020826,0.2271 -1.3812147,-0.27926" id="path1633" - inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccc" /> <path style="fill:none;stroke:#000000;stroke-width:0.35499159px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 0.71211567,206.18569 c -0.19802439,2.21138 0.39257783,4.70592 0.44016793,6.87993 l -0.039546,0.19239 -0.078329,0.10208" @@ -366,53 +367,48 @@ id="path1648" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.33577365;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 10.729728,206.00221 c -1.4925921,-0.61676 -1.627078,3.60382 -0.01589,2.99222 l 0.259195,-0.0906" + style="fill:none;stroke:#000000;stroke-width:0.28574583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 10.366328,205.98304 c -1.0672788,-0.62466 -1.163443,3.65 -0.01136,3.03057 l 0.185338,-0.0918" id="path1650" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.39676842px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 11.252094,207.89596 c 0.576519,0.91086 1.176054,-1.33663 0.355682,-1.49446 -0.683905,0.56373 -0.251284,3.80213 0.475209,3.06977" - id="path1654" - inkscape:connector-curvature="0" /> - <path style="fill:none;stroke:#000000;stroke-width:0.27500001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 12.495165,207.68536 c 0.08155,1.77706 0.217194,5.94542 0.27671,1.85978 -0.03845,-1.23262 0.665576,-2.46324 0.644736,-0.70153" + d="m 11.106102,206.72625 c 0.08155,1.77706 0.217194,5.94542 0.27671,1.85978 -0.03845,-1.23262 0.665576,-2.46324 0.644736,-0.70153" id="path1656" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.28861994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3.0836878,220.27173 c -0.0814,0.52459 -0.060991,1.04971 -0.059031,1.57513 0.1564184,0.0683 0.3039006,0.32754 0.6521662,0.22316" + style="fill:none;stroke:#000000;stroke-width:0.20883998px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 2.873497,225.3115 c -0.081561,0.27412 -0.061112,0.54851 -0.059148,0.82306 0.1567279,0.0357 0.3045018,0.17116 0.6534564,0.11661" id="path878" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.66578078px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3.4287563,219.92988 c -0.071878,-0.0983 -0.1437514,-0.1965 -0.2156277,-0.29475" + style="fill:none;stroke:#000000;stroke-width:0.48174649px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3.2192481,225.13287 c -0.07202,-0.0514 -0.1440357,-0.10268 -0.2160542,-0.15401" id="path880" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.33870441px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 5.0082081,219.94329 c -0.036028,0.65341 0.044072,1.3072 0.1782408,1.95529 0.00522,0.0728 -0.010421,0.35039 -0.026556,0.14689 -0.072506,-0.25278 -0.1735132,-0.50353 -0.1962996,-0.76093 -0.04263,-0.2971 -0.021933,-0.59585 0.01802,-0.89217 0.00443,-0.23047 -0.1117492,-0.47801 0.054518,-0.69597 0.1694239,-0.13388 0.4803815,-0.0664 0.6921305,-0.0146 0.4013802,0.10402 0.5003542,0.39355 0.5487257,0.62911 0.032613,0.22884 0.099401,0.45521 0.088449,0.6855 0.00617,0.37747 0.096748,0.75125 0.1723549,1.12492 0.00774,0.0339 -0.00406,0.0678 -0.00558,0.10174" + style="fill:none;stroke:#000000;stroke-width:0.24508016px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 4.8018246,225.13988 c -0.036099,0.34143 0.044159,0.68306 0.1785934,1.02171 0.00523,0.038 -0.010442,0.18309 -0.026609,0.0768 -0.072649,-0.13209 -0.1738564,-0.26312 -0.1966879,-0.39762 -0.042714,-0.15524 -0.021976,-0.31135 0.018056,-0.46619 0.00444,-0.12043 -0.1119702,-0.24978 0.054626,-0.36367 0.1697591,-0.07 0.4813318,-0.0347 0.6934997,-0.008 0.4021743,0.0544 0.5013441,0.20565 0.5498113,0.32874 0.032677,0.11957 0.099598,0.23786 0.088624,0.35819 0.00618,0.19725 0.096939,0.39256 0.1726959,0.58782 0.00776,0.0177 -0.00407,0.0354 -0.00559,0.0532" id="path882" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.33870441px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 8.382739,223.21153 c 0.047823,-0.61032 -0.4166338,-1.18137 -0.4437309,-1.78962 -0.1562586,-0.61478 -0.4313906,-1.26478 -0.2973855,-1.87031 0.7290356,0.27312 1.5385827,0.582 1.9306415,1.08123 0.6108979,0.37408 -0.1134002,0.81899 -0.8180991,0.60632 -0.2668374,0.0146 -0.5439416,0.0869 -0.8068549,0.0181" + style="fill:none;stroke:#000000;stroke-width:0.24508016px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 8.1830312,226.84765 c 0.047918,-0.31891 -0.417458,-0.6173 -0.4446087,-0.93514 -0.1565677,-0.32124 -0.432244,-0.66089 -0.2979738,-0.9773 0.7304778,0.14271 1.5416265,0.30411 1.9344609,0.56498 0.6121064,0.19547 -0.1136246,0.42795 -0.8197176,0.31682 -0.2673653,0.008 -0.5450176,0.0454 -0.8084511,0.009" id="path884" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.3623476px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 10.573535,219.65318 c 0.0024,0.45072 -0.0046,0.90145 0.003,1.35216 0.18021,0.23021 0.403964,0.44675 0.558954,0.68217 0.112119,0.18963 0.425715,0.12429 0.368139,-0.0656 0.195838,-0.23747 0.131491,-0.51343 0.142698,-0.7718 0.0037,-0.34219 0.09668,-0.68261 0.04718,-1.02713 -0.04899,-0.26698 -0.07205,0.15913 0.04682,0.24756 0.07978,0.53184 0.15333,1.06577 0.287924,1.59446 0.07478,0.16006 0.188929,0.31588 0.205143,0.48386" + style="fill:none;stroke:#000000;stroke-width:0.26218793px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 10.378161,224.98829 c 0.0024,0.23552 -0.0046,0.47104 0.003,0.70655 0.180566,0.12029 0.404763,0.23344 0.560059,0.35646 0.112341,0.0991 0.426558,0.0649 0.368868,-0.0343 0.196225,-0.12409 0.131751,-0.26829 0.14298,-0.40329 0.0037,-0.17881 0.09687,-0.35669 0.04727,-0.53672 -0.04909,-0.1395 -0.07219,0.0832 0.04691,0.12936 0.07994,0.27791 0.153633,0.55691 0.288494,0.83317 0.07493,0.0836 0.189302,0.16505 0.205548,0.25283" id="path886" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.30707172px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 13.384908,219.20166 c 0.203265,1.01892 1.074412,1.97363 0.948718,3.01822 l -0.07075,0.11513" + style="fill:none;stroke:#000000;stroke-width:0.22219135px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 13.195095,224.75235 c 0.203668,0.53242 1.076538,1.0313 0.950595,1.57713 l -0.07089,0.0602" id="path888" inkscape:connector-curvature="0" /> <path - style="fill:none;stroke:#000000;stroke-width:0.30707172px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 12.67147,219.81284 c 0.823667,0.0157 1.674547,-0.0614 2.469754,0.10794" + style="fill:none;stroke:#000000;stroke-width:0.22219135px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 12.480246,225.07172 c 0.825297,0.008 1.67786,-0.0321 2.47464,0.0564" id="path891" inkscape:connector-curvature="0" /> <path @@ -542,5 +538,37 @@ d="m 15.071771,257.20914 c -0.65677,-0.19168 -1.043095,0.57137 -0.936417,1.10001 -0.18685,0.73063 1.035432,1.0452 1.012765,0.25482 -0.203001,-0.28931 -0.587313,-0.44638 -0.946448,-0.39759" id="path983" inkscape:connector-curvature="0" /> + <rect + style="fill:#a7a7a7;fill-opacity:1;stroke:none;stroke-width:0.21378359;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.60101007;paint-order:stroke fill markers" + id="rect1739" + width="5.8869791" + height="5.9861979" + x="10.021093" + y="217.52577" /> + <path + style="fill:#161414;fill-opacity:1;stroke:none;stroke-width:0.15730782;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.60101007;paint-order:stroke fill markers" + id="path1741" + d="m 11.067281,218.19868 c 0.111374,4.6e-4 0.222107,-0.0127 0.332696,-0.0205 0.114438,-0.0144 0.231303,-0.0195 0.345279,-0.0354 0.0077,-9.2e-4 0.119454,-0.0194 0.130971,-0.0212 0.138217,-0.034 0.0989,-0.026 -0.204685,0.077 -0.01175,0.004 0.02291,-0.009 0.03334,-0.014 0.03064,-0.0154 0.04244,-0.0331 0.05485,-0.0556 0.02311,-0.0481 0.0045,-0.0905 -0.0338,-0.13288 -0.05488,-0.0476 -0.130802,-0.0816 -0.205803,-0.11547 -0.07425,-0.0302 -0.156784,-0.047 -0.243187,-0.0574 -0.06907,-0.005 -0.143179,-0.015 -0.209833,0.003 -0.01365,0.004 -0.02566,0.01 -0.0385,0.0143 0.489994,-0.18366 0.237671,-0.0917 0.143038,-0.0331 -0.02961,0.0183 -0.03893,0.0268 -0.06479,0.047 -0.06179,0.0515 -0.100396,0.11159 -0.131463,0.1725 -0.02775,0.0651 -0.02991,0.13272 -0.03299,0.19963 10e-4,0.0451 8.77e-4,0.0901 0.0043,0.13514 -0.0023,0.0353 0.02013,0.0383 0.06498,0.0541 0.08129,0.0316 0.165406,0.06 0.243766,0.0945 0.06481,0.0306 0.139073,0.0513 0.208729,0.0769 0.04401,0.015 0.09315,0.0183 0.142252,0.02 0.03456,-0.002 0.04069,-0.004 0.06939,-0.0151 0.0081,-0.003 0.03342,-0.0113 0.02518,-0.008 -0.290484,0.10406 -0.359575,0.13993 -0.255411,0.0876 0.03531,-0.0174 0.06926,-0.0364 0.106434,-0.0523 0,0 0.329489,-0.0857 0.329489,-0.0857 v 0 c -0.02251,0.02 -0.07845,0.039 -0.110159,0.054 -0.102897,0.0729 -0.01638,0.0145 -0.345673,0.13395 -0.03287,0.0119 -0.06984,0.0161 -0.107386,0.0143 -0.05294,-0.004 -0.104565,-0.011 -0.150276,-0.029 -0.06766,-0.0272 -0.138879,-0.0506 -0.203603,-0.0805 -0.07817,-0.0344 -0.162542,-0.0631 -0.247446,-0.0904 -0.05239,-0.0182 -0.09053,-0.0322 -0.08534,-0.0736 0.0023,-0.0462 0.0012,-0.0924 0.0043,-0.13855 0.0013,-0.0686 0.0067,-0.13767 0.02983,-0.20494 0.02673,-0.0633 0.06622,-0.12455 0.124196,-0.17937 0.01197,-0.01 0.04938,-0.0412 0.06256,-0.0502 0.121361,-0.0829 0.293045,-0.13165 0.446493,-0.18368 0.01477,-0.004 0.02904,-0.008 0.0443,-0.011 0.07093,-0.0129 0.1466,-0.002 0.217378,0.005 0.0895,0.012 0.175707,0.0316 0.250666,0.0653 0.07907,0.0355 0.157422,0.0729 0.21521,0.12268 0.04236,0.0456 0.0706,0.0947 0.04866,0.14779 -0.01385,0.0351 -0.02784,0.0656 -0.0809,0.0851 -0.33212,0.12165 -0.215619,0.0962 -0.388336,0.13013 -0.155406,0.0229 -0.313258,0.0355 -0.470874,0.0509 -0.119192,0.0102 -0.237604,0.0255 -0.358023,0.0288 0,0 0.290132,-0.1318 0.290132,-0.1318 z" + inkscape:connector-curvature="0" /> + <path + style="fill:#161414;fill-opacity:1;stroke:none;stroke-width:0.15730782;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.60101007;paint-order:stroke fill markers" + id="path1743" + d="m 13.051935,217.92211 c -0.0038,0.002 -0.0071,0.005 -0.01145,0.006 -0.02256,0.009 -0.01574,0.002 -0.04243,0.009 -0.0072,0.002 -0.01313,0.005 -0.01994,0.008 -0.0081,0.003 -0.03258,0.0107 -0.02463,0.008 0.09208,-0.0333 0.184682,-0.066 0.277022,-0.099 -0.06157,0.0216 -0.119871,0.0464 -0.178109,0.0713 -0.04795,0.0192 -0.09589,0.0398 -0.126807,0.0703 -0.03611,0.0504 -0.04247,0.1068 -0.04047,0.16131 0.0313,0.0973 0.123657,0.17937 0.217121,0.25728 0.06928,0.053 0.134257,0.10816 0.213632,0.15567 0.03006,0.018 0.07525,0.0408 0.107356,0.0574 0.09043,0.0433 0.196878,0.0717 0.306158,0.0904 0.08593,0.0122 0.174232,0.013 0.261894,0.013 0.115678,-0.0277 0.295787,-0.0869 -0.214135,0.0804 -0.0098,0.003 0.01729,-0.009 0.02456,-0.0139 0.01888,-0.0135 0.02331,-0.0237 0.03503,-0.0403 0.03506,-0.0648 0.03726,-0.13368 0.0417,-0.2013 0.002,-0.08 -0.02739,-0.15884 -0.06789,-0.23433 -0.035,-0.0614 -0.08631,-0.11849 -0.151273,-0.16935 -0.04844,-0.0337 -0.09577,-0.0725 -0.157786,-0.097 -0.03758,-0.0175 -0.07687,-0.0246 -0.122675,-0.0272 -0.05196,-0.001 -0.104077,-0.002 -0.156096,-0.001 -0.04882,7e-5 -0.09762,9.1e-4 -0.146443,9.1e-4 -0.02316,4.6e-4 -0.04634,9.2e-4 -0.0695,9.2e-4 -0.01638,0.001 -0.03684,-0.004 -0.0484,0.005 0.101219,-0.0356 0.202438,-0.0713 0.303658,-0.10693 -0.0023,9.1e-4 -0.0044,0.002 -0.0067,0.003 -0.173821,0.0615 -0.217119,0.11356 -0.361181,0.11352 -0.03895,0.003 -0.07653,-0.005 -0.114334,-0.0102 -0.0055,-0.002 -0.01092,-0.003 -0.01638,-0.005 0,0 0.296602,-0.12432 0.296602,-0.12432 v 0 c 0.0043,9.2e-4 0.0087,10e-4 0.01306,0.002 0.03571,0.005 0.07096,0.009 0.107593,0.005 0.0051,-4.5e-4 0.0217,-0.003 0.02779,-0.004 0.0038,-9.2e-4 0.01452,-0.005 0.01101,-0.003 -0.743104,0.26831 -0.03793,0.0118 0.02319,-0.007 0.0182,9.1e-4 0.03638,9.1e-4 0.05462,9.1e-4 0.02219,-2.5e-4 0.0444,1.5e-4 0.06658,4.6e-4 0.04799,7e-5 0.09596,4.1e-4 0.143947,2e-4 0.05365,1.5e-4 0.10745,-9.2e-4 0.16086,0.003 0.04918,0.006 0.09044,0.0177 0.12971,0.0372 0.05999,0.03 0.110019,0.0673 0.158126,0.10448 0.06391,0.0545 0.118724,0.11251 0.152043,0.17726 0.04139,0.0781 0.07108,0.15835 0.07309,0.24101 -0.0015,0.0687 -0.0024,0.13842 -0.02968,0.20543 -0.0067,0.0139 -0.01512,0.0343 -0.02691,0.0473 -0.0057,0.006 -0.0112,0.0134 -0.02095,0.0172 -0.134572,0.0532 -0.24331,0.118 -0.395471,0.12908 -0.08851,-0.002 -0.177652,-0.005 -0.263324,-0.0198 -0.110278,-0.0229 -0.219585,-0.0517 -0.30812,-0.0999 -0.03797,-0.0204 -0.07219,-0.0379 -0.107344,-0.0603 -0.07739,-0.0494 -0.143349,-0.10509 -0.21257,-0.15878 -0.09659,-0.0814 -0.193187,-0.16573 -0.235299,-0.26505 -0.0078,-0.056 -0.0045,-0.11348 0.02218,-0.1676 0.02001,-0.0369 0.07012,-0.0623 0.122688,-0.0818 0.05704,-0.0252 0.114122,-0.0506 0.175367,-0.0718 0.108846,-0.0395 0.217404,-0.0792 0.326536,-0.11836 0.02424,-0.009 0.06557,-0.0204 0.09288,-0.0242 0.0067,-9.2e-4 0.01367,-4.6e-4 0.0205,-9.2e-4 0,0 -0.290132,0.13181 -0.290132,0.13181 z" + inkscape:connector-curvature="0" /> + <path + style="fill:#161414;fill-opacity:1;stroke:none;stroke-width:0.15730782;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.60101007;paint-order:stroke fill markers" + id="path1745" + d="m 14.791059,218.16392 c -0.05792,-10e-4 -0.115908,-10e-4 -0.173857,-10e-4 -0.02963,0.004 -0.07077,-0.004 -0.09952,9.1e-4 -0.0061,9.2e-4 -0.0215,0.008 -0.016,0.006 0.09689,-0.0337 0.193461,-0.0678 0.290191,-0.10175 -0.04646,0.0167 -0.05818,0.0468 -0.06618,0.0777 -0.01391,0.0465 -0.02236,0.0933 -0.0267,0.14049 -0.0025,0.0387 -0.0037,0.0775 -0.0034,0.11629 -0.0064,0.0416 0.01858,0.0776 0.04761,0.1138 0.04674,0.0407 0.100849,0.0777 0.162964,0.10929 0.06892,0.0312 0.146799,0.0467 0.230012,0.0545 0.08761,0.006 0.17595,0.006 0.263954,0.005 0.05316,1.6e-4 0.106283,-0.001 0.159422,-0.002 0.01714,-3.1e-4 0.0091,-1.5e-4 0.0242,-4.6e-4 0,0 -0.29043,0.1321 -0.29043,0.1321 v 0 c -0.01393,-2.3e-4 -0.0064,-1.2e-4 -0.02242,-2.9e-4 -0.05095,-1.7e-4 -0.101901,-0.001 -0.152863,-9.1e-4 -0.08859,-9.2e-4 -0.177563,-9.2e-4 -0.265449,-0.009 -0.08713,-0.0103 -0.170317,-0.0288 -0.240891,-0.0635 -0.06565,-0.0337 -0.120895,-0.0737 -0.171502,-0.11636 -0.03313,-0.0383 -0.0632,-0.0774 -0.05836,-0.12221 7.31e-4,-0.0394 -2.13e-4,-0.0788 0.0045,-0.11813 0.0053,-0.0473 0.01199,-0.0945 0.02444,-0.14132 0.0048,-0.032 0.0092,-0.0711 0.04984,-0.0938 0.301106,-0.10773 0.231165,-0.11969 0.440625,-0.11554 0.05969,1e-4 0.119413,1.3e-4 0.179069,-0.001 0,0 -0.289281,0.13142 -0.289281,0.13142 z" + inkscape:connector-curvature="0" /> + <path + style="fill:#4f4f4f;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 10.056016,223.42736 -1.4499373,-0.37417 0.093545,-4.91108 1.3096203,-0.60804 z" + id="path1747" + inkscape:connector-curvature="0" /> + <path + style="fill:#626262;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 5.3086409,219.4985 4.7006031,-0.11693 -1.3797791,3.01681 z" + id="path1771" + inkscape:connector-curvature="0" /> </g> </svg> diff --git a/src/ComputerscareGolyPenerator.cpp b/src/ComputerscareGolyPenerator.cpp @@ -106,14 +106,14 @@ struct PeneratorDisplay : TransparentWidget { Points pts = Points(); nvgTranslate(args.vg, box.size.x / 2, box.size.y/2); - pts.linear(16, Vec(0, 0), Vec(0, 40)); + pts.linear(ch, Vec(0, -box.size.y/2), Vec(0, 2*box.size.y/ch)); std::vector<Vec> polyVals; std::vector<NVGcolor> colors; std::vector<Vec> thicknesses; for (int i = 0; i < 16; i++) { polyVals.push_back(Vec(valsToDraw[i] * 2,0.f)); - colors.push_back(draw.sincolor(valsToDraw[i])); + colors.push_back(draw.sincolor(valsToDraw[i],{2,2,1})); thicknesses.push_back(Vec(3.f, 0)); } @@ -139,8 +139,8 @@ struct ComputerscareGolyPeneratorWidget : ModuleWidget { PeneratorDisplay *display = new PeneratorDisplay(); display->module = module; - display->box.pos = Vec(0, 30); - display->box.size = Vec(box.size.x, 120); + display->box.pos = Vec(0, 70); + display->box.size = Vec(box.size.x, 300); //display->sizex addChild(display); diff --git a/src/ComputerscareHorseADoodleDoo.cpp b/src/ComputerscareHorseADoodleDoo.cpp @@ -252,7 +252,7 @@ struct ComputerscareHorseADoodleDoo : ComputerscarePolyModule { float densityVal = params[DENSITY_KNOB].getValue() + params[DENSITY_TRIM].getValue() * inputs[DENSITY_CV].getVoltage(fmin(i, densityNum)) / 10; patternVal+=i*params[PATTERN_SPREAD].getValue(); - stepsVal+=std::floor(params[STEPS_SPREAD].getValue()*i*i); + stepsVal+=std::floor(params[STEPS_SPREAD].getValue()*i*stepsVal); densityVal+=params[DENSITY_SPREAD].getValue()*i/10; seq[i].checkAndArm(patternVal, stepsVal, densityVal); @@ -529,7 +529,7 @@ struct ComputerscareHorseADoodleDooWidget : ModuleWidget { smallLetterDisplay = new SmallLetterDisplay(); smallLetterDisplay->box.size = Vec(5, 10); smallLetterDisplay->letterSpacing = 0.5; - smallLetterDisplay->fontSize = 21; + smallLetterDisplay->fontSize = 16; smallLetterDisplay->value = label; smallLetterDisplay->textAlign = 1; smallLetterDisplay->box.pos = Vec(x - 4, y - 15); @@ -538,9 +538,7 @@ struct ComputerscareHorseADoodleDooWidget : ModuleWidget { if (knobType == 0) {//smooth addParam(createParam<SmoothKnob>(Vec(x, y), module, knobIndex)); //trim knob - addParam(createParam<SmallKnob>(Vec(x + 30, y), module, knobIndex + 1)); - addInput(createInput<TinyJack>(Vec(x + 40, y), module, inputIndex)); - addParam(createParam<ScrambleKnob>(Vec(x+30, y+20), module, scrambleIndex)); + } else if (knobType == 1 || knobType == 2) { @@ -556,12 +554,15 @@ struct ComputerscareHorseADoodleDooWidget : ModuleWidget { addChild(numStepsKnob); if (knobType == 1) { //trim knob - addParam(createParam<SmallKnob>(Vec(x + 30, y), module, knobIndex + 1)); - addInput(createInput<TinyJack>(Vec(x + 40, y), module, inputIndex)); - addParam(createParam<ScrambleKnob>(Vec(x+30, y+20), module, scrambleIndex)); + //addParam(createParam<SmallKnob>(Vec(x + 30, y), module, knobIndex + 1)); + //addInput(createInput<TinyJack>(Vec(x + 40, y), module, inputIndex)); + //addParam(createParam<ScrambleKnob>(Vec(x+30, y+20), module, scrambleIndex)); } } + addParam(createParam<SmallKnob>(Vec(x + 30, y-15), module, knobIndex + 1)); + addInput(createInput<TinyJack>(Vec(x + 40, y-10), module, inputIndex)); + addParam(createParam<ScrambleKnob>(Vec(x+30, y+5), module, scrambleIndex)); diff --git a/src/ComputerscareSolyPequencer.cpp b/src/ComputerscareSolyPequencer.cpp @@ -169,30 +169,27 @@ struct ComputerscareSolyPequencerWidget : ModuleWidget { } - addOutput(createOutput<PointingUpPentagonPort>(Vec(14, 48), module, ComputerscareSolyPequencer::POLY_OUTPUT)); - addOutput(createOutput<PointingUpPentagonPort>(Vec(34, 48), module, ComputerscareSolyPequencer::EOC_OUTPUT)); + addOutput(createOutput<PointingUpPentagonPort>(Vec(4, 56), module, ComputerscareSolyPequencer::POLY_OUTPUT)); + addOutput(createOutput<TinyJack>(Vec(40, 84), module, ComputerscareSolyPequencer::EOC_OUTPUT)); - channelWidget = new PolyOutputChannelsWidget(Vec(2, 8), module, ComputerscareSolyPequencer::POLY_CHANNELS); + channelWidget = new PolyOutputChannelsWidget(Vec(26, 56), module, ComputerscareSolyPequencer::POLY_CHANNELS); addChild(channelWidget); addLabeledKnob("Steps", 10, 124, module, 0, 0, 0); stepNumberGrid(1, 230, 30, 15, module); - addInput(createInput<InPort>(Vec(19, 102), module, ComputerscareSolyPequencer::POLY_INPUT)); + addInput(createInput<InPort>(Vec(20, 114), module, ComputerscareSolyPequencer::POLY_INPUT)); - addParam(createParam<ComputerscareClockButton>(Vec(10, 130), module, ComputerscareSolyPequencer::MANUAL_CLOCK_BUTTON)); - addInput(createInput<InPort>(Vec(10, 144), module, ComputerscareSolyPequencer::CLOCK_INPUT)); + addParam(createParam<ComputerscareClockButton>(Vec(10, 150), module, ComputerscareSolyPequencer::MANUAL_CLOCK_BUTTON)); + addInput(createInput<PointingUpPentagonPort>(Vec(8, 169), module, ComputerscareSolyPequencer::CLOCK_INPUT)); addParam(createParam<ComputerscareResetButton>(Vec(30, 168), module, ComputerscareSolyPequencer::MANUAL_RESET_BUTTON)); addInput(createInput<InPort>(Vec(30, 182), module, ComputerscareSolyPequencer::RESET_INPUT)); - - - } void stepNumberGrid(int x, int y, int xspacing, int yspacing, ComputerscareSolyPequencer *module) { for (int i = 0; i < 2; i++) {