File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 modgui:stylesheet <modgui/stylesheet-alo.css> ;
99 modgui:screenshot <modgui/screenshot-alo.png> ;
1010 modgui:thumbnail <modgui/thumbnail-alo.png> ;
11+ modgui:javascript <modgui/script-alo.js> ;
1112 modgui:brand " devcurmudgeon" ;
1213 modgui:label " ALO" ;
1314 modgui:model " combo-model-001" ;
4950 lv2:symbol " bars" ;
5051 lv2:name " Bars" ;
5152 ] ;
52- ] .
53+ modgui:monitoredOutputs [
54+ lv2:symbol " level" ;
55+ ] ;
56+ ] .
Original file line number Diff line number Diff line change 4545 < div class ="mod-knob-image " mod-role ="input-control-port " mod-port-symbol ="midi_base "> </ div >
4646 </ div >
4747 </ div >
48- < div class ="mod-knob ">
48+ < div class ="midi-base ">
4949 < div class ="mod-knob-image-wrapper ">
50- < div class ="mod- knob-title "> {{name}}</ div >
51- < div class ="mod- knob-value " mod-role ="input-control-value " mod-port-symbol ="midi_base "> 60.000</ div >
50+ < div class ="knob-title "> {{name}}</ div >
51+ < div class ="knob-value " mod-role ="input-control-value " mod-port-symbol ="midi_base "> 60.000</ div >
5252 </ div >
5353 </ div >
5454 {{/controls.6}}
5959 < div class ="mod-knob-image " mod-role ="input-control-port " mod-port-symbol ="threshold "> </ div >
6060 </ div >
6161 </ div >
62- < div class ="mod-knob ">
63- < div class ="mod-knob-title "> {{name}}</ div >
64- < div class ="mod-knob-value " mod-role ="input-control-value " mod-port-symbol ="threshold "> 40.000</ div >
62+ < div class ="threshold ">
63+ < span class ="knob-title "> {{name}}</ span >
64+ < span class ="knob-value " mod-role ="input-control-value " mod-port-symbol ="threshold "> 40.000</ span >
65+ < span class ="knob-title "> Input level</ span > < span class ="knob-value " mod-role ="level "> -90.000</ span >
6566 </ div >
6667 {{/controls.7}}
6768 < div class ="mod-separator "> </ div >
7172 < div class ="mod-knob-image " mod-role ="input-control-port " mod-port-symbol ="bars "> </ div >
7273 </ div >
7374 </ div >
74- < div class ="mod-knob ">
75- < div class ="mod- knob-title "> {{name}}</ div >
76- < div class ="mod- knob-value " mod-role ="input-control-value " mod-port-symbol ="bars "> 2.000</ div >
75+ < div class ="bars ">
76+ < div class ="knob-title "> {{name}}</ div >
77+ < div class ="knob-value " mod-role ="input-control-value " mod-port-symbol ="bars "> 2.000</ div >
7778 </ div >
7879 {{/controls.8}}
7980 < div class ="mod-separator "> </ div >
Original file line number Diff line number Diff line change 1+ function ( event ) {
2+
3+ function handle_event ( symbol , value ) {
4+ switch ( symbol ) {
5+ case 'level' :
6+ event . icon . find ( '[mod-role=level]' ) . text ( value . toFixed ( 2 ) ) ;
7+ default :
8+ break ;
9+ }
10+ }
11+
12+ if ( event . type == 'change' ) {
13+ handle_event ( event . symbol , event . value ) ;
14+ }
15+ }
Original file line number Diff line number Diff line change 1818 color : # 3c3 ;
1919 font-size : 18px ;
2020 font-weight : bold;
21- left : 80 px ;
21+ left : 40 px ;
2222 line-height : 1 ;
2323 margin : 0 ;
2424 position : absolute;
25- top : 23 px ;
25+ top : 13 px ;
2626}
2727
2828/* PLUGIN'S NAME */
3333 line-height : 1 ;
3434 margin : 0 ;
3535 position : absolute;
36- right : 80 px ;
37- top : 23 px ;
36+ right : 50 px ;
37+ top : 10 px ;
3838}
3939
4040/* CONTROLS */
5252 left : 40px ;
5353 position : absolute;
5454 right : 40px ;
55- top : 47 px ;
55+ top : 40 px ;
5656}
5757
5858.alo {{{cns}}} .mod-control-group > div {
133133 height : 50px ;
134134 margin-top : 10px ;
135135 position : relative;
136- width : 58 px ;
136+ width : 60 px ;
137137}
138+
138139.alo {{{cns }}} .mod-control-group .mod-knob .mod-knob-image-wrapper {
139140 padding : 1px ;
140141}
165166 text-align : center;
166167}
167168
169+
170+ /* KNOB VALUES */
171+ .alo {{{cns }}} .mod-control-group .midi-base {
172+ display : inline-block;
173+ float : left;
174+ height : 50px ;
175+ margin-top : 10px ;
176+ position : relative;
177+ width : 58px ;
178+ }
179+
180+ .alo {{{cns}}} .mod-control-group .threshold {
181+ display : inline-block;
182+ float : left;
183+ height : 50px ;
184+ margin-top : 5px ;
185+ position : relative;
186+ width : 80px ;
187+ }
188+
189+ .alo {{{cns }}} .mod-control-group .bars {
190+ display : inline-block;
191+ float : left;
192+ height : 50px ;
193+ margin-top : 10px ;
194+ position : relative;
195+ width : 35px ;
196+ }
197+
198+ .alo {{{cns}}} .mod-control-group .knob-title {
199+ font-family : "Helvetica Neue" , Helvetica, Arial, sans-serif;
200+ color : # fff ;
201+ display : block;
202+ font-size : 12px ;
203+ font-weight : bold;
204+ height : 18px ;
205+ text-align : center;
206+ }
207+
208+ .alo {{{cns }}} .mod-control-group .knob-value {
209+ border-radius : 0 0 8px 8px ;
210+ display : block;
211+ color : # fff ;
212+ font-size : 12px ;
213+ font-weight : bold;
214+ text-align : center;
215+ }
216+
217+
168218/* ENUMERATED LIST */
169219.alo {{{cns}}} .mod-enumerated {
170220 color : # fff ;
You can’t perform that action at this time.
0 commit comments