Ejemplo n.º 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");
        }
Ejemplo n.º 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");
        }
Ejemplo n.º 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");
 }
Ejemplo n.º 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);
 }