From e169d7448e19964cd68776b5dfdb69c3e95b954d Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Sat, 24 Oct 2015 19:49:05 +0200 Subject: [PATCH] Tweaked some settings and fixed comments in the AudioAnalyzerExample --- .../TakeAsIs/SoundDataProcessor.cs | 6 +++--- .../Example_AudioAnalyzer_full/TakeAsIs/Utility.cs | 2 +- .../TakeAsIs/WASAPIInitializationException.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/SoundDataProcessor.cs b/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/SoundDataProcessor.cs index 2dea3d7..c80392b 100644 --- a/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/SoundDataProcessor.cs +++ b/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/SoundDataProcessor.cs @@ -8,7 +8,7 @@ * # # * ################################################################################################################### * - * > Note < This code is refactored and all parts not used inb this tutorial are removed. + * > Note < This code is refactored and all parts not used in this tutorial are removed. */ using System; @@ -32,8 +32,8 @@ namespace Example_AudioAnalyzer_full.TakeAsIs private float[] _freqVolScalar = new float[BAR_COUNT]; private float[] _barValues = new float[BAR_COUNT]; private int _sampleFrequency = 48000; - private int _maximumFrequency = 21000; - private int _minimumFrequency = 0; + private int _maximumFrequency = 16384; + private int _minimumFrequency = 32; private int _maximumFrequencyIndex; private int _minimumFrequencyIndex; private int _deviceNumber; diff --git a/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/Utility.cs b/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/Utility.cs index bbf8170..ed620c0 100644 --- a/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/Utility.cs +++ b/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/Utility.cs @@ -8,7 +8,7 @@ * # # * ################################################################################################################### * - * > Note < This code is refactored and all parts not used inb this tutorial are removed. + * > Note < This code is refactored and all parts not used in this tutorial are removed. */ using System; diff --git a/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/WASAPIInitializationException.cs b/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/WASAPIInitializationException.cs index cff7769..7e08434 100644 --- a/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/WASAPIInitializationException.cs +++ b/Examples/AudioAnalyzer/Example_AudioAnalyzer_full/TakeAsIs/WASAPIInitializationException.cs @@ -8,7 +8,7 @@ * # # * ################################################################################################################### * - * > Note < This code is refactored and all parts not used inb this tutorial are removed. + * > Note < This code is refactored and all parts not used in this tutorial are removed. */ using System;