1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>InstrumentTunerForm</class>
4 <widget class="QMainWindow" name="InstrumentTunerForm">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Free Music Instrument Tuner</string>
16 <property name="windowIcon">
17 <iconset resource="../src/fmit.qrc">
18 <normaloff>:/fmit/ui/images/fmit.png</normaloff>:/fmit/ui/images/fmit.png</iconset>
20 <widget class="QWidget" name="centralwidget">
21 <layout class="QVBoxLayout">
23 <layout class="QHBoxLayout">
25 <layout class="QVBoxLayout">
27 <layout class="QVBoxLayout" name="ui_graphLayout"/>
30 <layout class="QHBoxLayout">
32 <widget class="QPushButton" name="ui_btnKeepErrorHistory">
33 <property name="sizePolicy">
34 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
35 <horstretch>0</horstretch>
36 <verstretch>0</verstretch>
39 <property name="maximumSize">
42 <height>16777215</height>
45 <property name="focusPolicy">
46 <enum>Qt::NoFocus</enum>
48 <property name="toolTip">
49 <string>Keep the data in the error and volume views (shortcut "k").</string>
51 <property name="whatsThis">
52 <string>Keep the data in the error and volume views (shortcut "k").</string>
54 <property name="text">
60 <property name="shortcut">
63 <property name="checkable">
66 <property name="checked">
72 <layout class="QVBoxLayout">
74 <layout class="QHBoxLayout" name="ui_errorLayout"/>
77 <layout class="QVBoxLayout" name="ui_volumeLayout"/>
84 <layout class="QVBoxLayout" name="ui_sampleLayout"/>
87 <layout class="QVBoxLayout" name="ui_formantsLayout"/>
90 <layout class="QVBoxLayout" name="ui_FT"/>
95 <layout class="QVBoxLayout" name="ui_rightLayout">
97 <widget class="QProgressBar" name="ui_pgbVolume">
98 <property name="sizePolicy">
99 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
100 <horstretch>0</horstretch>
101 <verstretch>0</verstretch>
104 <property name="maximumSize">
106 <width>16777215</width>
110 <property name="toolTip">
111 <string>Volume in dB.
112 Computed in the frequency domain, from the maximum bin.
113 The maximum is reached when the signal energy is maximal NOT when the sound is saturated in the time domain.</string>
115 <property name="whatsThis">
116 <string>Volume in dB.
117 Computed in the frequency domain, from the maximum bin.
118 The maximum is reached when the signal energy is maximal NOT when the sound is saturated in the time domain.</string>
120 <property name="format">
123 <property name="percentageVisible" stdset="0">
129 <widget class="QLabel" name="ui_lblSoundStability">
130 <property name="sizePolicy">
131 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
132 <horstretch>0</horstretch>
133 <verstretch>0</verstretch>
136 <property name="minimumSize">
142 <property name="font">
144 <pointsize>11</pointsize>
147 <property name="toolTip">
148 <string>According to the following colors:
149 red : the capture system is not working.
150 grey : the capture system is OK, but there is not enough sound.
151 orange : the analysis conditions are bad (like saturation)
152 green : a note is beeing analyzed and analysis conditions are OK.</string>
154 <property name="whatsThis">
155 <string>According to the following colors:
156 red : the capture system is not working.
157 grey : the capture system is OK, but there is not enough sound.
158 orange : the analysis conditions are bad (like saturation)
159 green : a note is beeing analyzed and analysis conditions are OK.</string>
161 <property name="autoFillBackground">
164 <property name="text">
165 <string>Note Stability</string>
167 <property name="alignment">
168 <set>Qt::AlignCenter</set>
170 <property name="wordWrap">
176 <layout class="QVBoxLayout">
178 <layout class="QHBoxLayout">
180 <widget class="QLabel" name="textLabel8">
181 <property name="font">
183 <pointsize>10</pointsize>
188 <property name="toolTip">
189 <string>The base tunning frequency (the A4 frequency)</string>
191 <property name="whatsThis">
192 <string>The base tunning frequency (the A4 frequency)</string>
194 <property name="text">
195 <string>Tuning Frequency</string>
197 <property name="alignment">
198 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
200 <property name="wordWrap">
206 <widget class="QSpinBox" name="ui_spinAFreq">
207 <property name="maximumSize">
210 <height>32767</height>
213 <property name="font">
215 <pointsize>14</pointsize>
220 <property name="focusPolicy">
221 <enum>Qt::NoFocus</enum>
223 <property name="toolTip">
224 <string>The base tunning frequency (the A4 frequency)</string>
226 <property name="whatsThis">
227 <string>The base tunning frequency (the A4 frequency)</string>
229 <property name="suffix">
232 <property name="minimum">
235 <property name="maximum">
238 <property name="singleStep">
241 <property name="value">
249 <layout class="QHBoxLayout">
251 <widget class="QLabel" name="ui_lblA3Offset">
252 <property name="toolTip">
253 <string>Offset in cents from the base tuning frequency</string>
255 <property name="whatsThis">
256 <string>Offset in cents from the base tuning frequency</string>
258 <property name="text">
259 <string>Offset</string>
261 <property name="alignment">
262 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
264 <property name="wordWrap">
270 <widget class="QSpinBox" name="ui_spinA3Offset">
271 <property name="maximumSize">
274 <height>32767</height>
277 <property name="focusPolicy">
278 <enum>Qt::NoFocus</enum>
280 <property name="toolTip">
281 <string>Offset in cents from the base tuning frequency</string>
283 <property name="whatsThis">
284 <string>Offset in cents from the base tuning frequency</string>
286 <property name="suffix">
287 <string> cents</string>
289 <property name="minimum">
292 <property name="maximum">
295 <property name="singleStep">
298 <property name="value">
308 <layout class="QVBoxLayout" name="ui_dialTuneLayout"/>
311 <widget class="QLCDNumber" name="ui_txtFreq">
312 <property name="sizePolicy">
313 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
314 <horstretch>0</horstretch>
315 <verstretch>0</verstretch>
318 <property name="minimumSize">
324 <property name="toolTip">
325 <string>The frequency of the current note in Hertz.</string>
327 <property name="whatsThis">
328 <string>The frequency of the current note in Hertz.</string>
330 <property name="frameShape">
331 <enum>QFrame::NoFrame</enum>
333 <property name="frameShadow">
334 <enum>QFrame::Plain</enum>
336 <property name="segmentStyle">
337 <enum>QLCDNumber::Flat</enum>
342 <layout class="QHBoxLayout">
344 <widget class="QLabel" name="ui_txtNote">
345 <property name="font">
347 <pointsize>28</pointsize>
350 <property name="toolTip">
351 <string>The recognized note</string>
353 <property name="whatsThis">
354 <string>The recognized note</string>
356 <property name="alignment">
357 <set>Qt::AlignCenter</set>
359 <property name="wordWrap">
365 <widget class="QLCDNumber" name="ui_txtNoteFreq">
366 <property name="sizePolicy">
367 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
368 <horstretch>0</horstretch>
369 <verstretch>0</verstretch>
372 <property name="maximumSize">
378 <property name="toolTip">
379 <string>The target frequency of the current note in Hertz.</string>
381 <property name="whatsThis">
382 <string>The target frequency of the current note in Hertz.</string>
384 <property name="frameShape">
385 <enum>QFrame::NoFrame</enum>
387 <property name="frameShadow">
388 <enum>QFrame::Plain</enum>
390 <property name="segmentStyle">
391 <enum>QLCDNumber::Flat</enum>
402 <layout class="QVBoxLayout" name="ui_microtonalLayout"/>
406 <widget class="QToolBar" name="ui_tbViews">
407 <property name="contextMenuPolicy">
408 <enum>Qt::PreventContextMenu</enum>
410 <property name="label" stdset="0">
411 <string>Views</string>
413 <attribute name="toolBarArea">
414 <enum>TopToolBarArea</enum>
416 <attribute name="toolBarBreak">
420 <widget class="QToolBar" name="ui_tbButtons">
421 <property name="contextMenuPolicy">
422 <enum>Qt::PreventContextMenu</enum>
424 <property name="label" stdset="0">
425 <string>Settings</string>
427 <attribute name="toolBarArea">
428 <enum>TopToolBarArea</enum>
430 <attribute name="toolBarBreak">
433 <addaction name="pauseAction"/>
434 <addaction name="configAction"/>
435 <addaction name="saveSettingsAction"/>
436 <addaction name="helpAboutAction"/>
438 <action name="pauseAction">
439 <property name="checkable">
442 <property name="icon">
443 <iconset resource="../src/fmit.qrc">
444 <normaloff>:/fmit/ui/images/pause.png</normaloff>:/fmit/ui/images/pause.png</iconset>
446 <property name="text">
447 <string>Pause</string>
449 <property name="statusTip">
450 <string>Pause: the capture, the sound analysis and all views.</string>
452 <property name="whatsThis">
453 <string>Pause: the capture, the sound analysis and all views.</string>
455 <property name="shortcut">
456 <string>Space</string>
458 <property name="name" stdset="0">
459 <cstring>pauseAction</cstring>
462 <action name="configAction">
463 <property name="icon">
464 <iconset resource="../src/fmit.qrc">
465 <normaloff>:/fmit/ui/images/config.png</normaloff>:/fmit/ui/images/config.png</iconset>
467 <property name="text">
468 <string>Configure</string>
470 <property name="name" stdset="0">
471 <cstring>configAction</cstring>
474 <action name="saveSettingsAction">
475 <property name="icon">
476 <iconset resource="../src/fmit.qrc">
477 <normaloff>:/fmit/ui/images/saveSettings.png</normaloff>:/fmit/ui/images/saveSettings.png</iconset>
479 <property name="text">
480 <string>Save settings</string>
482 <property name="statusTip">
483 <string>Save configuration panel settings, views settings and the window size.</string>
485 <property name="whatsThis">
486 <string>Save configuration panel settings, views settings and the window size.</string>
488 <property name="shortcut">
489 <string>Ctrl+S</string>
491 <property name="name" stdset="0">
492 <cstring>saveSettingsAction</cstring>
495 <action name="helpAboutAction">
496 <property name="icon">
497 <iconset resource="../src/fmit.qrc">
498 <normaloff>:/fmit/ui/images/helpAbout.png</normaloff>:/fmit/ui/images/helpAbout.png</iconset>
500 <property name="text">
501 <string>About</string>
503 <property name="statusTip">
504 <string>Invoke the about box.</string>
506 <property name="whatsThis">
507 <string>Invoke the about box.</string>
509 <property name="name" stdset="0">
510 <cstring>helpAboutAction</cstring>
514 <layoutdefault spacing="6" margin="11"/>
516 <include location="../src/fmit.qrc"/>
520 <sender>helpAboutAction</sender>
521 <signal>activated()</signal>
522 <receiver>InstrumentTunerForm</receiver>
523 <slot>helpAbout()</slot>
525 <hint type="sourcelabel">
529 <hint type="destinationlabel">
536 <sender>configAction</sender>
537 <signal>activated()</signal>
538 <receiver>InstrumentTunerForm</receiver>
539 <slot>configure()</slot>
541 <hint type="sourcelabel">
545 <hint type="destinationlabel">
552 <sender>pauseAction</sender>
553 <signal>toggled(bool)</signal>
554 <receiver>InstrumentTunerForm</receiver>
555 <slot>pause(bool)</slot>
557 <hint type="sourcelabel">
561 <hint type="destinationlabel">
568 <sender>ui_spinAFreq</sender>
569 <signal>valueChanged(int)</signal>
570 <receiver>InstrumentTunerForm</receiver>
571 <slot>ui_spinAFreq_valueChanged(int)</slot>
573 <hint type="sourcelabel">
577 <hint type="destinationlabel">
584 <sender>saveSettingsAction</sender>
585 <signal>activated()</signal>
586 <receiver>InstrumentTunerForm</receiver>
587 <slot>saveSettings()</slot>
589 <hint type="sourcelabel">
593 <hint type="destinationlabel">
600 <sender>ui_spinA3Offset</sender>
601 <signal>valueChanged(int)</signal>
602 <receiver>InstrumentTunerForm</receiver>
603 <slot>ui_spinAOffset_valueChanged(int)</slot>
605 <hint type="sourcelabel">
609 <hint type="destinationlabel">