Browse Source

Add Pulses.

tags/v1.4.0
Andrew Belt 4 years ago
parent
commit
eb41dd7cdf
7 changed files with 510 additions and 20 deletions
  1. +3
    -0
      CHANGELOG.md
  2. +10
    -2
      plugin.json
  3. +383
    -0
      res/Pulses.svg
  4. +10
    -18
      src/Mutes.cpp
  5. +102
    -0
      src/Pulses.cpp
  6. +1
    -0
      src/plugin.cpp
  7. +1
    -0
      src/plugin.hpp

+ 3
- 0
CHANGELOG.md View File

@@ -1,3 +1,6 @@
### 1.4.0 (2019-11-08)
- Add Pulses.

### 1.3.1 (2019-10-19)
- Include LEDSliderHandle.svg from Rack v1.1.5 so older versions correctly render panels.



+ 10
- 2
plugin.json View File

@@ -1,6 +1,6 @@
{
"slug": "Fundamental",
"version": "1.3.1",
"version": "1.4.0",
"license": "GPL-3.0-only",
"name": "Fundamental",
"brand": "VCV",
@@ -125,12 +125,20 @@
{
"slug": "Mutes",
"name": "Mutes",
"description": "Toggles 10 signals on/off",
"description": "Toggles up to 10 signals",
"tags": [
"Switch",
"Polyphonic"
]
},
{
"slug": "Pulses",
"name": "Pulses",
"description": "Generates up to 10 trigger and gate signals",
"tags": [
"Switch"
]
},
{
"slug": "Scope",
"name": "Scope",


+ 383
- 0
res/Pulses.svg View File

@@ -0,0 +1,383 @@
<?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="40.639721mm"
height="128.49931mm"
viewBox="0 0 40.63972 128.49931"
version="1.1"
id="svg4352"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="Pulses.svg">
<defs
id="defs4346" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="76.454575"
inkscape:cy="369.01611"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="true"
inkscape:snap-nodes="false"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-others="false"
inkscape:snap-page="true"
inkscape:window-width="1600"
inkscape:window-height="882"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:window-maximized="0"
inkscape:bbox-nodes="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata4349">
<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,-168.5)">
<path
inkscape:connector-curvature="0"
style="fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="M 0.093697,168.59371 H 40.546021 V 296.90698 H 0.093697 Z m 0,0"
id="path42631" />
<path
inkscape:connector-curvature="0"
style="fill:#ababab;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="M 40.639721,168.5 H 0 V 296.99931 H 40.639721 Z M 40.452324,296.81328 H 0.186055 V 168.68741 h 40.266269 z m 0,0"
id="path42633" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:0.23495002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1"
d="m 8.319197,190.00429 v 89.99968"
id="path43345" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 12.111567,177.76197 c 0,0.1819 0.143334,0.33073 0.325226,0.33073 0.181892,0 0.325226,-0.14883 0.325226,-0.33073 v -0.58429 h 0.496076 c 0.661458,0 1.196163,-0.35829 1.196163,-1.0418 v -0.011 c 0,-0.60634 -0.429965,-1.02526 -1.135521,-1.02526 h -0.881944 c -0.181892,0 -0.325226,0.14882 -0.325226,0.33073 z m 0.650452,-1.16307 v -0.9095 h 0.501614 c 0.325191,0 0.529167,0.15985 0.529167,0.45199 v 0.006 c 0,0.25356 -0.187431,0.452 -0.51816,0.452 z m 0,0"
id="path53649" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 16.202978,178.10923 c 0.79375,0 1.300868,-0.43546 1.300868,-1.33394 v -1.37252 c 0,-0.1819 -0.148837,-0.32522 -0.330729,-0.32522 -0.181892,0 -0.325226,0.14332 -0.325226,0.32522 v 1.39457 c 0,0.47405 -0.242535,0.71107 -0.63941,0.71107 -0.396875,0 -0.639409,-0.24805 -0.639409,-0.72761 v -1.37803 c 0,-0.1819 -0.143299,-0.32522 -0.325191,-0.32522 -0.181927,0 -0.325226,0.14332 -0.325226,0.32522 v 1.39457 c 0,0.87092 0.48507,1.31189 1.284323,1.31189 z m 0,0"
id="path53645" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 18.232121,177.73992 c 0,0.1819 0.143333,0.32522 0.325226,0.32522 h 1.532396 c 0.165347,0 0.292135,-0.1323 0.292135,-0.29766 0,-0.16536 -0.126788,-0.29766 -0.292135,-0.29766 h -1.207171 v -2.06705 c 0,-0.1819 -0.143333,-0.32522 -0.325225,-0.32522 -0.181893,0 -0.325226,0.14332 -0.325226,0.32522 z m 0,0"
id="path53641" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 21.973082,178.10923 c 0.63941,0 1.085885,-0.33073 1.085885,-0.92053 v -0.011 c 0,-0.51263 -0.336232,-0.72761 -0.937048,-0.88746 -0.512621,-0.13229 -0.63941,-0.19292 -0.63941,-0.38585 v -0.011 c 0,-0.14332 0.126789,-0.25907 0.38033,-0.25907 0.203941,0 0.407917,0.0717 0.622865,0.19843 0.04964,0.0331 0.09924,0.0496 0.165382,0.0496 0.165347,0 0.303177,-0.13229 0.303177,-0.30317 0,-0.12678 -0.07168,-0.21497 -0.143333,-0.25907 -0.270087,-0.16536 -0.578768,-0.25907 -0.942588,-0.25907 -0.606319,0 -1.036284,0.35278 -1.036284,0.89297 v 0.006 c 0,0.5898 0.385868,0.75517 0.981181,0.90951 0.496076,0.12678 0.600816,0.20946 0.600816,0.37483 v 0.011 c 0,0.17088 -0.165348,0.27561 -0.429931,0.27561 -0.286632,0 -0.534705,-0.0992 -0.755191,-0.26459 -0.0441,-0.0331 -0.104705,-0.0606 -0.187396,-0.0606 -0.170885,0 -0.30868,0.13229 -0.30868,0.30317 0,0.0992 0.0551,0.19292 0.126788,0.24253 0.330729,0.23703 0.722066,0.35829 1.113437,0.35829 z m 0,0"
id="path53637" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 23.999332,178.06514 h 1.659149 c 0.165383,0 0.292171,-0.12678 0.292171,-0.28664 0,-0.15985 -0.126788,-0.29214 -0.292171,-0.29214 h -1.339426 v -0.62287 h 1.129982 c 0.159844,0 0.292136,-0.12678 0.292136,-0.28664 0,-0.16536 -0.132292,-0.29214 -0.292136,-0.29214 h -1.129982 v -0.60082 h 1.322916 c 0.159844,0 0.292136,-0.12678 0.292136,-0.29215 0,-0.15985 -0.132292,-0.29214 -0.292136,-0.29214 h -1.642639 c -0.181892,0 -0.325226,0.14883 -0.325226,0.33073 v 2.30959 c 0,0.1819 0.143334,0.32522 0.325226,0.32522 z m 0,0"
id="path53629" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 27.584367,178.10923 c 0.639408,0 1.085884,-0.33073 1.085884,-0.92053 v -0.011 c 0,-0.51263 -0.336232,-0.72761 -0.937048,-0.88746 -0.512622,-0.13229 -0.639411,-0.19292 -0.639411,-0.38585 v -0.011 c 0,-0.14332 0.126789,-0.25907 0.380331,-0.25907 0.203941,0 0.407916,0.0717 0.622864,0.19843 0.04963,0.0331 0.09924,0.0496 0.165383,0.0496 0.165346,0 0.303178,-0.13229 0.303178,-0.30317 0,-0.12678 -0.07169,-0.21497 -0.143336,-0.25907 -0.270086,-0.16536 -0.578765,-0.25907 -0.942586,-0.25907 -0.606319,0 -1.036285,0.35278 -1.036285,0.89297 v 0.006 c 0,0.5898 0.385868,0.75517 0.981181,0.90951 0.496077,0.12678 0.600815,0.20946 0.600815,0.37483 v 0.011 c 0,0.17088 -0.165346,0.27561 -0.429929,0.27561 -0.286631,0 -0.534704,-0.0992 -0.755192,-0.26459 -0.0441,-0.0331 -0.104704,-0.0606 -0.187394,-0.0606 -0.170886,0 -0.308682,0.13229 -0.308682,0.30317 0,0.0992 0.0551,0.19292 0.126789,0.24253 0.330729,0.23703 0.722066,0.35829 1.113438,0.35829 z m 0,0"
id="path53633" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 6.568087,184.14866 c 0,0.0772 0.06615,0.1378 0.143334,0.1378 0.07715,0 0.143298,-0.0606 0.143298,-0.1378 v -1.21819 h 0.391372 c 0.07165,0 0.126788,-0.0606 0.126788,-0.12678 0,-0.0717 -0.05514,-0.13229 -0.126788,-0.13229 h -1.06934 c -0.07168,0 -0.126789,0.0606 -0.126789,0.13229 0,0.0662 0.0551,0.12678 0.126789,0.12678 h 0.391336 z m 0,0"
id="path53621" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 7.411614,184.15417 c 0,0.0772 0.06064,0.13229 0.132292,0.13229 0.06064,0 0.110243,-0.0331 0.132291,-0.0882 l 0.132292,-0.30868 h 0.782744 l 0.132291,0.29765 c 0.02187,0.0606 0.06615,0.0992 0.137795,0.0992 0.07165,0 0.132292,-0.0606 0.132292,-0.13229 0,-0.0221 -0.0056,-0.0441 -0.01658,-0.0606 L 8.381718,182.7596 c -0.03316,-0.0661 -0.08819,-0.11025 -0.170886,-0.11025 h -0.01093 c -0.08269,0 -0.137795,0.0441 -0.170885,0.11025 l -0.595313,1.33394 c -0.01093,0.022 -0.02187,0.0441 -0.02187,0.0606 z m 0.507118,-0.51814 0.281129,-0.64492 0.281128,0.64492 z m 0,0"
id="path53625" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 9.341097,184.14866 c 0,0.0772 0.06615,0.1378 0.143333,0.1378 0.07715,0 0.143299,-0.0606 0.143299,-0.1378 v -0.39137 h 0.314184 c 0.352778,0 0.644948,-0.18741 0.644948,-0.5457 v -0.006 c 0,-0.32522 -0.237031,-0.53468 -0.611858,-0.53468 H 9.48443 c -0.07719,0 -0.143333,0.0606 -0.143333,0.14332 z m 0.286632,-0.64493 v -0.57877 h 0.325226 c 0.209444,0 0.347274,0.0992 0.347274,0.28663 v 0.006 c 0,0.17087 -0.132291,0.28663 -0.347274,0.28663 z m 0,0"
id="path53617" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="m 24.159775,181.31713 h -7.681172 c -0.552626,0 -1.000477,0.44649 -1.000477,0.99908 v 101.94038 c 0,0.55259 0.447851,1.00046 1.000477,1.00046 h 7.681172 c 0.552591,0 1.000443,-0.44787 1.000443,-1.00046 V 182.31621 c 0,-0.55259 -0.447852,-0.99908 -1.000443,-0.99908"
id="path46223" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 17.931907,184.43011 c 0,0.0992 0.07715,0.17639 0.176389,0.17639 0.0992,0 0.176389,-0.0772 0.176389,-0.17639 v -1.11345 h 0.336232 c 0.0937,0 0.165347,-0.0717 0.165347,-0.16537 0,-0.0882 -0.07165,-0.15985 -0.165347,-0.15985 h -1.030781 c -0.08819,0 -0.159844,0.0717 -0.159844,0.15985 0,0.0937 0.07165,0.16537 0.159844,0.16537 h 0.341771 z m 0,0"
id="path53609" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 19.095756,184.43011 c 0,0.0992 0.07715,0.17639 0.176389,0.17639 0.0992,0 0.176389,-0.0772 0.176389,-0.17639 v -0.34727 h 0.281128 l 0.34724,0.43547 c 0.03859,0.0496 0.09373,0.0882 0.170885,0.0882 0.0882,0 0.170886,-0.0606 0.170886,-0.15985 0,-0.0551 -0.02752,-0.0937 -0.06064,-0.13781 l -0.242535,-0.29765 c 0.192935,-0.0772 0.319723,-0.23703 0.319723,-0.48507 v -0.006 c 0,-0.15434 -0.04964,-0.2756 -0.13783,-0.36931 -0.104705,-0.10473 -0.264584,-0.15985 -0.468524,-0.15985 h -0.556719 c -0.09924,0 -0.176389,0.0772 -0.176389,0.17639 z m 0.352778,-0.66146 v -0.45751 h 0.352778 c 0.170885,0 0.27559,0.0772 0.27559,0.226 v 0.006 c 0,0.1378 -0.0992,0.226 -0.270087,0.226 z m 0,0"
id="path53613" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 20.851072,184.43011 c 0,0.0992 0.07719,0.17639 0.176389,0.17639 0.09924,0 0.176389,-0.0772 0.176389,-0.17639 v -1.27882 c 0,-0.0992 -0.07715,-0.17639 -0.176389,-0.17639 -0.0992,0 -0.176389,0.0772 -0.176389,0.17639 z m 0,0"
id="path53605" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 22.440231,184.62303 c 0.242534,0 0.42993,-0.0827 0.562221,-0.15985 0.08269,-0.0496 0.126789,-0.12126 0.126789,-0.226 v -0.39136 c 0,-0.0992 -0.08269,-0.17639 -0.181892,-0.17639 H 22.54497 c -0.08269,0 -0.15434,0.0717 -0.15434,0.15434 0,0.0882 0.07165,0.15434 0.15434,0.15434 h 0.242535 v 0.226 c -0.09373,0.0662 -0.203976,0.0992 -0.336268,0.0992 -0.281093,0 -0.485069,-0.21497 -0.485069,-0.51263 0,-0.27561 0.203976,-0.50161 0.463021,-0.50161 0.148837,0 0.253576,0.0386 0.347274,0.11025 0.02752,0.0165 0.06064,0.0386 0.110243,0.0386 0.0937,0 0.170886,-0.0827 0.170886,-0.17639 0,-0.0717 -0.03859,-0.11575 -0.07165,-0.14331 -0.143333,-0.0992 -0.303177,-0.15434 -0.545711,-0.15434 -0.48507,0 -0.843351,0.37483 -0.843351,0.82682 v 0.006 c 0,0.47405 0.341736,0.82683 0.843351,0.82683 z m 0,0"
id="path53601" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="m 20.889702,291.52988 c 0,0.22186 -0.179176,0.40101 -0.401038,0.40101 -0.220486,0 -0.401003,-0.17915 -0.401003,-0.40101 0,-0.22049 0.180517,-0.39963 0.401003,-0.39963 0.221862,0 0.401038,0.17914 0.401038,0.39963"
id="path46239" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="m 17.56724,292.85693 c -0.117122,0 -0.224613,-0.0661 -0.277001,-0.17088 l -1.001818,-2.00504 c -0.07581,-0.15159 -0.01376,-0.33762 0.137795,-0.41342 0.152964,-0.0758 0.337608,-0.0138 0.41342,0.13781 l 0.727604,1.45383 0.726229,-1.45383 c 0.07578,-0.15158 0.261831,-0.2136 0.41342,-0.13781 0.152965,0.0758 0.213572,0.26183 0.137795,0.41342 l -1.001854,2.00504 c -0.05235,0.10473 -0.159843,0.17088 -0.27559,0.17088"
id="path46241" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="m 23.072514,292.85693 c -0.117157,0 -0.223273,-0.0661 -0.275625,-0.17088 l -1.003194,-2.00504 c -0.07581,-0.15159 -0.01376,-0.33762 0.137795,-0.41342 0.152964,-0.0758 0.337608,-0.0138 0.414796,0.13781 l 0.726228,1.45383 0.726228,-1.45383 c 0.07578,-0.15158 0.261797,-0.2136 0.413386,-0.13781 0.152964,0.0758 0.214982,0.26183 0.139206,0.41342 l -1.00323,2.00504 c -0.05235,0.10473 -0.158468,0.17088 -0.27559,0.17088"
id="path46243" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="m 20.469402,292.85693 c -0.723477,0 -1.310534,-0.58842 -1.310534,-1.31051 0,-0.72348 0.587057,-1.3119 1.310534,-1.3119 0.286632,0 0.558095,0.091 0.786836,0.26321 0.136419,0.10197 0.16263,0.2949 0.06064,0.43132 -0.101988,0.13643 -0.294887,0.16399 -0.431341,0.062 -0.12125,-0.0909 -0.264583,-0.13919 -0.416137,-0.13919 -0.383117,0 -0.694549,0.31144 -0.694549,0.69454 0,0.38171 0.311432,0.69315 0.694549,0.69315 0.151554,0 0.294887,-0.0482 0.416137,-0.13919 0.136454,-0.10197 0.329353,-0.0744 0.431341,0.062 0.101988,0.13642 0.07578,0.32935 -0.06064,0.4327 -0.228741,0.17088 -0.500204,0.26183 -0.786836,0.26183"
id="path46245" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
d="m 36.1611,181.31713 h -7.682547 c -0.552593,0 -1.00048,0.44649 -1.00048,0.99908 v 101.94038 c 0,0.55259 0.447887,1.00046 1.00048,1.00046 H 36.1611 c 0.551215,0 0.999101,-0.44787 0.999101,-1.00046 V 182.31621 c 0,-0.55259 -0.447886,-0.99908 -0.999101,-0.99908"
id="path46247" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 29.995954,184.62303 c 0.242536,0 0.429932,-0.0827 0.562224,-0.15985 0.08269,-0.0496 0.126788,-0.12126 0.126788,-0.226 v -0.39136 c 0,-0.0992 -0.08269,-0.17639 -0.181893,-0.17639 h -0.402378 c -0.08269,0 -0.15434,0.0717 -0.15434,0.15434 0,0.0882 0.07165,0.15434 0.15434,0.15434 h 0.242535 v 0.226 c -0.09373,0.0662 -0.203978,0.0992 -0.336269,0.0992 -0.281094,0 -0.485069,-0.21497 -0.485069,-0.51263 0,-0.27561 0.203975,-0.50161 0.463021,-0.50161 0.148836,0 0.253577,0.0386 0.347274,0.11025 0.02752,0.0165 0.06064,0.0386 0.110244,0.0386 0.0937,0 0.170886,-0.0827 0.170886,-0.17639 0,-0.0717 -0.0386,-0.11575 -0.07165,-0.14331 -0.143336,-0.0992 -0.303178,-0.15434 -0.545714,-0.15434 -0.485068,0 -0.843349,0.37483 -0.843349,0.82682 v 0.006 c 0,0.47405 0.341736,0.82683 0.843349,0.82683 z m 0,0"
id="path53593" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 30.964541,184.44665 c 0,0.0882 0.07165,0.15985 0.165348,0.15985 0.07165,0 0.132292,-0.0386 0.159843,-0.10473 l 0.110244,-0.26459 h 0.711094 l 0.104704,0.24805 c 0.03316,0.0772 0.08819,0.12127 0.170886,0.12127 0.0937,0 0.165381,-0.0717 0.165381,-0.16536 0,-0.022 -0.0056,-0.0496 -0.01659,-0.0717 l -0.562258,-1.26229 c -0.03856,-0.0882 -0.104703,-0.14331 -0.203941,-0.14331 h -0.01659 c -0.0992,0 -0.170849,0.0551 -0.209444,0.14331 l -0.556718,1.26229 c -0.01093,0.022 -0.02188,0.0496 -0.02188,0.0772 z m 0.567727,-0.52366 0.220485,-0.52916 0.226026,0.52916 z m 0,0"
id="path53597" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 33.098495,184.43011 c 0,0.0992 0.07715,0.17639 0.176387,0.17639 0.0992,0 0.17639,-0.0772 0.17639,-0.17639 v -1.11345 h 0.336233 c 0.0937,0 0.165346,-0.0717 0.165346,-0.16537 0,-0.0882 -0.07165,-0.15985 -0.165346,-0.15985 h -1.030783 c -0.08819,0 -0.159842,0.0717 -0.159842,0.15985 0,0.0937 0.07165,0.16537 0.159842,0.16537 h 0.341773 z m 0,0"
id="path53585" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.35277778"
d="m 34.438732,184.59548 h 0.89849 c 0.08819,0 0.159843,-0.0662 0.159843,-0.15434 0,-0.0882 -0.07165,-0.15986 -0.159843,-0.15986 h -0.722101 v -0.33624 h 0.611857 c 0.08266,0 0.154342,-0.0717 0.154342,-0.15434 0,-0.0882 -0.07169,-0.15985 -0.154342,-0.15985 h -0.611857 v -0.32522 h 0.71106 c 0.08819,0 0.159843,-0.0717 0.159843,-0.15434 0,-0.0882 -0.07165,-0.15985 -0.159843,-0.15985 h -0.887449 c -0.09924,0 -0.176388,0.0772 -0.176388,0.17639 v 1.25126 c 0,0.0992 0.07715,0.17639 0.176388,0.17639 z m 0,0"
id="path53589" />
</g>
<g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="components"
style="display:none">
<circle
r="2"
cy="21.504547"
cx="8.3195953"
id="circle7554"
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="21.504286"
cx="20.319172"
id="circle7490"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55212"
cx="32.319138"
cy="21.504286"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55214"
cx="8.3195744"
cy="31.504372"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55216"
cx="20.319151"
cy="31.50411"
r="2" />
<circle
r="2"
cy="31.50411"
cx="32.319115"
id="circle55218"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="41.504795"
cx="8.3192997"
id="circle55220"
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="41.504536"
cx="20.318876"
id="circle55222"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55224"
cx="32.31884"
cy="41.504536"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55226"
cx="8.3195953"
cy="51.504517"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55228"
cx="20.319172"
cy="51.504257"
r="2" />
<circle
r="2"
cy="51.504257"
cx="32.319138"
id="circle55230"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="61.504528"
cx="8.3195953"
id="circle55232"
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="61.504269"
cx="20.319172"
id="circle55234"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55236"
cx="32.319138"
cy="61.504269"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55238"
cx="8.3195953"
cy="71.504677"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55240"
cx="20.319172"
cy="71.504417"
r="2" />
<circle
r="2"
cy="71.504417"
cx="32.319138"
id="circle55242"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="81.504784"
cx="8.3192997"
id="circle55244"
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="81.504524"
cx="20.318876"
id="circle55246"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55248"
cx="32.31884"
cy="81.504524"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55250"
cx="8.3195953"
cy="91.504417"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55252"
cx="20.319172"
cy="91.504158"
r="2" />
<circle
r="2"
cy="91.504158"
cx="32.319138"
id="circle55254"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="101.50459"
cx="8.3195744"
id="circle55256"
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
r="2"
cy="101.50433"
cx="20.319151"
id="circle55258"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55260"
cx="32.319115"
cy="101.50433"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55262"
cx="8.3192997"
cy="111.50468"
r="2" />
<circle
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="circle55264"
cx="20.318876"
cy="111.50442"
r="2" />
<circle
r="2"
cy="111.50442"
cx="32.31884"
id="circle55266"
style="display:inline;opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
</g>
</svg>

+ 10
- 18
src/Mutes.cpp View File

@@ -99,14 +99,6 @@ struct Mutes : Module {
};


template <typename BASE>
struct MuteLight : BASE {
MuteLight() {
this->box.size = mm2px(Vec(6.f, 6.f));
}
};


struct MutesWidget : ModuleWidget {
MutesWidget(Mutes* module) {
setModule(module);
@@ -150,16 +142,16 @@ struct MutesWidget : ModuleWidget {
addOutput(createOutput<PJ301MPort>(mm2px(Vec(28.214, 97.809)), module, Mutes::OUT_OUTPUT + 8));
addOutput(createOutput<PJ301MPort>(mm2px(Vec(28.214, 107.809)), module, Mutes::OUT_OUTPUT + 9));

addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 18.915)), module, Mutes::MUTE_LIGHT + 0));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 28.916)), module, Mutes::MUTE_LIGHT + 1));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 38.915)), module, Mutes::MUTE_LIGHT + 2));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 48.915)), module, Mutes::MUTE_LIGHT + 3));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 58.916)), module, Mutes::MUTE_LIGHT + 4));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 68.916)), module, Mutes::MUTE_LIGHT + 5));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 78.915)), module, Mutes::MUTE_LIGHT + 6));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 88.916)), module, Mutes::MUTE_LIGHT + 7));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 98.915)), module, Mutes::MUTE_LIGHT + 8));
addChild(createLight<MuteLight<GreenLight>>(mm2px(Vec(17.32, 108.915)), module, Mutes::MUTE_LIGHT + 9));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 18.915)), module, Mutes::MUTE_LIGHT + 0));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 28.916)), module, Mutes::MUTE_LIGHT + 1));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 38.915)), module, Mutes::MUTE_LIGHT + 2));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 48.915)), module, Mutes::MUTE_LIGHT + 3));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 58.916)), module, Mutes::MUTE_LIGHT + 4));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 68.916)), module, Mutes::MUTE_LIGHT + 5));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 78.915)), module, Mutes::MUTE_LIGHT + 6));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 88.916)), module, Mutes::MUTE_LIGHT + 7));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 98.915)), module, Mutes::MUTE_LIGHT + 8));
addChild(createLight<LEDBezelLight<GreenLight>>(mm2px(Vec(17.32, 108.915)), module, Mutes::MUTE_LIGHT + 9));
}
};



