summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/midisync.ui
blob: 942a4e59512f915abe5f411863ff73579f772889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <author>werner schweer</author>
 <comment>midi sync
configuration dialog</comment>
 <class>MidiSyncConfigBase</class>
 <widget class="QDialog" name="MidiSyncConfigBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>655</width>
    <height>445</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>MusE: Midi Sync</string>
  </property>
  <layout class="QGridLayout">
   <item row="2" column="0">
    <layout class="QHBoxLayout">
     <property name="spacing">
      <number>6</number>
     </property>
     <property name="margin">
      <number>0</number>
     </property>
     <item>
      <spacer name="Spacer1_2">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeType">
        <enum>QSizePolicy::Expanding</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>20</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="applyButton">
       <property name="text">
        <string>Apply</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="okButton">
       <property name="text">
        <string>Ok</string>
       </property>
       <property name="default">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="cancelButton">
       <property name="text">
        <string>Cancel</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item row="1" column="0">
    <widget class="QGroupBox" name="GroupBox13">
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="title">
      <string>MTC</string>
     </property>
     <layout class="QVBoxLayout">
      <property name="spacing">
       <number>6</number>
      </property>
      <property name="margin">
       <number>11</number>
      </property>
      <item>
       <layout class="QHBoxLayout">
        <item>
         <widget class="QLabel" name="textLabel2">
          <property name="text">
           <string>Type:</string>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="mtcSyncType">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <item>
           <property name="text">
            <string>24</string>
           </property>
          </item>
          <item>
           <property name="text">
            <string>25</string>
           </property>
          </item>
          <item>
           <property name="text">
            <string>30D</string>
           </property>
          </item>
          <item>
           <property name="text">
            <string>30N</string>
           </property>
          </item>
         </widget>
        </item>
        <item>
         <spacer name="spacer4">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Expanding</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout">
        <item>
         <widget class="QLabel" name="textLabel1">
          <property name="text">
           <string>Offset:</string>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="mtcOffH">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="toolTip">
           <string>hour</string>
          </property>
          <property name="maximum">
           <number>23</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="TextLabel2">
          <property name="text">
           <string>h</string>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="mtcOffM">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="toolTip">
           <string>minute</string>
          </property>
          <property name="maximum">
           <number>59</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="TextLabel3">
          <property name="text">
           <string>m</string>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="mtcOffS">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="toolTip">
           <string>second</string>
          </property>
          <property name="maximum">
           <number>59</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="TextLabel4">
          <property name="text">
           <string>s</string>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="mtcOffF">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="toolTip">
           <string>frame</string>
          </property>
          <property name="maximum">
           <number>30</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="TextLabel5">
          <property name="text">
           <string>f</string>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="mtcOffSf">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="toolTip">
           <string>subframe</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item row="0" column="0">
    <widget class="QGroupBox" name="syncGen">
     <property name="title">
      <string>Sync receiving and sending</string>
     </property>
     <layout class="QGridLayout">
      <item row="0" column="0" colspan="2">
       <widget class="QCheckBox" name="useJackTransportCheckbox">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="toolTip">
         <string>Send and receive Jack transport</string>
        </property>
        <property name="whatsThis">
         <string>Send and receive Jack transport information,
 including stop, start and position.</string>
        </property>
        <property name="text">
         <string>Use Jack transport</string>
        </property>
        <property name="checked">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0" colspan="2">
       <widget class="QCheckBox" name="jackTransportMasterCheckbox">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="toolTip">
         <string>Make MusE the Jack transport Timebase Master</string>
        </property>
        <property name="whatsThis">
         <string>Make MusE the Jack transport Timebase Master.
Allows Jack to show time as 
 MusE Bars, Beats, and Ticks. 
MusE will try to become master, but other 
 Jack clients can also take over later.
You can always click here again for Master.</string>
        </property>
        <property name="text">
         <string>Jack transport Timebase Master</string>
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="0" colspan="2">
       <widget class="QCheckBox" name="extSyncCheckbox">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="toolTip">
         <string>Control MusE timing by external midi clock or MTC sync</string>
        </property>
        <property name="whatsThis">
         <string>When in slave mode, tempo is
 controlled externally.
