mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-17 03:44:31 -05:00
9721b5a924
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5932 b45a01b8-16f6-495d-af2f-9b41ad6348cc
376 lines
14 KiB
XML
376 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AudioInput</class>
|
|
<widget class="QWidget" name="AudioInput">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>508</width>
|
|
<height>378</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="qwVadLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="qpbAudioWizard">
|
|
<property name="text">
|
|
<string>Audio Wizard</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="qgbTransmission">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Transmission</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="qliTransmit">
|
|
<property name="text">
|
|
<string>&Transmit</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>qcbTransmit</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2">
|
|
<widget class="QComboBox" name="qcbTransmit">
|
|
<property name="toolTip">
|
|
<string>When to transmit your speech</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>This sets when speech should be transmitted.</b><br /><i>Continuous</i> - All the time<br /><i>Voice Activity</i> - When you are speaking clearly.<br /><i>Push To Talk</i> - When you hold down the hotkey set under <i>Shortcuts</i>.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<widget class="QStackedWidget" name="qswTransmit">
|
|
<property name="currentIndex">
|
|
<number>2</number>
|
|
</property>
|
|
<widget class="QWidget" name="qwPTT">
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="qliDoublePush">
|
|
<property name="text">
|
|
<string>DoublePush Time</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>qsDoublePush</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2">
|
|
<widget class="QSlider" name="qsDoublePush">
|
|
<property name="toolTip">
|
|
<string>If you press the PTT key twice in this time it will get locked.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>DoublePush Time</b><br />If you press the push-to-talk key twice during the configured interval of time it will be locked. RetroShare will keep transmitting until you hit the key once more to unlock PTT again.</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QLabel" name="qlDoublePush">
|
|
<property name="text">
|
|
<string notr="true">TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="qwVAD">
|
|
<layout class="QGridLayout" name="qwVadLayout_2">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="qliTransmitHold">
|
|
<property name="text">
|
|
<string>Voice &Hold</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>qsTransmitHold</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSlider" name="qsTransmitHold">
|
|
<property name="toolTip">
|
|
<string>How long to keep transmitting after silence</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>This selects how long after a perceived stop in speech transmission should continue.</b><br />Set this higher if your voice breaks up when you speak (seen by a rapidly blinking voice icon next to your name).</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>250</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="qliTransmitMin">
|
|
<property name="text">
|
|
<string>Silence Below</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSlider" name="qsTransmitMin">
|
|
<property name="toolTip">
|
|
<string>Signal values below this count as silence</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>This sets the trigger values for voice detection.</b><br />Use this together with the Audio Statistics window to manually tune the trigger values for detecting speech. Input values below "Silence Below" always count as silence. Values above "Speech Above" always count as voice. Values in between will count as voice if you're already talking, but will not trigger a new detection.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>32767</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="qliTransmitMax">
|
|
<property name="text">
|
|
<string>Speech Above</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QSlider" name="qsTransmitMax">
|
|
<property name="toolTip">
|
|
<string>Signal values above this count as voice</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>This sets the trigger values for voice detection.</b><br />Use this together with the Audio Statistics window to manually tune the trigger values for detecting speech. Input values below "Silence Below" always count as silence. Values above "Speech Above" always count as voice. Values in between will count as voice if you're already talking, but will not trigger a new detection.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>32767</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="qlTransmitHold">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>40</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>empty</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="qwContinuous"/>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="qgbAudio">
|
|
<property name="title">
|
|
<string>Audio Processing</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="qliNoise">
|
|
<property name="text">
|
|
<string>Noise Suppression</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>qsNoise</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSlider" name="qsNoise">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Noise suppression</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>This sets the amount of noise suppression to apply.</b><br />The higher this value, the more aggressively stationary noise will be suppressed.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>14</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>60</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="qlNoise">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="qliAmp">
|
|
<property name="text">
|
|
<string>Amplification</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>qsAmp</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSlider" name="qsAmp">
|
|
<property name="toolTip">
|
|
<string>Maximum amplification of input sound</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><b>Maximum amplification of input.</b><br />RetroShare normalizes the input volume before compressing, and this sets how much it's allowed to amplify.<br />The actual level is continually updated based on your current speech pattern, but it will never go above the level specified here.<br />If the <i>Microphone loudness</i> level of the audio statistics hover around 100%, you probably want to set this to 2.0 or so, but if, like most people, you are unable to reach 100%, set this to something much higher.<br />Ideally, set it so <i>Microphone Loudness * Amplification Factor >= 100</i>, even when you're speaking really soft.<br /><br />Note that there is no harm in setting this to maximum, but RetroShare will start picking up other conversations if you leave it to auto-tune to that level.</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>19500</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>500</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>2000</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="qlAmp">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="qcbEchoCancel">
|
|
<property name="text">
|
|
<string>Echo Cancellation Processing</string>
|
|
</property>
|
|
<property name="tristate">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>1</width>
|
|
<height>151</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>qcbTransmit</tabstop>
|
|
<tabstop>qsDoublePush</tabstop>
|
|
<tabstop>qsTransmitHold</tabstop>
|
|
<tabstop>qsTransmitMin</tabstop>
|
|
<tabstop>qsTransmitMax</tabstop>
|
|
<tabstop>qsNoise</tabstop>
|
|
<tabstop>qsAmp</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|