+ 102
- 0
src/Pulses.cpp View File

@@ -0,0 +1,102 @@
#include "plugin.hpp"


struct Pulses : Module {
enum ParamIds {
ENUMS(TAP_PARAMS, 10),
NUM_PARAMS
};
enum InputIds {
NUM_INPUTS
};
enum OutputIds {
ENUMS(TRIG_OUTPUTS, 10),
ENUMS(GATE_OUTPUTS, 10),
NUM_OUTPUTS
};
enum LightIds {
ENUMS(TAP_LIGHTS, 10),
NUM_LIGHTS
};

dsp::BooleanTrigger tapTriggers[10];
dsp::PulseGenerator pulseGenerators[10];

Pulses() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
for (int i = 0; i < 10; i++)
configParam(TAP_PARAMS + i, 0.f, 1.f, 0.f, string::f("Tap %d", i + 1));
}

void process(const ProcessArgs& args) override {
for (int i = 0; i < 10; i++) {
bool tap = params[TAP_PARAMS + i].getValue() > 0.f;
if (tapTriggers[i].process(tap)) {
pulseGenerators[i].trigger(1e-3f);
}
bool pulse = pulseGenerators[i].process(args.sampleTime);
outputs[TRIG_OUTPUTS + i].setVoltage(pulse ? 10.f : 0.f);
outputs[GATE_OUTPUTS + i].setVoltage(tap ? 10.f : 0.f);
lights[TAP_LIGHTS + i].setBrightness(tap);
}
}
};


