Exemplo n.º 1
0
 public void ResetSampleAggregator()
 {
     _sampleAggregator.FftCalculated -= FftCalculated;
     _sampleAggregator = new SampleAggregator(fftLength);
     _sampleAggregator.FftCalculated += FftCalculated;
     _sampleAggregator.PerformFFT = true;
 }
Exemplo n.º 2
0
 public NoteCapture(INoteFinder noteFinder)
 {
     SampleRate = 44100;
     _sampleAggregator = new SampleAggregator(fftLength);
     _sampleAggregator.FftCalculated += FftCalculated;
     _sampleAggregator.PerformFFT = true;
     NoteFinder = noteFinder;
 }