Browse Source

Add VU meter lights to Audio2.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
37af76ebf9
2 changed files with 164 additions and 146 deletions
  1. +151
    -146
      res/Core/Audio2.svg
  2. +13
    -0
      src/core/Audio.cpp

+ 151
- 146
res/Core/Audio2.svg View File

@@ -11,11 +11,11 @@
height="380"
viewBox="0 0 75 380"
version="1.1"
id="svg207"
id="svg135"
sodipodi:docname="AUDIO.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata211">
id="metadata139">
<rdf:RDF>
<cc:Work
rdf:about="">
@@ -34,21 +34,21 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="867"
inkscape:window-height="480"
id="namedview209"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview137"
showgrid="false"
inkscape:zoom="0.62105263"
inkscape:cx="37.5"
inkscape:cy="190"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg207" />
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg135" />
<defs
id="defs10">
id="defs7">
<linearGradient
id="b3a8b906-66a0-41b7-a23b-e4eb921a4ef6"
id="b5f06fb0-6467-499c-93cc-d9bc9c377fbf"
x1="37.5"
x2="37.5"
y2="380"
@@ -64,18 +64,16 @@
</linearGradient>
</defs>
<g
id="a82b3e99-5837-4654-b227-a7807febba6f"
id="bc54c3ba-8801-4f42-a9e3-651a6972284b"
data-name="FND BG">
<rect
width="75"
height="380"
id="rect12"
x="0"
y="0"
style="fill:url(#b3a8b906-66a0-41b7-a23b-e4eb921a4ef6)" />
fill="url(#b5f06fb0-6467-499c-93cc-d9bc9c377fbf)"
id="rect9" />
</g>
<g
id="a9e72d7e-3967-4be0-bde8-e874ea6d2401"
id="b29dfcc9-1bcb-4a78-908c-8cdfb14adc09"
data-name="FND GRAPH">
<rect
x="7.17484"
@@ -84,18 +82,13 @@
height="39.15691"
rx="2.83465"
fill="#1f1f1f"
id="rect15" />
<g
id="use17"
transform="rotate(-90,162.02788,126.11648)">
<path
id="path4841"
d="M 2.35242,3.42947 4.01038,0.55779 A 0.37186,0.37186 0 0 0 3.68834,0 H 0.37242 a 0.37186,0.37186 0 0 0 -0.322,0.55779 l 1.658,2.87168 a 0.37187,0.37187 0 0 0 0.644,0 z"
inkscape:connector-curvature="0"
style="fill:#1f1f1f" />
</g>
id="rect12" />
<path
d="M39.34086,285.79193l-2.87167-1.658a.37186.37186,0,0,0-.55779.32205v3.31592a.37186.37186,0,0,0,.55779.322l2.87167-1.658A.37187.37187,0,0,0,39.34086,285.79193Z"
fill="#1f1f1f"
id="path14" />
<g
id="g27">
id="g24">
<circle
cx="37.99872"
cy="228.53228"
@@ -103,7 +96,7 @@
fill="none"
opacity="0.69"
style="isolation: isolate"
id="circle19" />
id="circle16" />
<path
d="M48.79694,246.63494a20.94666,20.94666,0,1,0-21.451.07488"
fill="none"
@@ -111,14 +104,14 @@
stroke-linecap="round"
stroke-miterlimit="10"
stroke-width="0.8"
id="path21" />
id="path18" />
<line
x1="48.79694"
y1="246.63494"
x2="37.99872"
y2="228.53228"
fill="none"
id="line23" />
id="line20" />
<line
x1="38.00861"
y1="207.73348"
@@ -129,311 +122,323 @@
stroke-linecap="round"
stroke-miterlimit="10"
stroke-width="0.8"
id="line25" />
id="line22" />
</g>
<g
id="g33">
id="g30">
<path
id="a060c47f-0542-4e63-a97e-59493dd65d7c"
id="bcf7f738-a2ee-4f24-a05e-79080795ecac"
data-name="path18731"
d="M39.18545,355.83245a1.18586,1.18586,0,1,1-1.18586-1.18588,1.1844,1.1844,0,0,1,1.18586,1.18588"
fill="#1f1f1f" />
<path
id="a402f9b1-01de-47fa-b7d5-830d2909ff57"
id="af0e935f-6d5d-444c-895d-4ef87ed070e2"
data-name="path18733"
d="M29.36036,359.75274a.91965.91965,0,0,1-.8191-.50123l-2.96259-5.9293a.91124.91124,0,1,1,1.63-.81506l2.15167,4.29517,2.14759-4.29517a.91124.91124,0,1,1,1.63.81506l-2.96259,5.9293a.91838.91838,0,0,1-.815.50123"
fill="#1f1f1f" />
<path
id="a3222b38-c727-4c22-81fa-bad88e782596"
id="a97fec2c-c9d1-4f34-979d-c2ed13bb4b13"
data-name="path18735"
d="M45.64043,359.75274a.90886.90886,0,0,1-.815-.50123l-2.96668-5.9293a.91124.91124,0,1,1,1.63005-.81506l2.15166,4.29517,2.14759-4.29517a.91306.91306,0,1,1,1.63413.81506l-2.96668,5.9293a.91376.91376,0,0,1-.815.50123"
fill="#1f1f1f" />
<path
id="b08bfefe-7620-4887-ab1b-7153f47900c3"
id="a86c2c4c-97ac-4697-a68a-6850586e2c02"
data-name="path18737"
d="M37.94253,359.75274a3.87544,3.87544,0,1,1,2.32689-6.97661.91238.91238,0,0,1-1.09622,1.45878,2.03411,2.03411,0,0,0-1.23069-.41157,2.05387,2.05387,0,0,0,0,4.10773,2.03268,2.03268,0,0,0,1.23069-.41156.91242.91242,0,0,1,1.09622,1.45887,3.85768,3.85768,0,0,1-2.32689.77427"
fill="#1f1f1f" />
</g>
</g>
<g
id="b02a3703-ad89-482a-baa8-21c6fad4e546"
id="adf41745-6235-4ce0-9772-7b29cfa13b98"
data-name="FND TXT">
<g
id="g46">
id="g43">
<path
d="M9.35254,266.60156a.41652.41652,0,0,1,.833,0v3.60449H12.334a.3794.3794,0,0,1,0,.75879H9.77246a.41362.41362,0,0,1-.41992-.42041Z"
fill="#1f1f1f"
id="path36" />
id="path33" />
<path
d="M13.2666,271.3916l2.77149-5.67773a.32256.32256,0,0,1,.61621.12207.52318.52318,0,0,1-.03418.1626l-2.77735,5.67724a.30772.30772,0,0,1-.291.18994.32223.32223,0,0,1-.3252-.312A.39394.39394,0,0,1,13.2666,271.3916Z"
fill="#1f1f1f"
id="path38" />
id="path35" />
<path
d="M17.47266,266.61523a.41741.41741,0,0,1,.41992-.41992h.08789a.43828.43828,0,0,1,.38672.22364l1.43652,2.249,1.44238-2.25586a.41958.41958,0,0,1,.37989-.2168h.08789a.41742.41742,0,0,1,.41992.41992V270.585a.41212.41212,0,0,1-.41992.41358.41943.41943,0,0,1-.41309-.41358v-2.84521l-1.1582,1.74121a.40855.40855,0,0,1-.35254.21679.40405.40405,0,0,1-.3457-.21679L18.293,267.75342v2.83838a.40565.40565,0,0,1-.41406.40674.39968.39968,0,0,1-.40625-.40674Z"
fill="#1f1f1f"
id="path40" />
id="path37" />
<path
d="M23.35156,268.60693v-.01367a2.47973,2.47973,0,0,1,4.959-.01318v.01318a2.47974,2.47974,0,0,1-4.959.01367Zm4.085,0v-.01367a1.625,1.625,0,0,0-1.6123-1.687,1.60183,1.60183,0,0,0-1.59863,1.67383v.01318a1.61859,1.61859,0,0,0,1.6123,1.68018A1.5965,1.5965,0,0,0,27.43652,268.60693Z"
fill="#1f1f1f"
id="path42" />
id="path39" />
<path
d="M29.52734,266.61523a.41742.41742,0,0,1,.41993-.41992h.08789a.52257.52257,0,0,1,.43359.24365l2.37207,3.06885v-2.91308a.40968.40968,0,0,1,.81934,0v3.98339a.40484.40484,0,0,1-.40625.41358h-.03418a.52489.52489,0,0,1-.4336-.25049L30.34766,267.584v3.00782a.41017.41017,0,0,1-.82032,0Z"
fill="#1f1f1f"
id="path44" />
id="path41" />
</g>
<g
id="g58">
id="g55">
<path
d="M42.78027,266.64209a.41351.41351,0,0,1,.41993-.41992h1.69335a1.91388,1.91388,0,0,1,1.36915.47412,1.43723,1.43723,0,0,1,.39257,1.02344v.01318a1.40385,1.40385,0,0,1-1.07715,1.416l.90723,1.145a.47932.47932,0,0,1,.13574.31835.39278.39278,0,0,1-.39941.38624.4767.4767,0,0,1-.40625-.2168l-1.15234-1.47022H43.61328V270.585a.41652.41652,0,0,1-.833,0Zm2.05274,1.93115c.5957,0,.97558-.31152.97558-.793v-.01367c0-.50781-.36621-.78564-.98242-.78564H43.61328v1.59228Z"
fill="#1f1f1f"
id="path48" />
id="path45" />
<path
d="M47.93848,266.60156a.41651.41651,0,0,1,.833,0v3.9834a.41651.41651,0,0,1-.833,0Z"
fill="#1f1f1f"
id="path50" />
id="path47" />
<path
d="M49.999,268.60693v-.01367a2.4167,2.4167,0,0,1,2.44629-2.45264,2.57468,2.57468,0,0,1,1.61914.48145.4218.4218,0,0,1,.169.33887.4148.4148,0,0,1-.41309.41308.44445.44445,0,0,1-.25781-.09472,1.80088,1.80088,0,0,0-1.15137-.373,1.60439,1.60439,0,0,0-1.53808,1.67383v.01318a1.58393,1.58393,0,0,0,1.6123,1.69385,1.93908,1.93908,0,0,0,1.14551-.35938v-.8872h-.93555a.364.364,0,0,1-.37207-.35889.37013.37013,0,0,1,.37207-.36621H54.0166a.41351.41351,0,0,1,.41992.41992v1.26709a.57638.57638,0,0,1-.291.52881,3.02386,3.02386,0,0,1-1.6875.51465A2.353,2.353,0,0,1,49.999,268.60693Z"
fill="#1f1f1f"
id="path52" />
id="path49" />
<path
d="M55.76074,266.60156a.41652.41652,0,0,1,.833,0v1.5918h2.26367v-1.5918a.41652.41652,0,0,1,.833,0v3.9834a.41652.41652,0,0,1-.833,0v-1.61914H56.59375V270.585a.41652.41652,0,0,1-.833,0Z"
fill="#1f1f1f"
id="path54" />
id="path51" />
<path
d="M62.22949,266.99463H61.07812a.38623.38623,0,1,1,0-.77246h3.14942a.38628.38628,0,0,1,0,.77246h-1.1582V270.585a.42.42,0,0,1-.83985,0Z"
fill="#1f1f1f"
id="path56" />
id="path53" />
</g>
<g
id="g68">
id="g65">
<path
d="M12.94434,314.648a.522.522,0,0,1,1.04394,0v3.313H15.919a.47412.47412,0,0,1,0,.94824H13.4668a.51759.51759,0,0,1-.52246-.52148Z"
fill="#f0f0f0"
id="path60" />
id="path57" />
<path
d="M17.294,318.3877v-3.69922a.51707.51707,0,0,1,.52148-.52149h2.62793a.46929.46929,0,0,1,.46875.46778.46371.46371,0,0,1-.46875.46044H18.33008v.96192h1.80859a.46836.46836,0,0,1,.46778.46728.46266.46266,0,0,1-.46778.46094H18.33008v.9961h2.14844a.46814.46814,0,0,1,.46679.46728.46234.46234,0,0,1-.46679.46045H17.81543A.51677.51677,0,0,1,17.294,318.3877Z"
fill="#f0f0f0"
id="path62" />
id="path59" />
<path
d="M22.06641,314.68848a.51768.51768,0,0,1,.52148-.52149h2.65625a.47412.47412,0,0,1,0,.94824H23.10938V316.125h1.8291a.47412.47412,0,1,1,0,.94824h-1.8291v1.35547a.52149.52149,0,1,1-1.043,0Z"
fill="#f0f0f0"
id="path64" />
id="path61" />
<path
d="M27.92188,315.12891h-1.002a.481.481,0,1,1,0-.96192h3.04785a.481.481,0,1,1,0,.96192H28.96484v3.2998a.52148.52148,0,1,1-1.043,0Z"
fill="#f0f0f0"
id="path66" />
id="path63" />
</g>
<g
id="g80">
id="g77">
<path
d="M42.65625,314.68848a.51707.51707,0,0,1,.52148-.52149h1.64649a1.8878,1.8878,0,0,1,1.38086.481,1.48723,1.48723,0,0,1,.40625,1.084v.01368a1.44755,1.44755,0,0,1-.94727,1.44287l.72461.88086a.60974.60974,0,0,1,.16992.39941.48586.48586,0,0,1-.49511.48145.62263.62263,0,0,1-.51465-.271l-1.0166-1.2876h-.833v1.03711a.52149.52149,0,1,1-1.043,0Zm2.09961,1.78222c.50781,0,.79883-.27148.79883-.6709v-.01367c0-.44726-.31055-.67773-.81934-.67773H43.69922v1.3623Z"
fill="#f0f0f0"
id="path70" />
id="path67" />
<path
d="M47.835,314.648a.52149.52149,0,1,1,1.043,0v3.78076a.52149.52149,0,1,1-1.043,0Z"
fill="#f0f0f0"
id="path72" />
id="path69" />
<path
d="M50.03516,316.55176v-.01367a2.43424,2.43424,0,0,1,2.48632-2.45215,2.62243,2.62243,0,0,1,1.61914.46045.52192.52192,0,0,1,.2168.41992.51482.51482,0,0,1-.51465.51514.50871.50871,0,0,1-.31836-.1084,1.659,1.659,0,0,0-1.03613-.3252,1.42426,1.42426,0,0,0-1.3623,1.47656v.01368a1.42116,1.42116,0,0,0,1.43652,1.5039,1.6663,1.6663,0,0,0,.98242-.28418v-.67773h-.70508a.44786.44786,0,0,1-.45312-.44727.45355.45355,0,0,1,.45312-.45361H54.0332a.51738.51738,0,0,1,.52149.52148v1.15186a.70551.70551,0,0,1-.36621.66406,3.15161,3.15161,0,0,1-1.66016.47412A2.37375,2.37375,0,0,1,50.03516,316.55176Z"
fill="#f0f0f0"
id="path74" />
id="path71" />
<path
d="M55.80859,314.648a.52149.52149,0,1,1,1.043,0v1.396h1.92383v-1.396a.52149.52149,0,1,1,1.043,0v3.78076a.52149.52149,0,1,1-1.043,0v-1.42285H56.85156v1.42285a.52149.52149,0,1,1-1.043,0Z"
fill="#f0f0f0"
id="path76" />
id="path73" />
<path
d="M62.21094,315.12891H61.209a.481.481,0,0,1,0-.96192h3.04883a.481.481,0,0,1,0,.96192H63.25488v3.2998a.522.522,0,0,1-1.04394,0Z"
fill="#f0f0f0"
id="path78" />
id="path75" />
</g>
<g
id="g92">
id="g89">
<path
d="M24.62305,195.01709a.51319.51319,0,0,1,1.02636,0V199.457H28.2959a.46753.46753,0,0,1,0,.93506H25.14062a.50991.50991,0,0,1-.51757-.51758Z"
fill="#1f1f1f"
id="path82" />
id="path79" />
<path
d="M29.916,199.87451v-4.80762a.5099.5099,0,0,1,.51757-.51757h3.39746a.46363.46363,0,0,1,.459.45947.45813.45813,0,0,1-.459.459H30.94238v1.519h2.5127a.465.465,0,0,1,.459.46728.4561.4561,0,0,1-.459.45069h-2.5127v1.56933h2.92969a.46341.46341,0,0,1,.46.459.458.458,0,0,1-.46.459H30.43359A.50991.50991,0,0,1,29.916,199.87451Z"
fill="#1f1f1f"
id="path84" />
id="path81" />
<path
d="M37.43262,200.05811l-2.04492-4.80762a.5762.5762,0,0,1-.0586-.2417.50612.50612,0,0,1,.51758-.501.53807.53807,0,0,1,.52637.36719l1.68554,4.21484,1.71094-4.248a.53052.53052,0,0,1,.49317-.334A.497.497,0,0,1,40.77148,195a.60672.60672,0,0,1-.0498.21729L38.668,200.05811a.61174.61174,0,0,1-.59277.41748h-.05762A.60907.60907,0,0,1,37.43262,200.05811Z"
fill="#1f1f1f"
id="path86" />
id="path83" />
<path
d="M41.95508,199.87451v-4.80762a.50991.50991,0,0,1,.51758-.51757h3.39746a.46362.46362,0,0,1,.459.45947.45812.45812,0,0,1-.459.459H42.98145v1.519h2.51269a.465.465,0,0,1,.459.46728.4561.4561,0,0,1-.459.45069H42.98145v1.56933h2.92968a.46341.46341,0,0,1,.46.459.458.458,0,0,1-.46.459H42.47266A.50991.50991,0,0,1,41.95508,199.87451Z"
fill="#1f1f1f"
id="path88" />
id="path85" />
<path
d="M47.708,195.01709a.5132.5132,0,0,1,1.02637,0V199.457h2.64648a.46753.46753,0,0,1,0,.93506H48.22559a.50991.50991,0,0,1-.51758-.51758Z"
fill="#1f1f1f"
id="path90" />
id="path87" />
</g>
<g
id="g98">
id="g95">
<path
d="M16.22656,251.11133a.36.36,0,0,1,.35352-.36035h1.127a.35695.35695,0,0,1,0,.71386h-1.127A.35855.35855,0,0,1,16.22656,251.11133Z"
fill="#1f1f1f"
id="path94" />
id="path91" />
<path
d="M22.41992,252.54883H22.4082a1.05962,1.05962,0,0,1-1.01953-.75586,1.008,1.008,0,0,1-.93555.61182h-.01171c-.64161,0-1.13282-.61768-1.13282-1.45752,0-.83936.48536-1.457,1.13282-1.457h.01171a1.008,1.008,0,0,1,.93555.61182,1.07643,1.07643,0,0,1,1.00781-.75586h.01172c.75,0,1.21778.6836,1.21778,1.60108S23.14648,252.54883,22.41992,252.54883Zm-1.89453-2.35108h-.01172c-.32422,0-.58789.29981-.58789.74952,0,.45019.26367.75.582.75h.01172a.76332.76332,0,0,0,.00586-1.49952Zm1.85352-.13183h-.0127c-.38379,0-.63574.38379-.63574.88135,0,.498.252.87548.63574.87548h.0127c.34179,0,.6289-.32373.6289-.87548C23.00781,250.396,22.72656,250.06592,22.37891,250.06592Z"
fill="#1f1f1f"
id="path96" />
id="path93" />
</g>
<g
id="g104">
id="g101">
<path
d="M51.877,251.165h-.85156a.32935.32935,0,0,1-.33008-.33008.33305.33305,0,0,1,.33008-.32959H51.877v-.83349a.33817.33817,0,0,1,.3418-.3418.34185.34185,0,0,1,.3418.3418v.83349h.85156a.33305.33305,0,0,1,.33008.32959.32935.32935,0,0,1-.33008.33008h-.85156v.8335a.34185.34185,0,0,1-.3418.34179.33817.33817,0,0,1-.3418-.34179Z"
fill="#1f1f1f"
id="path100" />
id="path97" />
<path
d="M55.14258,252.57422a2.06065,2.06065,0,0,1-.50977-1.60108v-.0122c0-1.28321.61231-2.28467,1.79883-2.28467a1.82484,1.82484,0,0,1,1.05078.30029.35338.35338,0,0,1,.18555.31739.34822.34822,0,0,1-.35352.34179.39669.39669,0,0,1-.18652-.05371,1.22585,1.22585,0,0,0-.71973-.23389c-.623,0-.9707.56348-1.00781,1.33106a1.34273,1.34273,0,0,1,1.00781-.41943,1.328,1.328,0,0,1,1.46289,1.31933v.01172a1.45678,1.45678,0,0,1-1.55859,1.42725A1.56357,1.56357,0,0,1,55.14258,252.57422Zm1.99121-.95313v-.0122a.76373.76373,0,0,0-.85742-.73194.77343.77343,0,0,0-.85157.7378v.0122a.78424.78424,0,0,0,.87012.74951A.758.758,0,0,0,57.13379,251.62109Z"
fill="#1f1f1f"
id="path102" />
id="path99" />
</g>
<g
id="g116">
id="g113">
<path
d="M16.24609,27.04736l3.05371-6.894a1.19009,1.19009,0,0,1,1.126-.76367h.11231a1.17443,1.17443,0,0,1,1.11328.76367l3.05371,6.894a.93943.93943,0,0,1,.09961.38819.91328.91328,0,0,1-.91309.92578.97979.97979,0,0,1-.92578-.66309L22.377,26.32178H18.52344l-.61328,1.439a.94539.94539,0,0,1-.8877.60059.88655.88655,0,0,1-.88867-.90088A1.02332,1.02332,0,0,1,16.24609,27.04736Zm5.418-2.42724L20.4502,21.72949l-1.21387,2.89063Z"
fill="#1f1f1f"
id="path106" />
id="path103" />
<path
d="M25.9082,24.53223V20.416a.96338.96338,0,1,1,1.92676,0v4.0664c0,1.42627.71289,2.16455,1.88965,2.16455,1.17578,0,1.88965-.71338,1.88965-2.102V20.416a.96338.96338,0,1,1,1.92676,0v4.05371c0,2.65283-1.48926,3.9541-3.8418,3.9541S25.9082,27.10986,25.9082,24.53223Z"
fill="#1f1f1f"
id="path108" />
id="path105" />
<path
d="M35.69336,20.49121a.95659.95659,0,0,1,.96387-.96387h2.45215a4.36628,4.36628,0,0,1,4.65527,4.3545v.0249a4.38517,4.38517,0,0,1-4.65527,4.37939H36.65723a.95618.95618,0,0,1-.96387-.96338Zm3.416,6.05567A2.49586,2.49586,0,0,0,41.75,23.93164v-.0249a2.51579,2.51579,0,0,0-2.64062-2.64014H37.62109v5.28028Z"
fill="#1f1f1f"
id="path110" />
id="path107" />
<path
d="M45.58984,20.416a.96338.96338,0,1,1,1.92676,0v6.98144a.96338.96338,0,1,1-1.92676,0Z"
fill="#1f1f1f"
id="path112" />
id="path109" />
<path
d="M49.33984,23.93164v-.0249a4.65641,4.65641,0,0,1,9.3086-.0249v.0249a4.65639,4.65639,0,0,1-9.3086.0249Zm7.29395,0v-.0249a2.66041,2.66041,0,0,0-2.65234-2.75244,2.61865,2.61865,0,0,0-2.627,2.72754v.0249a2.66083,2.66083,0,0,0,2.65235,2.75293A2.61878,2.61878,0,0,0,56.63379,23.93164Z"
fill="#1f1f1f"
id="path114" />
id="path111" />
</g>
</g>
<g
id="fab1740e-b8ac-4801-a592-be71cdff781e"
id="bdb96dbb-40c4-462b-a6aa-6b81cf62c9ca"
data-name="components"
inkscape:groupmode="layer"
style="display:none">
style="display:none"
inkscape:groupmode="layer">
<circle
id="f83fcefb-7734-4857-87be-11cf6ee4c38f"
id="e0bf7dd5-272f-4aa0-9575-e24686592a94"
data-name="L#PJ301MPort"
cx="21.509359"
cy="334"
r="5"
style="fill:#0000ff" />
<circle
id="b01cf3a9-6716-44f2-a5c5-a6fa70f80489"
id="f5b2a4c6-80a3-4e8e-82d5-6b71eb6eab14"
data-name="R#PJ301MPort"
cx="53.509369"
cy="334"
r="5"
style="fill:#0000ff" />
<circle
id="f0f1ce58-1745-4147-bd9b-853d994cd52a"
id="a995104f-adbb-4931-a553-e72f11421376"
data-name="L#PJ301MPort"
cx="21.509359"
cy="286"
r="5"
style="fill:#00ff00" />
<circle
id="e6301908-2ec8-4e22-8c77-97eaf1108fb2"
id="b3a6e230-2303-4ba8-85da-1fd5d686a5b2"
data-name="R#PJ301MPort"
cx="53.509369"
cy="286"
r="5"
style="fill:#00ff00" />
<circle
id="a1467658-efa7-46c7-aa11-8c2ffce7ca35"
id="b99e69dd-fbeb-4867-a677-17a66d6d26fe"
data-name="Level#RoundLargeBlackKnob"
cx="37.998718"
cy="228.42976"
r="5"
style="fill:#ff0000" />
<rect
id="a0a2682c-9ee4-4a33-a49c-a1040fe9bb18"
id="e0b30bb7-5e95-4e10-9aa0-b33fe6f85753"
data-name="Screen"
y="38.5"
width="75"
height="140.92406"
x="0"
style="fill:#ffff00" />
<path
id="b4985479-b1bb-42cc-8f3b-a36fee4a4c16"
data-name="LRed#RedLight"
d="M 19.75723,82.33042 A 2.9572,2.9572 0 1 0 22.714,85.288 2.95726,2.95726 0 0 0 19.75722,82.33039"
inkscape:connector-curvature="0"
<circle
id="fc49c886-a34d-4390-b7df-fe436143aed3"
data-name="Red#RedLight"
cx="19.756809"
cy="85.330421"
r="3"
style="fill:#ff00ff" />
<path
id="f0e4679e-a056-4eb0-a965-ccbbcaed2bcc"
data-name="LYellow#RedLight"
d="m 19.75723,97.97261 a 2.9572,2.9572 0 1 0 2.95678,2.95761 2.95726,2.95726 0 0 0 -2.95678,-2.95761"
inkscape:connector-curvature="0"
<circle
id="ba509c88-afaa-4a7d-917f-80317c6d4180"
data-name="Yellow#RedLight"
cx="19.756809"
cy="100.97261"
r="3"
style="fill:#ff00ff" />
<path
id="a8e9df17-f509-42c9-a06f-2f2b3837e384"
data-name="LGreen1#RedLight"
d="m 19.75723,113.6148 a 2.9572,2.9572 0 1 0 2.95678,2.95761 2.95725,2.95725 0 0 0 -2.95678,-2.95761"
inkscape:connector-curvature="0"
<circle
id="f8835e95-59b8-48c6-8b05-e678b99c5e68"
data-name="Green4#RedLight"
cx="19.756809"
cy="116.6148"
r="3"
style="fill:#ff00ff" />
<path
id="a61a4f81-2d0b-4d92-b369-04b600862a12"
data-name="LGreen2#RedLight"
d="m 19.75723,129.257 a 2.9572,2.9572 0 1 0 2.95677,2.9576 2.95725,2.95725 0 0 0 -2.95678,-2.95761"
inkscape:connector-curvature="0"
<circle
id="f7a0a11b-2fac-4cf6-aa4d-965e8a7d83ee"
data-name="Green3#RedLight"
cx="19.756809"
cy="132.25699"
r="3"
style="fill:#ff00ff" />
<path
id="e11e677d-02fd-4a4c-aa86-b698d2feca95"
data-name="LGreen3#RedLight"
d="m 19.75723,144.89917 a 2.9572,2.9572 0 1 0 2.95678,2.95762 2.95727,2.95727 0 0 0 -2.95678,-2.95762"
inkscape:connector-curvature="0"
<circle
id="b33352a6-7422-4ba7-8d39-949da87cf622"
data-name="Green2#RedLight"
cx="19.756809"
cy="147.89917"
r="3"
style="fill:#ff00ff" />
<path
id="fdd9e776-af0e-4562-8b4e-4e6833505437"
data-name="LGreen4#RedLight"
d="M 19.75723,160.54136 A 2.9572,2.9572 0 1 0 22.714,163.499 2.95727,2.95727 0 0 0 19.75722,160.54138"
inkscape:connector-curvature="0"
<circle
id="bf685813-936e-47e5-83c7-dc01558d3b56"
data-name="Green1#RedLight"
cx="19.756809"
cy="163.54137"
r="3"
style="fill:#ff00ff" />
<path
id="abf3417a-1d53-4ba9-84e0-41df237dfe99"
<circle
id="a16752e1-fcbd-400f-a22d-d3ea7b6bd020"
data-name="RRed#RedLight"
d="M 55.2436,82.33042 A 2.9572,2.9572 0 1 0 58.20039,85.288 2.95724,2.95724 0 0 0 55.2436,82.33039"
inkscape:connector-curvature="0"
cx="55.243191"
cy="85.330421"
r="3"
style="fill:#ff00ff" />
<path
id="fffac6b7-4569-42fd-9d73-c4da731397bb"
<circle
id="a2d59ae7-b569-41a9-8510-3594c22d8a16"
data-name="RYellow#RedLight"
d="m 55.2436,97.97261 a 2.9572,2.9572 0 1 0 2.95679,2.95761 2.95724,2.95724 0 0 0 -2.95679,-2.95761"
inkscape:connector-curvature="0"
style="fill:#ff00ff" />
<path
id="eaa08ef9-ded0-4ab0-989d-c238368e2a99"
data-name="RGreen1#RedLight"
d="m 55.2436,113.6148 a 2.9572,2.9572 0 1 0 2.95679,2.95761 2.95724,2.95724 0 0 0 -2.95679,-2.95761"
inkscape:connector-curvature="0"
cx="55.243191"
cy="100.97261"
r="3"
style="fill:#ff00ff" />
<path
id="e5948f54-7e5b-4e54-ac28-a1dcff64e605"
data-name="RGreen2#RedLight"
d="m 55.2436,129.257 a 2.9572,2.9572 0 1 0 2.95679,2.95761 2.95724,2.95724 0 0 0 -2.95679,-2.95761"
inkscape:connector-curvature="0"
<circle
id="e286df6e-f6c1-4b9d-abe4-fdfd668b447e"
data-name="RGreen4#RedLight"
cx="55.243191"
cy="116.6148"
r="3"
style="fill:#ff00ff" />
<path
id="b24b86f1-1f11-4a20-9f56-f8a05a979c8e"
<circle
id="b5be3941-ec87-4c43-b9e8-f788f950d74a"
data-name="RGreen3#RedLight"
d="m 55.2436,144.89917 a 2.9572,2.9572 0 1 0 2.95679,2.95762 2.95725,2.95725 0 0 0 -2.95679,-2.95762"
inkscape:connector-curvature="0"
cx="55.243191"
cy="132.25699"
r="3"
style="fill:#ff00ff" />
<path
id="ed8a8e6c-3178-4e37-a00b-da0fe828659b"
data-name="RGreen4#RedLight"
d="m 55.2436,160.54136 a 2.9572,2.9572 0 1 0 2.95679,2.95762 2.95725,2.95725 0 0 0 -2.95679,-2.95762"
inkscape:connector-curvature="0"
<circle
id="a50abc20-a210-4b3b-b21c-41e04ce7f5a6"
data-name="RGreen2#RedLight"
cx="55.243191"
cy="147.89917"
r="3"
style="fill:#ff00ff" />
<circle
id="b9452edd-6f79-47c8-a395-da97cf0e28c9"
data-name="RGreen1#RedLight"
cx="55.243191"
cy="163.54137"
r="3"
style="fill:#ff00ff" />
</g>
</svg>