struct PulsesWidget : ModuleWidget {
PulsesWidget(Pulses* module) {
setModule(module);
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Pulses.svg")));

addChild(createWidget<ScrewSilver>(Vec(RACK_GRID_WIDTH, 0)));
addChild(createWidget<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0)));
addChild(createWidget<ScrewSilver>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
addChild(createWidget<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));

addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 21.505)), module, Pulses::TAP_PARAMS + 0));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 31.504)), module, Pulses::TAP_PARAMS + 1));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 41.505)), module, Pulses::TAP_PARAMS + 2));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 51.505)), module, Pulses::TAP_PARAMS + 3));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 61.505)), module, Pulses::TAP_PARAMS + 4));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 71.505)), module, Pulses::TAP_PARAMS + 5));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 81.505)), module, Pulses::TAP_PARAMS + 6));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 91.504)), module, Pulses::TAP_PARAMS + 7));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 101.505)), module, Pulses::TAP_PARAMS + 8));
addParam(createParamCentered<LEDBezel>(mm2px(Vec(8.32, 111.505)), module, Pulses::TAP_PARAMS + 9));

addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 21.504)), module, Pulses::TRIG_OUTPUTS + 0));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 21.504)), module, Pulses::GATE_OUTPUTS + 0));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 31.504)), module, Pulses::TRIG_OUTPUTS + 1));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 31.504)), module, Pulses::GATE_OUTPUTS + 1));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 41.505)), module, Pulses::TRIG_OUTPUTS + 2));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 41.505)), module, Pulses::GATE_OUTPUTS + 2));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 51.504)), module, Pulses::TRIG_OUTPUTS + 3));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 51.504)), module, Pulses::GATE_OUTPUTS + 3));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 61.504)), module, Pulses::TRIG_OUTPUTS + 4));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 61.504)), module, Pulses::GATE_OUTPUTS + 4));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 71.504)), module, Pulses::TRIG_OUTPUTS + 5));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 71.504)), module, Pulses::GATE_OUTPUTS + 5));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 81.505)), module, Pulses::TRIG_OUTPUTS + 6));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 81.505)), module, Pulses::GATE_OUTPUTS + 6));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 91.504)), module, Pulses::TRIG_OUTPUTS + 7));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 91.504)), module, Pulses::GATE_OUTPUTS + 7));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 101.504)), module, Pulses::TRIG_OUTPUTS + 8));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 101.504)), module, Pulses::GATE_OUTPUTS + 8));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(20.319, 111.504)), module, Pulses::TRIG_OUTPUTS + 9));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(32.319, 111.504)), module, Pulses::GATE_OUTPUTS + 9));

addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 21.505)), module, Pulses::TAP_LIGHTS + 0));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 31.504)), module, Pulses::TAP_LIGHTS + 1));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 41.505)), module, Pulses::TAP_LIGHTS + 2));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 51.505)), module, Pulses::TAP_LIGHTS + 3));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 61.505)), module, Pulses::TAP_LIGHTS + 4));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 71.505)), module, Pulses::TAP_LIGHTS + 5));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 81.505)), module, Pulses::TAP_LIGHTS + 6));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 91.504)), module, Pulses::TAP_LIGHTS + 7));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 101.505)), module, Pulses::TAP_LIGHTS + 8));
addChild(createLightCentered<LEDBezelLight<GreenLight>>(mm2px(Vec(8.32, 111.505)), module, Pulses::TAP_LIGHTS + 9));
}
};


Model* modelPulses = createModel<Pulses, PulsesWidget>("Pulses");

+ 1
- 0
src/plugin.cpp View File

@@ -19,6 +19,7 @@ void init(rack::Plugin* p) {
p->addModel(model_8vert);
p->addModel(modelUnity);
p->addModel(modelMutes);
p->addModel(modelPulses);
p->addModel(modelScope);
p->addModel(modelSEQ3);
p->addModel(modelSequentialSwitch1);


+ 1
- 0
src/plugin.hpp View File

@@ -19,6 +19,7 @@ extern Model* modelVCMixer;
extern Model* model_8vert;
extern Model* modelUnity;
extern Model* modelMutes;
extern Model* modelPulses;
extern Model* modelScope;
extern Model* modelSEQ3;
extern Model* modelSequentialSwitch1;


Loading…
Cancel
Save