public void DisplayRefDoubleChart() { SetDataRefDoubleChart(); if (selectShowChart.Selected.RefDouble && refmfcc != null) { if (!refvoice_double.Visible) { refvoice_double.Location = locationChart[5]; refvoice_double.Show(); } } else { if (refvoice_double.Visible) { refvoice_double.Hide(); } } }
public void DisplayRefFreqChart() { SetDataRefFreqChart(); if (selectShowChart.Selected.RefFreq) { if (!refvoice_freq.Visible && refmfcc != null) { refvoice_freq.Location = locationChart[1]; refvoice_freq.Show(); } } else { if (refvoice_freq.Visible) { refvoice_freq.Hide(); } } }
public void DisplayRefMfccChart() { SetDataRefMfccChart(); if (selectShowChart.Selected.RefMfcc) { if (!refvoice_mfcc.Visible && refmfcc != null) { refvoice_mfcc.Location = locationChart[3]; refvoice_mfcc.Show(); } } else { if (refvoice_mfcc.Visible) { refvoice_mfcc.Hide(); } } }
public void DisplayYourDoubleChart() { SetDataYourDoubleChart(); if (selectShowChart.Selected.YourDouble && yourmfcc != null) { if (!yourvoice_double.Visible && yourmfcc != null) { yourvoice_double.Location = locationChart[4]; yourvoice_double.Show(); } } else { if (yourvoice_double.Visible) { yourvoice_double.Hide(); } } }
public void DisplayYourMfccChart() { SetDataYourMfccChart(); if (selectShowChart.Selected.YourMfcc) { if (!yourvoice_mfcc.Visible && yourmfcc != null) { yourvoice_mfcc.Location = locationChart[2]; yourvoice_mfcc.Show(); } } else { if (yourvoice_mfcc.Visible) { yourvoice_mfcc.Hide(); } } }
public void DisplayYourFreqChart() { SetDataYourFreqChart(); if (selectShowChart.Selected.YourFreq) { if (!yourvoice_freq.Visible && yourmfcc != null) { yourvoice_freq.Location = locationChart[0]; yourvoice_freq.Show(); } } else { if (yourvoice_freq.Visible) { yourvoice_freq.Hide(); } } }
private void SetDataYourDoubleChart() { if (yourvoice_double.IsDisposed) { yourvoice_double = new MfccChartForm(); yourvoice_double.Hide(); yourvoice_double.Title = "Your File: " + Path.GetFileName(yourNameFile); if (yourmfcc != null && yourmfcc.IsProcessed == (int)State.SUCCESSED) { yourvoice_double.Data = yourmfcc.DoubleDetalMfccFrame; } yourvoice_double.Text = "Detal MFCC Chart"; } if (changed_yourfile) { yourvoice_double.Title = "Your File: " + Path.GetFileName(yourNameFile); if (yourmfcc != null && yourmfcc.IsProcessed == (int)State.SUCCESSED) { yourvoice_double.Data = yourmfcc.DoubleDetalMfccFrame; } yourvoice_double.Text = "Detal MFCC Chart"; } }
private void SetDataYourFreqChart() { if (yourvoice_freq.IsDisposed) { yourvoice_freq = new MfccChartForm(); yourvoice_freq.Hide(); yourvoice_freq.Title = "Your File: " + Path.GetFileName(yourNameFile); if (yourmfcc != null && yourmfcc.IsProcessed == (int)State.SUCCESSED) { yourvoice_freq.Data = yourmfcc.FreqFrame; } yourvoice_freq.Text = "Freq Chart"; } if (changed_yourfile) { yourvoice_freq.Title = "Your File: " + Path.GetFileName(yourNameFile); if (yourmfcc != null && yourmfcc.IsProcessed == (int)State.SUCCESSED) { yourvoice_freq.Data = yourmfcc.FreqFrame; } yourvoice_freq.Text = "Freq Chart"; } }