コード例 #1
0
        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;
        }
コード例 #2
0
 public Note getNoteFromModel(FrequencyModel model)
 {
     return((Note)(m_noteNetwork.Predict(SoundCalculator.GetSampleFromModel(model))));
 }