hz_to_note as primitive; line graph cross hair with much more information; new labels...
[calf.git] / gui / gui-transientdesigner.xml
blob623b165672bac151bf73481bb9531ee73af3ab02
1 <vbox spacing="8">
2     <table expand-y="0" expand-x="1" spacing="5" rows="1" cols="7">
3         <label param="level_in" attach-x="0" attach-y="0" expand-x="0" />
4         <knob param="level_in" attach-x="0" attach-y="1" attach-h="2" expand-x="0" type="1" />
5         <value param="level_in" attach-x="0" attach-y="3" expand-x="0" />
6         
7         <label attach-x="1" attach-y="0" expand-x="1" text="Input level" />
8         <vumeter param="meter_inL" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="1" expand-x="1" />
9         <vumeter param="meter_inR" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="2" expand-x="1" />
10         <meterscale param="meter_outR" marker="0 0.0625 0.125 0.25 0.5 0.71 1" dots="1" position="2" mode="0" attach-x="1" attach-y="3" expand-x="1" />
11         
12         <label attach-x="2" attach-y="0" expand-x="0" text="Clip" />
13         <led param="clip_inL" attach-x="2" attach-y="1" expand-x="0" />
14         <led param="clip_inR" attach-x="2" attach-y="2" expand-x="0" />
15         
16         <label param="bypass" attach-x="4" attach-y="0" expand-x="0" />
17         <toggle param="bypass" icon="bypass" attach-x="4" attach-y="1" attach-h="2" expand-x="0" pad-x="10"/>
18         
19         <label param="lookahead" attach-y="0" attach-x="5" expand-x="0"/>
20         <knob param="lookahead" size="2" attach-y="1" attach-h="2" attach-x="5" expand-x="0"/>
21         <value param="lookahead" attach-y="3" attach-x="5" expand-x="0"/>
22                 
23         <label text="Env Listen" attach-x="6" attach-y="0" expand-x="0" />
24         <toggle param="listen" icon="listen" attach-x="6" attach-y="1" attach-h="2" expand-x="0" pad-x="10"/>
25         
26         <label attach-x="7" attach-y="0" expand-x="1" text="Output level"/>
27         <vumeter param="meter_outL" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="7" attach-y="1" expand-x="1" />
28         <vumeter param="meter_outR" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="7" attach-y="2" expand-x="1" />
29         <meterscale param="meter_outR" marker="0 0.0625 0.125 0.25 0.5 0.71 1" dots="1" position="2" mode="0" attach-x="7" attach-y="3" expand-x="1" />
30         
31         <label attach-x="8" attach-y="0" expand-x="0" text="Clip"/>
32         <led param="clip_outL" mode="1" attach-x="8" attach-y="1" expand-x="0" />
33         <led param="clip_outR" mode="1" attach-x="8" attach-y="2" expand-x="0" />
34         
35         <label param="mix" attach-x="9" attach-y="0" expand-x="0" />
36         <knob param="mix" attach-x="9" attach-y="1" attach-h="2" expand-x="0" pad-x="10" />
37         <value param="mix" attach-x="9" attach-y="3" expand-x="0" />
38         
39         <label param="level_out" attach-x="10" attach-y="0" expand-x="0" />
40         <knob param="level_out" attach-x="10" attach-y="1" attach-h="2" expand-x="0" type="1" />
41         <value param="level_out" attach-x="10" attach-y="3" expand-x="0" />
42     </table>
43     <hbox spacing="20">
44         
45         <if cond="directlink">
46             <frame label="Envelope Filter">
47                 <vbox spacing="8">
48                     <line-graph refresh="1" width="240" height="140" param="hipass"  crosshairs="1" freqhandles="4" handle1-x="hipass" label1="High Pass" handle2-x="lopass" label2="Low Pass" active1="hp_mode" active2="lp_mode" enforce-handle-order="1"/>
49                     <hbox spacing="8">
50                         <combo param="hp_mode"/>
51                         <combo param="lp_mode"/>
52                     </hbox>
53                 </vbox>
54             </frame>
55         </if>
56         
57         <vbox spacing="8">
58             <hbox spacing="15">
59                 <vbox>
60                     <label param="attack_boost"/>
61                     <knob param="attack_boost" size="5" type="1"/>
62                     <value param="attack_boost"/>
63                 </vbox>
64                 <vbox>
65                     <label param="release_boost"/>
66                     <knob param="release_boost" size="5" type="1"/>
67                     <value param="release_boost"/>
68                 </vbox>
69             </hbox>
70             
71             <hbox>
72                 <vbox>
73                     <label text="Attack"/>
74                     <knob param="attack_time" size="2"/>
75                     <value param="attack_time"/>
76                 </vbox>
77                 <vbox>
78                     <label text="Release"/>
79                     <knob param="release_time" size="2"/>
80                     <value param="release_time"/>
81                 </vbox>
82                 <vbox>
83                     <label text="Sustain Thres"/>
84                     <knob param="sustain_threshold" size="2" type="2"/>
85                     <value param="sustain_threshold"/>
86                 </vbox>
87             </hbox>
88         </vbox>
89         
90         <if cond="directlink">
91             <frame label="Waveform">
92                 <hbox>
93                     <vbox spacing="8">
94                         <line-graph refresh="1" width="240" height="140" param="sustain_threshold"/>
95                         <combo param="view"/>
96                     </vbox>
97                     <vbox spacing="8">
98                         <vbox spacing="4">
99                             <label text="Display" />
100                             <knob param="display" size="2"/>
101                             <value param="display"/>
102                         </vbox>
103                         <label/>
104                         <vbox spacing="4">
105                             <label text="Snap"/>
106                             <knob param="display_threshold" size="2" />
107                             <value param="display_threshold"/>
108                         </vbox>
109                     </vbox>
110                 </hbox>
111             </frame>
112         </if>
113         
114     </hbox>
115 </vbox>