+ 13
- 0
src/core/Audio.cpp View File

@@ -526,6 +526,19 @@ struct AudioWidget : ModuleWidget {
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(7.285, 113.115)), module, TAudio::AUDIO_OUTPUTS + 0));
addOutput(createOutputCentered<PJ301MPort>(mm2px(Vec(18.122, 113.115)), module, TAudio::AUDIO_OUTPUTS + 1));

addChild(createLightCentered<SmallSimpleLight<RedLight>>(mm2px(Vec(6.691, 28.899)), module, TAudio::VU_LIGHTS + 6 * 0 + 0));
addChild(createLightCentered<SmallSimpleLight<RedLight>>(mm2px(Vec(18.709, 28.899)), module, TAudio::VU_LIGHTS + 6 * 1 + 0));
addChild(createLightCentered<SmallSimpleLight<YellowLight>>(mm2px(Vec(6.691, 34.196)), module, TAudio::VU_LIGHTS + 6 * 0 + 1));
addChild(createLightCentered<SmallSimpleLight<YellowLight>>(mm2px(Vec(18.709, 34.196)), module, TAudio::VU_LIGHTS + 6 * 1 + 1));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(6.691, 39.494)), module, TAudio::VU_LIGHTS + 6 * 0 + 2));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(18.709, 39.494)), module, TAudio::VU_LIGHTS + 6 * 1 + 2));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(6.691, 44.791)), module, TAudio::VU_LIGHTS + 6 * 0 + 3));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(18.709, 44.791)), module, TAudio::VU_LIGHTS + 6 * 1 + 3));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(6.691, 50.089)), module, TAudio::VU_LIGHTS + 6 * 0 + 4));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(18.709, 50.089)), module, TAudio::VU_LIGHTS + 6 * 1 + 4));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(6.691, 55.386)), module, TAudio::VU_LIGHTS + 6 * 0 + 5));
addChild(createLightCentered<SmallSimpleLight<GreenLight>>(mm2px(Vec(18.709, 55.386)), module, TAudio::VU_LIGHTS + 6 * 1 + 5));

app::AudioDeviceWidget* audioWidget = createWidget<app::AudioDeviceWidget>(mm2px(Vec(0.0, 13.039)));
audioWidget->box.size = mm2px(Vec(25.4, 47.726));
audioWidget->setAudioPort(module ? &module->port : NULL);


Loading…
Cancel
Save