Changeset 5805


Ignore:
Timestamp:
03/15/14 11:03:38 (6 years ago)
Author:
rohit_tandon
Message:

Improvements in Profile Description and obsolete member variables in preferences are commented.

Location:
trunk/Obi/Obi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/Dialogs/Preferences.cs

    r5801 r5805  
    3939        private bool m_KeepTrack = false; 
    4040        private bool m_FlagComboBoxIndexChange = false; 
    41         private int m_IndexOfLevelCombox = 0; 
    42         private bool m_IsComboBoxExpanded = false; 
    43         private bool m_LeaveOnEscape = false; 
     41      //  private int m_IndexOfLevelCombox = 0; 
     42      //  private bool m_IsComboBoxExpanded = false; 
     43      //  private bool m_LeaveOnEscape = false; 
    4444 
    4545        /// <summary> 
     
    6262            this.m_CheckBoxListView.BringToFront(); 
    6363            m_DefaultSettings = defaultSettings; 
    64             m_IndexOfLevelCombox = mSettings.Audio_LevelComboBoxIndex; 
     64          //  m_IndexOfLevelCombox = mSettings.Audio_LevelComboBoxIndex; 
    6565            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Basic")); 
    6666            m_SelectLevelComboBox.Items.Add(Localizer.Message("Preferences_Level_ComboBox_Intermediate")); 
     
    774774                { 
    775775                    m_SelectLevelComboBox.SelectedIndex = 5; 
    776                     m_IndexOfLevelCombox = 5; 
     776                 //   m_IndexOfLevelCombox = 5; 
    777777                } 
    778778 
     
    15111511                m_CheckBoxListView.Items[14].Checked = false; 
    15121512                m_FlagComboBoxIndexChange = false; 
    1513                 m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
     1513              //  m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
    15141514 
    15151515            } 
     
    15301530                MessageBoxIcon.Question) == DialogResult.Yes) 
    15311531                    { 
    1532                         m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
     1532                      //  m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
    15331533                        m_FlagComboBoxIndexChange = true; 
    15341534                        m_CheckBoxListView.Items[0].Checked = false; 
     
    15521552                    else 
    15531553                    { 
    1554                         m_SelectLevelComboBox.SelectedIndex = m_IndexOfLevelCombox; 
     1554                      //  m_SelectLevelComboBox.SelectedIndex = m_IndexOfLevelCombox; 
    15551555                    } 
    15561556 
     
    15701570                    Localizer.Message("Audio_ShowLiveWaveformWhileRecording") + "\n* " + Localizer.Message("Audio_DetectPhrasesWhileRecording") + "\n* " + 
    15711571                    Localizer.Message("Audio_EnablePostRecordingPageRenumbering") + "\n* " + Localizer.Message("Audio_MergeFirstTwoPhrasesInPhraseDetection") + "\n* " + 
    1572                     Localizer.Message("Audio_FastPlayWithoutPitchChange") + "\n* " + Localizer.Message("Audio_RecordSubsequentPhrases") + "\n* " + Localizer.Message("Audio_EnforceSingleCursor"); 
     1572                    Localizer.Message("Audio_FastPlayWithoutPitchChange") + "\n* " + Localizer.Message("Audio_RecordSubsequentPhrases") + "\n* " + Localizer.Message("Audio_EnforceSingleCursor") 
     1573                    + "\n* " + Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording"); 
    15731574 
    15741575                    if (MessageBox.Show(tempMessageStr, Localizer.Message("Preferences_advanced_recording_mode"), MessageBoxButtons.YesNo, 
    15751576               MessageBoxIcon.Question) == DialogResult.Yes) 
    15761577                    { 
    1577                         m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
     1578                       // m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
    15781579                        m_FlagComboBoxIndexChange = true; 
    15791580                        m_CheckBoxListView.Items[0].Checked = true; 
     
    15961597                    else 
    15971598                    { 
    1598                         m_SelectLevelComboBox.SelectedIndex = m_IndexOfLevelCombox; 
     1599                      //  m_SelectLevelComboBox.SelectedIndex = m_IndexOfLevelCombox; 
    15991600                    } 
    16001601                } 
     
    16041605            { 
    16051606                m_FlagComboBoxIndexChange = false; 
    1606                 m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
     1607              //  m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
    16071608            } 
    16081609        } 
     
    16191620        private void m_SelectLevelComboBox_DropDownClosed(object sender, EventArgs e) 
    16201621        { 
    1621             m_IsComboBoxExpanded = false; 
     1622           // m_IsComboBoxExpanded = false; 
    16221623        } 
    16231624 
    16241625        private void m_SelectLevelComboBox_DropDown(object sender, EventArgs e) 
    16251626        { 
    1626             m_IsComboBoxExpanded = true; 
     1627          //  m_IsComboBoxExpanded = true; 
    16271628        } 
    16281629 
     
    16301631        private void m_SelectLevelComboBox_Validating(object sender, CancelEventArgs e) 
    16311632        { 
    1632             if (m_LeaveOnEscape) 
    1633                 return; 
     1633            //if (m_LeaveOnEscape) 
     1634            //    return; 
    16341635            //if (m_IndexOfLevelCombox != m_SelectLevelComboBox.SelectedIndex && (this.mTab.SelectedTab == mAudioTab)) 
    16351636            //{ 
     
    16401641        protected override bool ProcessCmdKey(ref Message msg, Keys keyData) 
    16411642        { 
    1642             if (keyData == Keys.Escape) 
    1643             { 
    1644                 m_LeaveOnEscape = true; 
    1645             } 
     1643            //if (keyData == Keys.Escape) 
     1644            //{ 
     1645            //    m_LeaveOnEscape = true; 
     1646            //} 
    16461647            return base.ProcessCmdKey(ref msg, keyData); 
    16471648        } 
  • trunk/Obi/Obi/Dialogs/ProfileDescription.Designer.cs

    r5801 r5805  
    5757            // ProfileDescription 
    5858            //  
     59            this.AccessibleName = "Audio Profile Description"; 
    5960            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 
    6061            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 
     
    6667            this.MinimizeBox = false; 
    6768            this.Name = "ProfileDescription"; 
    68             this.Text = "Phrase Description"; 
     69            this.Text = "Audio Profile Description"; 
    6970            this.ResumeLayout(false); 
    7071 
  • trunk/Obi/Obi/ProfileDesc_en.html

    r5796 r5805  
    1414<tr> 
    1515  <td>Audio Clues</td> 
    16   <td>If checked, enables the audio clues, disables otherwise. Audio clues provide audio indications for non-visual users.</td>    
    17 </tr> 
    18 <tr> 
    19   <td>Retain initial silence while phrase detection</td> 
    20   <td>If checked, retains the initial silence during the process of Auto-splitting using phrase detection. If unchecked, discards the initial silence.</td>    
     16  <td>Enables the audio clues, disables otherwise. Audio clues provide audio indications for non-visual users.</td>    
     17</tr> 
     18<tr> 
     19  <td>Retain initial silence while phrase detection</td> 
     20  <td>Retains the initial silence during the process of Auto-splitting using phrase detection.</td>    
    2121</tr> 
    2222<tr> 
    2323  <td>Preview before recording</td> 
    24   <td>If checked, plays a small portion of audio prior to the marked cursor position before initiating the Record command. If unchecked, starts recording directly. Please note that this feature only works in the advanced recording mode.</td> 
     24  <td>Plays a small portion of audio prior to the marked cursor position before initiating the Record command. Please note that this feature only works in the advanced recording mode.</td> 
    2525</tr> 
    2626<tr> 
    2727  <td>Use Space key to stop recording</td> 
    28   <td>If checked, Obi stops recording when user presses the Space key on the keyboard. If this check box is not checked, Obi acts according to the default behavior and pauses recording</td> 
     28  <td>Obi stops recording when user presses the Space key on the keyboard.</td> 
    2929</tr> 
    3030<tr> 
    3131  <td>Allow overwrite while recording</td> 
    32   <td>If checked, Obi will break the selected phrase, at a position determined using a set of rules, and record in a new phrase between the two fragments. If unchecked, Obi will always create a phrase after the selected phrase</td> 
     32  <td>Obi will break the selected phrase, at a position determined using a set of rules, and record in a new phrase between the two fragments.</td> 
    3333</tr> 
    3434<tr> 
    3535  <td>Always record directly from transport bar</td> 
    36   <td>If checked, Obi will deactivate the toggling behavior of Start Monitoring/Record button of Transport Bar and always show Record Directly in its place. As a result, each click on that button will initiate recording.</td> 
    37 </tr> 
    38 <tr> 
    39   <td>Limit max phrase duration to 50 minutes</td> 
    40   <td>If checked, sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
     36  <td>Obi will deactivate the toggling behavior of Start Monitoring/Record button of Transport Bar and always show Record Directly in its place. As a result, each click on that button will initiate recording.</td> 
     37</tr> 
     38<tr> 
     39  <td>Limit max phrase duration to 50 minutes</td> 
     40  <td>Sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
    4141</tr> 
    4242<tr> 
    4343  <td>Show live waveform while recording</td> 
    44   <td>If checked, draws the waveform of the audio content being recorded live.</td> 
     44  <td>Draws the waveform of the audio content being recorded live.</td> 
    4545</tr> 
    4646<tr> 
    4747  <td>Perform phrase detection while recording</td> 
    48   <td>If checked, Obi applies phrase detection to the audio being recorded on the run. After the record command is stopped, the recorded content will be split at the detected positions.</td> 
    49 </tr> 
    50 <tr> 
    51   <td>Renumber the following pages when recording ends</td> 
    52   <td>If checked, Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
     48  <td>Obi applies phrase detection to the audio being recorded on the run. After the record command is stopped, the recorded content will be split at the detected positions.</td> 
     49</tr> 
     50<tr> 
     51  <td>Renumber the following pages when recording ends</td> 
     52  <td>Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
    5353</tr> 
    5454<tr> 
    5555  <td>Merge first 2 phrases detected by phrase detection</td> 
    56   <td>If checked, merges the first two phrases resulting from the process of auto-splitting using phrase detection.</td> 
    57 </tr> 
    58 <tr> 
    59   <td>Fast play without pitch change</td> 
    60   <td>If checked, Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
     56  <td>Merges the first two phrases resulting from the process of auto-splitting using phrase detection.</td> 
     57</tr> 
     58<tr> 
     59  <td>Fast play without pitch change</td> 
     60  <td>Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
    6161</tr> 
    6262<tr> 
    6363  <td>Use Record Button to record over subsequent audio</td> 
    64   <td>If checked,Obi starts recording over subsequent phrases on pressing record button.Also you need to check "Always record directly from transport bar" in conjunction with this checkbox</td> 
     64  <td>Obi starts recording over subsequent phrases on pressing record button.Also you need to check "Always record directly from transport bar" in conjunction with this checkbox</td> 
    6565</tr> 
    6666<tr> 
    6767  <td>Enforce single audio cursor</td> 
    68   <td>If checked,While playing if a user pauses and selects another part of waveform in the same phrase then red cursor disappears</td> 
     68  <td>While playing if a user pauses and selects another part of waveform in the same phrase then red cursor disappears</td> 
    6969</tr> 
    7070<tr> 
    7171  <td>After recording delete the following phrases</td> 
    72   <td>If checked,Obi deletes following phrases when recording stops.</td> 
     72  <td>Obi deletes following phrases when recording stops.</td> 
    7373</tr> 
    7474</table> 
     
    8080<tr> 
    8181  <td>Retain initial silence while phrase detection</td> 
    82   <td>If checked, retains the initial silence during the process of Auto-splitting using phrase detection. If unchecked, discards the initial silence.</td>    
     82  <td>Retains the initial silence during the process of Auto-splitting using phrase detection.</td>    
    8383</tr> 
    8484<tr> 
    8585  <td>Allow overwrite while recording</td> 
    86   <td>If checked, Obi will break the selected phrase, at a position determined using a set of rules, and record in a new phrase between the two fragments. If unchecked, Obi will always create a phrase after the selected phrase</td> 
     86  <td>Obi will break the selected phrase, at a position determined using a set of rules, and record in a new phrase between the two fragments.</td> 
    8787</tr> 
    8888<tr> 
    8989  <td>Always record directly from transport bar</td> 
    90   <td>If checked, Obi will deactivate the toggling behavior of Start Monitoring/Record button of Transport Bar and always show Record Directly in its place. As a result, each click on that button will initiate recording.</td> 
    91 </tr> 
    92 <tr> 
    93   <td>Limit max phrase duration to 50 minutes</td> 
    94   <td>If checked, sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
     90  <td>Obi will deactivate the toggling behavior of Start Monitoring/Record button of Transport Bar and always show Record Directly in its place. As a result, each click on that button will initiate recording.</td> 
     91</tr> 
     92<tr> 
     93  <td>Limit max phrase duration to 50 minutes</td> 
     94  <td>Sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
    9595</tr> 
    9696<tr> 
    9797  <td>Perform phrase detection while recording</td> 
    98   <td>If checked, Obi applies phrase detection to the audio being recorded on the run. After the record command is stopped, the recorded content will be split at the detected positions.</td> 
    99 </tr> 
    100 <tr> 
    101   <td>Renumber the following pages when recording ends</td> 
    102   <td>If checked, Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
    103 </tr> 
    104 <tr> 
    105   <td>Fast play without pitch change</td> 
    106   <td>If checked, Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
     98  <td>Obi applies phrase detection to the audio being recorded on the run. After the record command is stopped, the recorded content will be split at the detected positions.</td> 
     99</tr> 
     100<tr> 
     101  <td>Renumber the following pages when recording ends</td> 
     102  <td>Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
     103</tr> 
     104<tr> 
     105  <td>Fast play without pitch change</td> 
     106  <td>Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
    107107</tr> 
    108108</table> 
     
    114114<tr> 
    115115  <td>Retain initial silence while phrase detection</td> 
    116   <td>If checked, retains the initial silence during the process of Auto-splitting using phrase detection. If unchecked, discards the initial silence.</td>    
    117 </tr> 
    118 <tr> 
    119   <td>Limit max phrase duration to 50 minutes</td> 
    120   <td>If checked, sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
    121 </tr> 
    122 <tr> 
    123   <td>Renumber the following pages when recording ends</td> 
    124   <td>If checked, Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
    125 </tr> 
    126 <tr> 
    127   <td>Fast play without pitch change</td> 
    128   <td>If checked, Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
     116  <td>Retains the initial silence during the process of Auto-splitting using phrase detection.</td>    
     117</tr> 
     118<tr> 
     119  <td>Limit max phrase duration to 50 minutes</td> 
     120  <td>Sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
     121</tr> 
     122<tr> 
     123  <td>Renumber the following pages when recording ends</td> 
     124  <td>Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
     125</tr> 
     126<tr> 
     127  <td>Fast play without pitch change</td> 
     128  <td>Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
    129129</tr> 
    130130</table> 
     
    135135<tr> 
    136136  <td>Audio Clues</td> 
    137   <td>If checked, enables the audio clues, disables otherwise. Audio clues provide audio indications for non-visual users.</td>    
    138 </tr> 
    139 <tr> 
    140   <td>Retain initial silence while phrase detection</td> 
    141   <td>If checked, retains the initial silence during the process of Auto-splitting using phrase detection. If unchecked, discards the initial silence.</td>    
     137  <td>Enables the audio clues, disables otherwise. Audio clues provide audio indications for non-visual users.</td>    
     138</tr> 
     139<tr> 
     140  <td>Retain initial silence while phrase detection</td> 
     141  <td>Retains the initial silence during the process of Auto-splitting using phrase detection.</td>    
    142142</tr> 
    143143<tr> 
    144144  <td>Preview before recording</td> 
    145   <td>If checked, plays a small portion of audio prior to the marked cursor position before initiating the Record command. If unchecked, starts recording directly. Please note that this feature only works in the advanced recording mode.</td> 
     145  <td>Plays a small portion of audio prior to the marked cursor position before initiating the Record command. Please note that this feature only works in the advanced recording mode.</td> 
    146146</tr> 
    147147<tr> 
    148148  <td>Use Space key to stop recording</td> 
    149   <td>If checked, Obi stops recording when user presses the Space key on the keyboard. If this check box is not checked, Obi acts according to the default behavior and pauses recording</td> 
     149  <td>Obi stops recording when user presses the Space key on the keyboard.</td> 
    150150</tr> 
    151151<tr> 
    152152  <td>Allow overwrite while recording</td> 
    153   <td>If checked, Obi will break the selected phrase, at a position determined using a set of rules, and record in a new phrase between the two fragments. If unchecked, Obi will always create a phrase after the selected phrase</td> 
     153  <td>Obi will break the selected phrase, at a position determined using a set of rules, and record in a new phrase between the two fragments.</td> 
    154154</tr> 
    155155<tr> 
    156156  <td>Always record directly from transport bar</td> 
    157   <td>If checked, Obi will deactivate the toggling behavior of Start Monitoring/Record button of Transport Bar and always show Record Directly in its place. As a result, each click on that button will initiate recording.</td> 
    158 </tr> 
    159 <tr> 
    160   <td>Limit max phrase duration to 50 minutes</td> 
    161   <td>If checked, sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
     157  <td>Obi will deactivate the toggling behavior of Start Monitoring/Record button of Transport Bar and always show Record Directly in its place. As a result, each click on that button will initiate recording.</td> 
     158</tr> 
     159<tr> 
     160  <td>Limit max phrase duration to 50 minutes</td> 
     161  <td>Sets an upper limit for the length of phrase to be 50 minutes. Otherwise, allows phrases of any length to exist.</td> 
    162162</tr> 
    163163<tr> 
    164164  <td>Show live waveform while recording</td> 
    165   <td>If checked, draws the waveform of the audio content being recorded live.</td> 
     165  <td>Draws the waveform of the audio content being recorded live.</td> 
    166166</tr> 
    167167<tr> 
    168168  <td>Perform phrase detection while recording</td> 
    169   <td>If checked, Obi applies phrase detection to the audio being recorded on the run. After the record command is stopped, the recorded content will be split at the detected positions.</td> 
    170 </tr> 
    171 <tr> 
    172   <td>Renumber the following pages when recording ends</td> 
    173   <td>If checked, Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
     169  <td>Obi applies phrase detection to the audio being recorded on the run. After the record command is stopped, the recorded content will be split at the detected positions.</td> 
     170</tr> 
     171<tr> 
     172  <td>Renumber the following pages when recording ends</td> 
     173  <td>Obi renumbers the pages after the recorded audio when the record command is stopped.</td> 
    174174</tr> 
    175175<tr> 
    176176  <td>Merge first 2 phrases detected by phrase detection</td> 
    177   <td>If checked, merges the first two phrases resulting from the process of auto-splitting using phrase detection.</td> 
    178 </tr> 
    179 <tr> 
    180   <td>Fast play without pitch change</td> 
    181   <td>If checked, Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
     177  <td>Merges the first two phrases resulting from the process of auto-splitting using phrase detection.</td> 
     178</tr> 
     179<tr> 
     180  <td>Fast play without pitch change</td> 
     181  <td>Obi preserves the pitch while increasing or decreasing the fast play rate.</td> 
    182182</tr> 
    183183<tr> 
    184184  <td>Use Record Button to record over subsequent audio</td> 
    185   <td>If checked,Obi starts recording over subsequent phrases on pressing record button.Also you need to check "Always record directly from transport bar" in conjunction with this checkbox</td> 
     185  <td>Obi starts recording over subsequent phrases on pressing record button.Also you need to check "Always record directly from transport bar" in conjunction with this checkbox</td> 
    186186</tr> 
    187187<tr> 
    188188  <td>Enforce single audio cursor</td> 
    189   <td>If checked,While playing if a user pauses and selects another part of waveform in the same phrase then red cursor disappears</td> 
     189  <td>While playing if a user pauses and selects another part of waveform in the same phrase then red cursor disappears</td> 
    190190</tr> 
    191191<tr> 
    192192  <td>After recording delete the following phrases</td> 
    193   <td>If checked,Obi deletes following phrases when recording stops.</td> 
     193  <td>Obi deletes following phrases when recording stops.</td> 
    194194</tr> 
    195195</table> 
Note: See TracChangeset for help on using the changeset viewer.