Пример #1
0
        void recorder_MaximumCalculated(object sender, MaxSampleEventArgs e)
        {
            SamplePoint newSample = new SamplePoint();

            newSample.sampleNum = sampleData.Count;
            newSample.sampleVal = Math.Max(e.MaxSample, Math.Abs(e.MinSample));
            sampleData.Add(newSample);
            RaisePropertyChanged("SampleData");
            RaisePropertyChanged("XRange");
        }
Пример #2
0
        void recorder_MaximumCalculated(object sender, MaxSampleEventArgs e)
        {
            SamplePoint newSample = new SamplePoint();

            newSample.sampleNum = currentTrackSamples.Count;
            newSample.sampleVal = Math.Max(e.MaxSample, Math.Abs(e.MinSample));
            currentTrackSamples.Add(newSample);

            RaisePropertyChanged("CurrentTrackData");
            RaisePropertyChanged("CurrentTrackXRange");

            lastPeak = Math.Max(e.MaxSample, Math.Abs(e.MinSample));
            RaisePropertyChanged("CurrentInputLevel");
        }
Пример #3
0
 void recorder_MaximumCalculated(object sender, MaxSampleEventArgs e)
 {
     SamplePoint newSample = new SamplePoint();
     newSample.sampleNum = sampleData.Count;
     newSample.sampleVal = Math.Max(e.MaxSample, Math.Abs(e.MinSample));
     sampleData.Add(newSample);
     RaisePropertyChanged("SampleData");
     RaisePropertyChanged("XRange");
 }
Пример #4
0
 void SampleAggregator_MaximumCalculated(object sender, MaxSampleEventArgs e)
 {
     waveFormRenderer.AddValue(e.MaxSample, e.MinSample);
 }
 void SampleAggregator_MaximumCalculated(object sender, MaxSampleEventArgs e)
 {
     waveFormRenderer.AddValue(e.MaxSample, e.MinSample);
 }