MusE can sync to midi clock, or MTC quarter frame sync. 
Enabled inputs in the list will
 be in effect (RMC, RMMC, RMTC).</string>
        </property>
        <property name="text">
         <string>Slave to external sync</string>
        </property>
        <property name="checked">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <layout class="QHBoxLayout">
        <item>
         <widget class="QComboBox" name="syncRecFilterPreset">
          <property name="toolTip">
           <string>Averaging applied to recorded external tempo changes.</string>
          </property>
          <property name="whatsThis">
           <string>External midi clock can be very jittery.
Tempo is derived from it and recorded.
It is usually desirable to average it and 
 limit the number of recorded changes.

Tiny: 2 section 4/4 = 8 stages.
1/8T note averaging, may produce jitter.

Small: 3 section 12/8/4 = 24 stages.
1/4 note averaging, may still produce jitter.

Medium: 3 section 28/12/8 = 48 stages.
1/2 note averaging. Less jitter.

Large: 4 section 48/48/48/48 = 192 stages.
Use this if the song has only one tempo.
Very low quantization values can be used. 

Large pre-detect: 4 section 8/48/48/48 = 152
 stages + first stage large step pre-detector.
Use this if you expect sudden large tempo steps.

None: Use only if high accuracy is needed for 
 audio alignment on playback. Caution: Records 
 thousands of tempo changes per minute. MusE 
 may slow and the song file will be large.</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="syncRecFilterLabel">
          <property name="text">
           <string>Tempo record averaging</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="4" column="0">
       <layout class="QHBoxLayout">
        <item>
         <widget class="QDoubleSpinBox" name="syncRecTempoValQuant">
          <property name="toolTip">
           <string/>
          </property>
          <property name="whatsThis">
           <string/>
          </property>
          <property name="suffix">
           <string>bpm</string>
          </property>
          <property name="minimum">
           <double>0.000000000000000</double>
          </property>
          <property name="maximum">
           <double>100.000000000000000</double>
          </property>
          <property name="singleStep">
           <double>0.010000000000000</double>
          </property>
          <property name="value">
           <double>1.000000000000000</double>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="syncRecTempoValQuantLabel">
          <property name="text">
           <string>Tempo record quantization</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="5" column="0">
       <layout class="QHBoxLayout">
        <item>
         <widget class="QSpinBox" name="syncDelaySpinBox">
          <property name="toolTip">
           <string>Send start to first clock delay</string>
          </property>
          <property name="whatsThis">
           <string>Allows 'slow sync' devices time
 to synchronize to MusE. This value is the
 delay from sending start to sending
 the first clock.</string>
          </property>
          <property name="suffix">
           <string>ms</string>
          </property>
          <property name="minimum">
           <number>0</number>
          </property>
          <property name="maximum">
           <number>60000</number>
          </property>
          <property name="singleStep">
           <number>1</number>
          </property>
          <property name="value">
           <number>1</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="syncDelayLabel">
          <property name="text">
           <string>Send sync delay</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
          </property>
          <property name="wordWrap">
           <bool>false</bool>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="6" column="0">
       <widget class="QTreeWidget" name="devicesListView">
        <column>
         <property name="text">
          <string notr="true">1</string>
         </property>
        </column>
       </widget>
      </item>
      <item row="7" column="0">
       <widget class="QLabel" name="toBeDoneLabel">
        <property name="text">
         <string>Note: Sync delay and MTC sync currently not fully implemented</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <tabstops>
  <tabstop>mtcOffH</tabstop>
  <tabstop>mtcOffM</tabstop>
  <tabstop>mtcOffS</tabstop>
  <tabstop>mtcOffF</tabstop>
  <tabstop>mtcOffSf</tabstop>
  <tabstop>applyButton</tabstop>
  <tabstop>okButton</tabstop>
  <tabstop>cancelButton</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>