private void Capturer_NewPick(object sender, AudioPickEventArgs e) { var test = SoundCalculator.GetFrequencyModel(e.pickData); samples.Add(SoundCalculator.GetSampleFromModel(test, testedNote)); samplesOneType++; lbSampleCount.Content = samplesOneType; lbAllSampleCount.Content = samples.Count; }
public Note getNoteFromModel(FrequencyModel model) { return((Note)(m_noteNetwork.Predict(SoundCalculator.GetSampleFromModel(model)))); }