diff --git a/doc/fv-1_emu.png b/doc/fv-1_emu.png
index c7b94c6..84320fe 100755
Binary files a/doc/fv-1_emu.png and b/doc/fv-1_emu.png differ
diff --git a/plugin.json b/plugin.json
index 507de2f..faf97a9 100644
--- a/plugin.json
+++ b/plugin.json
@@ -1,7 +1,7 @@
{
"slug": "EH_modules",
"name": "FV-1.emu",
- "version": "1.0.4",
+ "version": "1.0.5",
"license": "GPL-3.0-only",
"author": "Eduard Heidt",
"authorEmail": "",
diff --git a/res/panel.svg b/res/panel.svg
index c47bd27..122c628 100644
--- a/res/panel.svg
+++ b/res/panel.svg
@@ -12,7 +12,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="165"
height="380"
- viewBox="0 0 43.656252 100.54167"
+ viewBox="0 0 58.000001 133.4"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
@@ -37,10 +37,10 @@
@@ -80,6 +80,143 @@
stdDeviation="0.085753096"
id="feGaussianBlur5752" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ inkscape:guide-bbox="true"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:measure-start="342.133,358.278"
+ inkscape:measure-end="342.24,-19.799">
+ spacingx="2.6363637"
+ spacingy="2.6328947"
+ enabled="true"
+ originx="0"
+ originy="133.4"
+ dotted="false" />
@@ -121,7 +267,7 @@
image/svg+xml
-
+
@@ -129,445 +275,764 @@
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
- transform="translate(0,-196.45832)"
- style="display:inline">
-
-
-
-
+ style="display:inline"
+ id="g3810"
+ transform="matrix(1.3285611,0,0,1.3283182,-42.501556,261.28303)">
+
+
-
+ transform="translate(-0.08392255,-3.9836982)"
+ id="g4310"
+ style="display:inline">
+
+
+
+
+
+
+
+
-
-
+ transform="matrix(0.88749858,0,0,0.86544031,-12.047891,-223.68226)"
+ id="text925"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.88055563px;line-height:6.61458302px;font-family:DINPro;-inkscape-font-specification:DINPro;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;display:inline;fill:#666666;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ aria-label="My Module">
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ transform="translate(2.7619462,93.853195)"
+ style="fill:#4d4d4d"
+ id="g4354">
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+ transform="matrix(1,0,0,-0.51989287,0.896092,38.455983)"
+ id="text4439"
+ style="font-style:normal;font-weight:normal;font-size:5.29166746px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+
+
+ style="display:inline;fill:#999999;fill-rule:evenodd;stroke:none;stroke-width:0.63346124px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 33.906872,18.980988 0.0081,2.071508 1.623725,-1.147808 z"
+ id="path4199-0"
+ inkscape:connector-curvature="0" />
-
-
-
-
+ style="display:inline;fill:#999999"
+ transform="matrix(-1,0,0,1,61.101804,37.735995)"
+ id="g3795-0">
+
+ style="display:inline;filter:url(#filter5750)"
+ transform="translate(-0.34845656,-3.5131172)"
+ id="g4248">
+ inkscape:connector-curvature="0"
+ d="m 23.389757,87.014698 c 0.09194,-0.07698 0.09051,-0.217603 -0.115514,-0.280247 -8.51e-4,-0.587097 -0.0026,-1.174271 6.47e-4,-1.761364 0.04528,-0.002 0.09082,9.87e-4 0.135854,-0.002 l 0.0035,0.004 c 0.0044,-0.118248 0,-0.236637 0.0026,-0.354875 0.660052,3.75e-4 1.320244,-9.87e-4 1.980304,4.94e-4 -0.0035,-0.325661 -8.51e-4,-0.651388 -8.51e-4,-0.977048 0.07902,9.86e-4 0.433273,9.5e-5 0.614021,4.93e-4 0.0026,-0.0192 0.0026,-0.0114 -0.0035,-0.03618 1.133611,-9.87e-4 2.267345,-4.93e-4 3.400975,-1.87e-4 0.0035,0.143625 0.0026,1.956311 0.0026,1.965022 -0.0087,-3.75e-4 -0.02535,-9.87e-4 -0.03365,-9.87e-4 0.0035,3.8e-4 0.0111,9.87e-4 0.01486,9.87e-4 l -0.0017,0.0091 c -0.09669,0.0073 -0.176151,0.04996 -0.217191,0.09973 -0.02709,0.03426 -0.01748,0.07304 -0.01871,0.109715 -0.01284,0.125073 0.323841,0.215242 0.546784,0.115713 0.16866,-0.07347 0.160434,-0.249437 -0.03034,-0.308883 -0.0026,-0.002 -0.0071,-0.0061 -0.0088,-0.0081 0.0026,-0.189682 0.0026,-1.860172 6.48e-4,-2.092375 -0.0052,0.0015 -0.01635,0.0045 -0.02168,0.0058 -0.368936,4.93e-4 -3.186685,0.0015 -3.623541,-4.94e-4 -0.0017,-0.003 -0.0052,-0.0085 -0.007,-0.01125 0.0035,-0.09148 0.0026,-0.18304 2.27e-4,-0.274451 l -0.01538,0.0094 c -0.191868,0.002 -0.383981,-1.62e-4 -0.575971,9.87e-4 -0.0061,-0.002 -0.01757,-0.0064 -0.02342,-0.0085 0.0061,-0.14182 -1.14e-4,-0.283783 0.0035,-0.425676 0.204586,6.6e-5 0.40919,4.94e-4 0.613777,-1.87e-4 -0.0026,-0.0374 0.0017,-0.06727 -0.0026,-0.102407 6.175315,0 5.810766,-3.8e-4 5.929173,0.002 6.47e-4,0.04941 0.0044,1.288054 -0.0026,1.577671 0.02823,0.0015 1.689618,-0.003 1.689618,-0.003 0.02439,0.02407 0.04379,0.05063 0.08024,0.06972 0.13859,0.07579 0.385729,0.07094 0.511855,-0.01272 0.116764,-0.08122 0.09931,-0.226001 -0.06651,-0.281332 -0.0883,-0.03071 -0.237881,-0.03958 -0.348929,-0.01099 -0.121554,0.03547 -0.137559,0.07491 -0.164045,0.09539 -0.0035,0.01399 -0.0035,0.03279 -0.0306,0.03912 -0.484162,3.75e-4 -0.968308,1.87e-4 -1.45248,6.6e-5 -0.007,-0.0015 -0.01967,-0.004 -0.02631,-0.0057 0.0052,-0.05872 0.0026,-1.580027 6.47e-4,-1.61745 -0.0061,0.0026 -0.01731,0.0073 -0.02309,0.0098 -0.01495,1.87e-4 -5.596844,9.87e-4 -6.063403,1.87e-4 -0.01215,-0.003 -0.02448,-0.0057 -0.03697,-0.0083 l -6.47e-4,-0.002 c 0.01136,-0.05663 0.0026,-0.114122 0.0052,-0.171116 -0.03925,0.0045 -0.01652,0.003 -0.604414,0.003 -0.0026,-0.002 -0.0088,-0.0064 -0.01171,-0.0086 0.0061,-0.141528 8.51e-4,-0.283282 0.0026,-0.424881 0.204219,0.0045 0.408945,-1.26e-4 0.613278,0.002 8.51e-4,-0.0087 8.51e-4,-0.138938 2.18e-4,-0.1714 0.731712,0.0015 7.277477,9.87e-4 8.009285,4.94e-4 0.138967,0.09901 0.44898,0.08918 0.562762,-0.02204 0.07544,-0.07738 0.06049,-0.192084 -0.06923,-0.247051 -0.04703,-0.02006 -0.108155,-0.03253 -0.108155,-0.03253 -0.254665,-0.03157 -0.440745,0.05192 -0.445239,0.156861 -0.04624,0.01465 -3.159509,0.003 -4.798935,0.0082 v -0.0083 c -1.046157,4.94e-4 -2.092454,9.87e-4 -3.138741,3.75e-4 l -0.0035,0.003 c -0.0035,-0.0015 -0.01,-0.004 -0.01337,-0.0056 l 0.0044,-0.0036 c 0.0026,-0.03537 0.0017,-0.07073 0,-0.106025 l -0.01223,0.0066 c -0.200591,-0.003 -0.40183,0.003 -0.601933,-0.003 0.0044,-0.14291 1.14e-4,-0.285952 0.0017,-0.428858 0.204463,1.63e-4 0.408927,6.1e-5 0.6134,0 0,-0.07398 0.0017,-0.09358 -0.0017,-0.123239 0.01495,-6.6e-5 4.225089,-0.0052 4.24167,0.0051 0.23234,0.128306 0.682141,0.01926 0.57286,-0.195626 -0.04851,-0.137783 -0.494285,-0.189891 -0.641854,-0.0076 -8.51e-4,0.0045 -0.0026,0.01302 -0.0035,0.01739 -0.02186,0.02214 -0.0087,0.05057 -0.01189,0.07529 -0.704824,0.0036 -4.108788,-0.0015 -4.13301,0.004 -0.0052,-0.0015 -0.0152,-0.004 -0.02019,-0.0054 -0.0017,-0.0045 -0.0017,-0.159511 -0.0052,-0.196787 l -0.0167,0.0095 c -0.190993,3.75e-4 -0.381995,1.32e-4 -0.572981,1.87e-4 -0.0061,-0.002 -0.01818,-0.006 -0.02422,-0.008 0.0078,-0.140442 8.51e-4,-0.28125 0.0035,-0.421839 0.204848,-3.75e-4 0.409557,-3.75e-4 0.614413,-6.6e-5 -0.0017,-0.0337 8.52e-4,-0.12293 -8.51e-4,-0.195044 0.901072,0.0015 1.802265,3.75e-4 2.703486,4.94e-4 -3.32e-4,-0.03274 -0.0044,-1.140279 0.0026,-1.172822 0.948238,3.75e-4 1.896477,9.87e-4 2.844689,-6.6e-5 l 0.01373,0.003 c 0.0035,0.0071 0.01547,0.01135 0.02325,0.01693 l 0.0035,-3.76e-4 c 0.286684,0.136886 0.731957,-0.05203 0.509609,-0.258978 -0.13214,-0.122713 -0.593874,-0.103462 -0.625001,0.09575 -0.525919,0.0065 -2.948245,-0.0071 -2.96397,0.0114 0.0044,0.399352 -0.0017,0.798783 0.0035,1.198134 -0.08819,0.003 -2.414346,0.0036 -2.515612,-4.93e-4 l -0.0026,-0.004 c 0.0078,-0.04028 0.0026,-0.08085 0.0026,-0.121201 l -0.01574,0.0095 c -0.19199,0.002 -0.38412,-3.8e-4 -0.576225,0.0015 -0.0061,-0.0026 -0.01757,-0.0071 -0.02334,-0.0095 0.0061,-0.141673 -1.14e-4,-0.283566 0.0035,-0.425321 0.204218,4.93e-4 0.408446,0 0.612666,3.75e-4 6.46e-4,-0.02756 0.0017,-0.08427 -0.0017,-0.109633 0.07692,-0.0058 1.483615,-0.002 1.563378,-0.0015 0.0078,-0.03248 0.0035,-1.33325 8.51e-4,-1.375537 0.359024,-0.156998 0.06818,-0.428053 -0.332959,-0.333247 -0.148538,0.04429 -0.16422,0.108498 -0.177025,0.124465 -0.0026,0.04221 -0.02989,0.122976 0.08435,0.180951 0.06267,0.03689 0.152935,0.05032 0.239149,0.05488 0.0017,0.40109 8.51e-4,0.802254 3.23e-4,1.203414 -0.191291,0.0051 -1.023753,-1.87e-4 -1.369264,0.003 -0.0026,-0.0026 -0.0078,-0.0082 -0.01032,-0.01089 0.0061,-0.05359 0.0026,-0.107834 0.0017,-0.161635 l -0.01223,0.0072 c -0.183764,0.0015 -0.367643,1.62e-4 -0.55153,4.93e-4 -0.01793,-9.87e-4 -0.04196,0.0026 -0.05018,-0.0098 0.0035,-0.140879 6.46e-4,-0.281833 0.0017,-0.422712 0.205101,-0.0015 0.410694,0.0026 0.615533,-0.002 -0.0026,-0.02281 -0.0017,-0.04551 -0.0026,-0.06827 0.22567,1.67e-4 0.451357,-4.94e-4 0.677028,3.75e-4 0.007,-0.02843 -3.24e-4,-1.874762 0.0044,-2.380143 0.09631,-0.05532 0.114142,-0.145722 0.06312,-0.216458 -0.06792,-0.09281 -0.289454,-0.120979 -0.44773,-0.08635 -0.238755,0.05395 -0.195015,0.191 -0.192996,0.223184 0.04887,0.07516 0.127394,0.131007 0.315241,0.136971 0.0026,0.0015 0.007,0.004 0.0095,0.0056 -0.0026,0.19815 -0.0026,1.926641 3.24e-4,2.175688 -0.01495,3.75e-4 -0.414679,0.0066 -0.432887,-0.0063 0,-0.06792 0.0044,-0.135887 0.0035,-0.203918 -0.206492,0.0065 -0.413613,0.0064 -0.620087,-1.87e-4 0.02736,-0.174262 0.007,-0.353765 0.007,-0.528483 l -0.01574,-6.6e-5 -0.01101,0.0073 c -4.594535,0.0056 -2.743207,-0.002 -5.995514,-0.0073 -0.0044,0.21733 -0.0017,0.434726 -8.51e-4,0.652041 -0.202593,-1.87e-4 -0.405195,3.75e-4 -0.607789,-1.87e-4 8.51e-4,0.02843 0.0026,0.05692 1.14e-4,0.08541 -0.26435,0.0026 -0.528813,3.74e-4 -0.793294,9.87e-4 -2.486031,-4.94e-4 -2.05914,0.01626 -2.226192,-0.04788 l -0.0044,0.0066 c 6.47e-4,-0.476157 -1.14e-4,-0.952248 2.79e-4,-1.428406 0.196169,-0.05216 0.230042,-0.142469 0.175025,-0.264107 l -0.0061,-0.0061 h -0.01075 c -0.01233,-0.03279 -0.06835,-0.05207 -0.114404,-0.06864 -0.507746,-0.143904 -0.740654,0.30986 -0.232041,0.351919 0.0078,0.06298 0.0026,1.442094 0.0026,1.465282 0.118048,0.08233 0.116222,0.08036 0.176028,0.122869 l 8.51e-4,-1.62e-4 c 0.01748,0.01424 -0.188563,0.01201 3.031837,0.01014 0.0044,0.06429 0.0035,0.12895 6.55e-4,0.193306 0.201842,0.0036 0.404068,9.87e-4 0.606163,9.87e-4 0.009,0.02285 0.0035,0.0015 0.0052,0.431974 -0.190487,9.87e-4 -0.380982,6.7e-5 -0.571618,3.75e-4 -0.0078,0.0015 -0.0236,0.004 -0.03155,0.0056 -0.0017,0.0118 0.01294,0.02929 -0.01171,0.03588 -0.01503,1.6e-5 -6.759966,0.0026 -6.794083,-0.0076 -0.007,-0.0075 -0.01634,-0.01439 -0.02684,-0.02063 -8.51e-4,-3.75e-4 -0.0026,-4.93e-4 -0.0035,-9.87e-4 -0.02132,-0.01358 -0.04318,-0.02741 -0.05751,-0.04404 0.0035,-0.374692 -0.0017,-0.749456 0.0026,-1.124073 0.02072,-0.0067 0.286175,-0.05815 0.225058,-0.223903 -0.0026,-0.195418 -0.708374,-0.214629 -0.674283,0.05858 0.0044,0.01829 0.0035,0.03958 0.02709,0.05366 0.02238,0.05764 0.130225,0.09863 0.229918,0.11325 2.6e-5,0.0026 0.0017,1.181594 0.0026,1.184113 0.0236,0.01414 0.146178,0.113823 0.179141,0.144491 0.01678,0.01277 6.876293,0.0078 6.891258,0.0078 0.0044,0.07948 0.0044,0.159177 0,0.238654 l 0.0026,-0.003 c 0.201483,0.0015 0.402818,4.93e-4 0.604178,4.93e-4 0.01652,0.08498 -0.007,0.182213 0.01364,0.219712 -0.01757,0.04261 -0.0044,0.08701 -0.0035,0.129669 -0.02011,0.02782 0.02273,0.05829 -0.0078,0.08439 -0.19561,-4.94e-4 -0.391341,4.93e-4 -0.58695,-4.94e-4 -0.0035,0.01479 -0.0026,0.03016 -0.0026,0.04505 -5.3e-5,0.009 -6.47e-4,0.0181 -2.18e-4,0.02706 2.79e-4,0.0068 8.51e-4,0.01373 8.51e-4,0.02057 -1.14e-4,0.003 6.46e-4,0.0075 -0.0017,0.01008 -6.47e-4,9.87e-4 -0.0061,0.0045 -0.0078,0.002 -3.23e-4,-4.94e-4 6.48e-4,-0.0015 0.0017,-0.0015 -0.0044,0.003 -0.01188,0.0052 -0.01913,0.0051 -0.05201,-9.87e-4 -0.103758,-4.93e-4 -0.155767,-4.93e-4 -0.0507,-3.1e-5 -0.101468,-6.7e-5 -0.15221,-9.7e-5 -0.09865,-6.6e-5 -0.197296,-1.01e-4 -0.295957,-1.67e-4 -0.09495,-6.1e-5 -0.18991,-9.6e-5 -0.284856,-1.27e-4 -0.09133,-3.5e-5 -0.182655,-1.01e-4 -0.273965,-1.32e-4 -0.08777,-3.5e-5 -0.17554,-6.5e-5 -0.2633,-9.6e-5 -0.08427,-3e-5 -0.168557,-6.6e-5 -0.252838,-6.6e-5 -0.08085,-3e-5 -0.161728,-3.5e-5 -0.242593,-6.6e-5 -0.07753,-2e-5 -0.155033,-3e-5 -0.232549,-3.5e-5 -0.07422,-1e-5 -0.148485,-1.5e-5 -0.222724,-2.6e-5 -0.07106,-1e-5 -0.142078,-1e-5 -0.213118,-1e-5 -0.06792,0 -0.135811,0 -0.203721,1e-5 -0.06486,1.1e-5 -0.129692,1.1e-5 -0.194533,1.6e-5 -0.06189,1e-5 -0.123722,2e-5 -0.185575,3.6e-5 -0.05892,9e-6 -0.117866,2.4e-5 -0.176816,3e-5 -0.05612,2e-5 -0.112184,3.5e-5 -0.168276,6.5e-5 -0.05332,2.1e-5 -0.106632,3.6e-5 -0.159945,6.6e-5 -0.05061,2.1e-5 -0.101213,3.5e-5 -0.151816,6.7e-5 -0.04799,2.5e-5 -0.09595,3.5e-5 -0.143914,6.5e-5 -0.04536,2.5e-5 -0.09082,6.6e-5 -0.13623,6.6e-5 -0.04293,2.5e-5 -0.08583,6.6e-5 -0.128749,6.6e-5 -0.04047,2.5e-5 -0.08095,6.6e-5 -0.121484,6.6e-5 -0.03819,2.5e-5 -0.07631,6.6e-5 -0.114448,6.6e-5 -0.03583,2.5e-5 -0.07176,6.5e-5 -0.107586,6.5e-5 -0.03365,2.5e-5 -0.06731,6.1e-5 -0.100977,6.1e-5 -0.03155,3.1e-5 -0.06302,3.6e-5 -0.09456,6.6e-5 -0.02945,3.1e-5 -0.05892,3.6e-5 -0.08836,6.6e-5 -0.02745,2e-5 -0.05489,3.6e-5 -0.08235,6.6e-5 -0.02552,2e-5 -0.05105,3.5e-5 -0.07657,6.6e-5 -0.02368,2e-5 -0.04738,3.1e-5 -0.07106,3.5e-5 -0.02193,10e-6 -0.04379,2.6e-5 -0.06573,3.1e-5 -0.02019,1e-5 -0.04038,2e-5 -0.06057,2e-5 -0.01853,10e-6 -0.03716,10e-6 -0.0556,10e-6 -0.01697,0 -0.03401,0 -0.05096,-10e-6 -0.01548,-1e-5 -0.03094,-1e-5 -0.04642,-2.5e-5 -0.01407,-1.1e-5 -0.02815,-3e-5 -0.04222,-3.6e-5 -0.01267,-1.5e-5 -0.02544,-3e-5 -0.03812,-6.5e-5 -0.01136,-1.6e-5 -0.02281,-3.2e-5 -0.03426,-6.7e-5 -0.01022,-2.5e-5 -0.02046,-6.6e-5 -0.0306,-9.6e-5 -0.0091,-3.5e-5 -0.0181,-6.5e-5 -0.02719,-1.32e-4 -0.0078,-3.5e-5 -0.01599,-1.01e-4 -0.02395,-1.31e-4 -0.007,-6.6e-5 -0.01398,-9.7e-5 -0.02097,-1.63e-4 -0.0061,-6.5e-5 -0.01215,-1.31e-4 -0.01818,-1.87e-4 -0.0052,-6.6e-5 -0.01041,-1.31e-4 -0.01556,-1.87e-4 -0.0044,-6.6e-5 -0.0088,-1.68e-4 -0.01329,-1.88e-4 -0.0035,-6.6e-5 -0.007,-1.67e-4 -0.0111,-1.93e-4 -0.0026,-9.6e-5 -0.0061,-1.87e-4 -0.0092,-3.75e-4 -0.0026,-9.6e-5 -0.0052,-1.87e-4 -0.0078,-3.75e-4 -0.0017,-1.01e-4 -0.0044,-1.87e-4 -0.0061,-3.75e-4 -0.0017,-1.31e-4 -0.0035,-1.87e-4 -0.0044,-3.75e-4 -8.52e-4,-1.31e-4 -0.0026,-1.87e-4 -0.0035,-3.74e-4 -8.51e-4,-1.68e-4 -0.0017,-1.88e-4 -0.0026,-4.94e-4 -6.46e-4,-1.62e-4 -8.51e-4,-3.75e-4 -0.0017,-4.93e-4 -6.46e-4,-1.68e-4 -8.52e-4,-3.75e-4 -0.0017,-4.94e-4 -6.46e-4,-1.67e-4 -8.51e-4,-3.75e-4 -8.51e-4,-4.93e-4 -6.46e-4,-1.88e-4 -8.51e-4,-3.81e-4 -8.51e-4,-4.94e-4 -6.46e-4,-1.88e-4 -8.51e-4,-3.75e-4 -0.0017,-4.93e-4 -6.46e-4,-1.87e-4 -8.51e-4,-4.93e-4 -0.0017,-4.93e-4 -8.51e-4,-0.0087 -0.007,-0.04804 -0.01949,-0.0533 l 0.0044,-0.0063 -0.007,-0.0066 -0.01102,-6.5e-5 c -0.02692,-0.09753 -0.410815,-0.161594 -0.589449,-0.01926 -0.207821,0.252103 0.28344,0.364391 0.522842,0.240103 0.02509,-0.01769 5.795828,-0.0083 5.810793,-0.0083 0.0026,0.05417 0.0044,0.108483 -6.47e-4,0.162577 l -0.01206,0.0078 c 0.204097,0.0015 0.408307,0.0015 0.612282,-3.75e-4 0.0052,0.143194 6.55e-4,0.286464 0.0026,0.429659 -0.200469,4.93e-4 -0.400946,3.75e-4 -0.601302,3.75e-4 -0.0017,0.05778 -8.51e-4,0.115638 -1.14e-4,0.173502 -0.735234,0.0015 -6.774118,9.87e-4 -7.481198,4.93e-4 -0.01136,-0.01677 -0.02273,-0.0339 -0.04353,-0.04768 -2.8e-4,-0.471743 -8.51e-4,-0.943563 3.23e-4,-1.415311 0.152533,-0.07789 0.155488,-0.259375 -0.08869,-0.315324 -0.161186,-0.03309 -0.381961,-0.01226 -0.469312,0.124754 -0.0078,0.07668 -0.04738,0.20717 0.310993,0.242135 0.0017,0.471384 8.51e-4,0.942839 3.23e-4,1.414228 0.0061,0.0077 0.148713,0.105482 0.169167,0.121425 h 0.0052 c 0.0026,0.0026 0.0087,0.008 0.01119,0.01054 0.02744,0.01404 7.360139,9.87e-4 7.584743,0.0086 6.55e-4,0.03016 8.51e-4,0.06039 2.89e-4,0.09061 l -0.0088,0.0094 c 0.201963,0.0015 0.403936,9.87e-4 0.605786,1.27e-4 l 0.0026,0.002 c -0.0017,0.141821 -8.51e-4,0.283779 -2.88e-4,0.425671 -0.19998,0.0015 -0.400335,0.0015 -0.600429,1.93e-4 -0.01049,0.02052 -0.007,0.02959 -0.007,0.127855 -0.01513,1.88e-4 -5.126597,0.01292 -5.161833,-0.0151 -0.0044,-0.08934 -0.13228,-0.17256 -0.424408,-0.154546 -0.08076,0.0184 -0.189674,0.0378 -0.240766,0.138639 -0.0096,0.07578 -0.0061,0.107191 0.05087,0.159897 0.0044,0.0015 0.01338,0.0045 0.01783,0.006 -8.52e-4,0.03988 0.391987,0.137088 0.551024,-0.02184 l 0.0052,-4.93e-4 c 0.07167,0.004 4.153141,-9.87e-4 5.200137,0.0026 6.55e-4,-0.0015 8.51e-4,-0.003 8.51e-4,-0.0045 -2.28e-4,0.05844 -1.13e-4,0.116798 0.0017,0.175165 l -0.0052,0.008 c 0.203092,0.003 0.40655,9.87e-4 0.609782,9.87e-4 0.01032,0.03066 0.0017,0.245484 0.0061,0.432045 -0.204097,-0.0015 -0.408316,1.88e-4 -0.612404,-9.87e-4 -6.47e-4,0.06632 3.24e-4,0.132639 8.51e-4,0.199027 l -0.0052,0.0026 c -1.889597,-1.88e-4 -3.779204,-4.93e-4 -5.668688,4.93e-4 l 0.01189,0.004 -0.01696,0.003 c 0.0044,0.626512 -1.13e-4,1.2531 0.0026,1.879682 -0.166554,0.03471 -0.175531,0.05444 -0.236649,0.111666 -0.154403,0.361274 0.777218,0.328331 0.640848,0.0151 -0.0017,-0.05893 -0.142096,-0.107672 -0.15707,-0.114411 5.3e-5,-0.139856 0.0017,-1.662611 -0.0035,-1.762813 0.283702,0.0015 5.304628,9.87e-4 5.43216,9.87e-4 -6.46e-4,0.02711 -0.0017,0.05417 -0.0026,0.08129 0.04554,0.0036 0.557466,0.0015 0.608916,9.87e-4 -0.007,0.14059 -6.46e-4,0.281544 -0.0026,0.422205 -0.198485,0.003 -0.397468,0.0015 -0.596067,4.94e-4 0.0026,0.02311 0.0026,0.105974 0.0017,0.157874 -0.07945,0.0072 -4.023134,0.0015 -4.03907,0.0015 -0.01652,0.05186 0.0044,1.980625 -0.01171,2.029889 l 0.01958,9.87e-4 c -0.303011,0.01475 -0.370729,0.24591 -0.183624,0.324511 0.234402,0.119833 0.670017,0.0078 0.556006,-0.204813 -0.01932,-0.05402 -0.102665,-0.09626 -0.191991,-0.111519 -0.0026,-0.003 -0.007,-0.0095 -0.0094,-0.01267 0.007,-0.105163 -8.51e-4,-1.765448 0.0052,-1.921335 1.284685,0.0026 2.569623,-3.81e-4 3.854438,0.0015 0,0.14283 0.0044,0.134017 -0.01005,0.160844 0.203467,0.0015 0.407066,-0.0015 0.610419,0.0015 0.0026,0.281113 0.0017,0.562297 3.24e-4,0.843396 l -0.0061,0.0051 c 0.152803,0.002 1.824241,0.0015 1.848069,0.0015 0.0094,0.114198 8.51e-4,0.228969 0.0044,0.343381 -0.0017,0.002 -0.0052,0.0062 -0.007,0.0083 0.07351,3.75e-4 0.146963,4.93e-4 0.220319,-3.75e-4 0.0052,0.412475 -0.0026,1.223591 0.0044,1.412418 -0.0061,0.0026 -0.01853,0.008 -0.02483,0.01069 -0.01512,2.5e-5 -2.844872,0.0057 -2.883132,-0.008 -0.02281,-0.05155 -0.143424,-0.119489 -0.372993,-0.107181 -0.306945,0.02711 -0.311657,0.224597 -0.228921,0.292683 0.0035,0.002 0.01171,0.0056 0.01555,0.0073 0.01442,0.02199 0.05499,0.03304 0.08531,0.04703 l 0.01373,6.6e-5 -0.0088,9.87e-4 c 0.19866,0.06088 0.468604,0.01165 0.513848,-0.122083 1.046156,-9.87e-4 2.092321,-4.94e-4 3.138487,-6.6e-5 0,-0.511087 -8.51e-4,-1.022103 6.46e-4,-1.533195 0.08645,-1.87e-4 0.172901,1.62e-4 0.259228,-6.6e-5 -6.46e-4,-0.117447 6.47e-4,-0.234823 -6.46e-4,-0.352204 0.24525,4.93e-4 0.490525,-3.75e-4 0.735653,4.93e-4 0.0035,0.117082 0.0035,0.234316 0,0.351404 0.111905,0.0015 0.223939,-0.0015 0.335581,0.0015 l 0.01058,0.0061 c -6.46e-4,0.577768 -6.46e-4,1.155537 1.14e-4,1.733234 -0.0209,0.03891 -0.265093,-0.0082 -0.247383,0.250958 0.119246,0.173325 0.478105,0.157468 0.607772,0.05106 z"
+ id="path4313"
+ style="fill:#ff0000"
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccccccccccccccccccccsccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" />
+
-
-
-
-
+ aria-label="OUT"
+ transform="matrix(0.72724701,0,0,0.76587261,-8.9059905,85.705481)"
+ style="font-style:normal;font-weight:normal;font-size:3.25089478px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.13285612;stroke-miterlimit:4;stroke-dasharray:none"
+ id="text4765-2">
+ aria-label="OUT"
+ transform="matrix(0.72724701,0,0,0.76587261,1.4598256,85.385575)"
+ style="font-style:normal;font-weight:normal;font-size:3.25089478px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.13285612;stroke-miterlimit:4;stroke-dasharray:none"
+ id="text4765-2-8">
+
+
+
+
+
+
+
+
+
+
+
+
+
+ STANDART CASE REV 0.7
-
+ style="fill-rule:evenodd;image-rendering:optimizeQuality;shape-rendering:geometricPrecision;text-rendering:geometricPrecision"
+ id="g2495"
+ transform="matrix(0.02539785,0,0,0.02539785,44.046942,40.158062)" />
+
+
+
+
+
+
+
+
+
+ style="font-style:normal;font-weight:normal;font-size:5.29166746px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1">
+ id="path4504"
+ d="m 6.1174403,35.245652 h 0.521932 v 3.857646 h -0.521932 z" />
+ id="path4506"
+ d="m 7.6780688,35.245652 h 0.5219321 v 3.857646 H 7.6780688 Z" />
+
+
+
+
+
+
+
+ style="font-style:normal;font-weight:normal;font-size:5.29166746px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1">
+ id="path4452"
+ d="m -116.69108,79.618405 h 0.52193 v 3.857646 h -0.52193 z" />
+ id="path4454"
+ d="m -115.13045,79.618405 h 0.52193 v 3.857646 h -0.52193 z" />
+ id="path4456"
+ d="m -113.56982,79.618405 h 0.52193 v 3.857646 h -0.52193 z" />
+ style="display:inline;fill:#808080"
+ transform="matrix(0,1.2602042,1.3285611,0,-74.352309,71.206851)"
+ id="g4213">
+
-
+ style="fill:#808080;fill-opacity:1;stroke:#999999;stroke-opacity:1"
+ id="circle4520"
+ cx="16.893732"
+ cy="29.93704"
+ inkscape:transform-center-x="-0.77495416"
+ inkscape:transform-center-y="-11.236818"
+ r="3.2812502" />
+
+
+ transform="matrix(0,1.2602042,1.3285611,0,-32.197322,71.305328)"
+ id="g4213-3-6-3"
+ style="display:inline;fill:#808080">
-
+ id="g4514-6-2-1">
+ cy="253.5125"
+ cx="7.500001"
+ id="ellipse4518-5-1-1"
+ style="fill:#808080;fill-opacity:1;stroke:#999999;stroke-opacity:1;stroke-width:1.90165123;stroke-miterlimit:4;stroke-dasharray:none" />
+ inkscape:transform-center-x="-0.77495416"
+ cy="253.52618"
+ cx="16.888865"
+ id="circle4520-3-2-6"
+ style="fill:#808080;fill-opacity:1;stroke:#999999;stroke-opacity:1" />
+ height="0.55740249"
+ x="6.1829972"
+ y="29.734951"
+ ry="0.022610476" />
-
-
-
-
-
+ transform="matrix(0.45076343,0,0,0.43942755,52.318623,82.202244)"
+ id="text4399"
+ style="font-style:normal;font-weight:normal;font-size:5.29166746px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1">
+
+
+
+
+
+
+
+
+
+
+
+
+
+ y="29.412224"
+ ry="0.042536844" />
-
+ style="display:inline;fill:#808080;stroke-width:2.98830914;stroke-miterlimit:4;stroke-dasharray:none"
+ transform="matrix(0,1.2602042,1.3285611,0,-32.177939,145.06933)"
+ id="g4213-8-1">
+
+
+
+
+
+
+
+
+ id="path4426-4"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';fill:#4d4d4d"
+ d="m -77.487527,66.069096 h 3.55534 v 0.751893 h -1.278992 v 3.105754 h -0.994772 v -3.105754 h -1.281576 z" />
+
+
+
+
+
+
+ aria-label="IN-R"
+ transform="matrix(0.7808557,0,0,0.71575938,0.49244412,47.438036)"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.37738919px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;display:inline;fill:#999999;fill-opacity:1;stroke:none;stroke-width:0.0844425"
+ id="text4827-0">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/FV1EmuVCVPlugIn.cpp b/src/FV1EmuVCVPlugIn.cpp
index 8463741..188ebbe 100644
--- a/src/FV1EmuVCVPlugIn.cpp
+++ b/src/FV1EmuVCVPlugIn.cpp
@@ -36,6 +36,9 @@ struct FV1EmuModule : Module
FX_PREV,
FX_NEXT,
DRYWET_PARAM,
+ TPOT_DRYWWET,
+ TPOT_LIN,
+ TPOT_RIN,
NUM_PARAMS
};
enum InputIds
@@ -45,6 +48,7 @@ struct FV1EmuModule : Module
POT_2,
INPUT_L,
INPUT_R,
+ CV_DRYWET,
NUM_INPUTS
};
enum OutputIds
@@ -77,7 +81,10 @@ struct FV1EmuModule : Module
configParam(TPOT0_PARAM, -1.0f, 1.0f, 0.0f, "");
configParam(TPOT1_PARAM, -1.0f, 1.0f, 0.0f, "");
configParam(TPOT2_PARAM, -1.0f, 1.0f, 0.0f, "");
+ configParam(TPOT_DRYWWET, -1.0f, 1.0f, 0.0f, "");
configParam(DRYWET_PARAM, -1.0f, 1.0f, 0.0f, "");
+ configParam(TPOT_LIN, -1.0f, 1.0f, 0.0f, "");
+ configParam(TPOT_RIN, -1.0f, 1.0f, 0.0f, "");
loadFx(asset::plugin(pluginInstance, "fx/demo.spn"));
INFO("FV1EmuModule()");
@@ -210,8 +217,15 @@ struct FV1EmuModule : Module
}
//float deltaTime = args.sampleTime;
- auto inL = inputs[INPUT_L].getVoltage();
- auto inR = inputs[INPUT_R].getVoltage();
+ auto inL = inputs[INPUT_L].getVoltage() * (1 + params[TPOT_LIN].getValue());
+ auto inR = inputs[INPUT_R].getVoltage() * (1 + params[TPOT_RIN].getValue());
+
+ // if(inputs[INPUT_L].isConnected() == false)
+ // inL = inR;
+
+ // if(inputs[INPUT_R].isConnected() == false)
+ // inR = inL;
+
auto outL = 0.0f;
auto outR = 0.0f;
@@ -224,6 +238,7 @@ struct FV1EmuModule : Module
p2 += inputs[POT_2].getVoltage() * 0.1f * params[TPOT2_PARAM].getValue();
float mix = params[DRYWET_PARAM].getValue();
+ mix += inputs[CV_DRYWET].getVoltage() * params[TPOT_DRYWWET].getValue();
float d = clamp(1.f - mix, 0.0f, 1.0f);
float w = clamp(1.f + mix, 0.0f, 1.0f);
@@ -234,8 +249,8 @@ struct FV1EmuModule : Module
outR *= 10;
}
- outputs[OUTPUT_L].setVoltage(clamp(inputs[INPUT_L].getVoltage() * d + outL * w, -10.0f, 10.0f));
- outputs[OUTPUT_R].setVoltage(clamp(inputs[INPUT_R].getVoltage() * d + outR * w, -10.0f, 10.0f));
+ outputs[OUTPUT_L].setVoltage(clamp(inL * d + outL * w, -10.0f, 10.0f));
+ outputs[OUTPUT_R].setVoltage(clamp(inR * d + outR * w, -10.0f, 10.0f));
}
json_t *dataToJson() override
@@ -705,32 +720,47 @@ struct FV1EmuWidget : ModuleWidget
if (module)
{
- auto display = new DisplayPanel(Vec(12, 31), Vec(200, 75), module);
+ auto display = new DisplayPanel(Vec(12, 10.5 * RACK_GRID_WIDTH), Vec(200, 75), module);
addChild(display);
+ addParam(createParam(display->box.pos.plus(Vec(93, 53)), module, FV1EmuModule::FX_PREV));
+ addParam(createParam(display->box.pos.plus(Vec(118, 53)), module, FV1EmuModule::FX_NEXT));
}
- addParam(createParam(Vec(105, 88), module, FV1EmuModule::FX_PREV));
- addParam(createParam(Vec(130, 88), module, FV1EmuModule::FX_NEXT));
+ auto d = (box.size.x - (RACK_GRID_WIDTH * 3)) / 3;
+ auto center = PJ301MPort().box.size.mult(-0.5);
+
+ addInput(createInput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 0, RACK_GRID_WIDTH * 3)), module, FV1EmuModule::POT_0));
+ addInput(createInput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 1, RACK_GRID_WIDTH * 3)), module, FV1EmuModule::POT_1));
+ addInput(createInput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 2, RACK_GRID_WIDTH * 3)), module, FV1EmuModule::POT_2));
+ addInput(createInput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 3, RACK_GRID_WIDTH * 3)), module, FV1EmuModule::CV_DRYWET));
+
+ center = Trimpot().box.size.mult(-0.5);
+
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 0, RACK_GRID_WIDTH * 5.25)), module, FV1EmuModule::TPOT0_PARAM));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 1, RACK_GRID_WIDTH * 5.25)), module, FV1EmuModule::TPOT1_PARAM));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 2, RACK_GRID_WIDTH * 5.25)), module, FV1EmuModule::TPOT2_PARAM));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 3, RACK_GRID_WIDTH * 5.25)), module, FV1EmuModule::TPOT_DRYWWET));
+
+ center = RoundBlackKnob().box.size.mult(-0.5);
+
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 0, RACK_GRID_WIDTH * 7.5)), module, FV1EmuModule::POT0_PARAM));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 1, RACK_GRID_WIDTH * 7.5)), module, FV1EmuModule::POT1_PARAM));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 2, RACK_GRID_WIDTH * 7.5)), module, FV1EmuModule::POT2_PARAM));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 3, RACK_GRID_WIDTH * 7.5)), module, FV1EmuModule::DRYWET_PARAM));
- addParam(createParam(Vec(13, 115), module, FV1EmuModule::POT0_PARAM));
- addParam(createParam(Vec(64, 115), module, FV1EmuModule::POT1_PARAM));
- addParam(createParam(Vec(115, 115), module, FV1EmuModule::POT2_PARAM));
- addParam(createParam(Vec(21, 169), module, FV1EmuModule::TPOT0_PARAM));
- addParam(createParam(Vec(72, 169), module, FV1EmuModule::TPOT1_PARAM));
- addParam(createParam(Vec(123, 169), module, FV1EmuModule::TPOT2_PARAM));
+ center = Trimpot().box.size.mult(-0.5);
- addInput(createInput(Vec(18, 202), module, FV1EmuModule::POT_0));
- addInput(createInput(Vec(69, 202), module, FV1EmuModule::POT_1));
- addInput(createInput(Vec(120, 202), module, FV1EmuModule::POT_2));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 0, RACK_GRID_WIDTH * 17.0)), module, FV1EmuModule::TPOT_LIN));
+ addParam(createParam(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 3, RACK_GRID_WIDTH * 17.0)), module, FV1EmuModule::TPOT_RIN));
- addParam(createParam(Vec(67, 235), module, FV1EmuModule::DRYWET_PARAM));
+ center = PJ301MPort().box.size.mult(-0.5);
- addInput(createInput(Vec(10, 280), module, FV1EmuModule::INPUT_L));
- addInput(createInput(Vec(10, 320), module, FV1EmuModule::INPUT_R));
+ addInput(createInput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 0, RACK_GRID_WIDTH * 19.5)), module, FV1EmuModule::INPUT_L));
+ addInput(createInput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 3, RACK_GRID_WIDTH * 19.5)), module, FV1EmuModule::INPUT_R));
- addOutput(createOutput(Vec(box.size.x - 30, 280), module, FV1EmuModule::OUTPUT_L));
- addOutput(createOutput(Vec(box.size.x - 30, 320), module, FV1EmuModule::OUTPUT_R));
+ addOutput(createOutput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 0, RACK_GRID_WIDTH * 22.5)), module, FV1EmuModule::OUTPUT_L));
+ addOutput(createOutput(center.plus(Vec(RACK_GRID_WIDTH * 1.5 + d * 3, RACK_GRID_WIDTH * 22.5)), module, FV1EmuModule::OUTPUT_R));
debugText = new DebugPanel();
debugText->module = module;