diff --git a/KeyboardAudioVisualizer/App.xaml.cs b/KeyboardAudioVisualizer/App.xaml.cs
index 2e54a0c..7ebe61d 100644
--- a/KeyboardAudioVisualizer/App.xaml.cs
+++ b/KeyboardAudioVisualizer/App.xaml.cs
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Windows;
+using System.Windows.Controls;
using Hardcodet.Wpf.TaskbarNotification;
using KeyboardAudioVisualizer.AudioProcessing;
using KeyboardAudioVisualizer.Helper;
@@ -32,6 +33,8 @@ namespace KeyboardAudioVisualizer
try
{
+ ToolTipService.ShowDurationProperty.OverrideMetadata(typeof(DependencyObject), new FrameworkPropertyMetadata(int.MaxValue));
+
_taskbarIcon = (TaskbarIcon)FindResource("TaskbarIcon");
_taskbarIcon.DoubleClickCommand = ApplicationManager.Instance.OpenConfigurationCommand;
diff --git a/KeyboardAudioVisualizer/UI/Configuration/FrequencyBarsConfiguration.xaml b/KeyboardAudioVisualizer/UI/Configuration/FrequencyBarsConfiguration.xaml
index 26261bc..89253ea 100644
--- a/KeyboardAudioVisualizer/UI/Configuration/FrequencyBarsConfiguration.xaml
+++ b/KeyboardAudioVisualizer/UI/Configuration/FrequencyBarsConfiguration.xaml
@@ -42,45 +42,54 @@
+ SelectedItem="{Binding SpectrumMode}"
+ ToolTip="Defines how the spectrum is grouped together.
- Linear: Each bar represents the same range of frequencies.
- Logarithmic: The higher the frequencies get the wider the range of grouped frequencies.
- Gamma: Uses a configurable Gamma-Value to group the frequencies." />
+ SelectedItem="{Binding ValueMode}"
+ ToolTip="Defines how the value of a bar is calculated.
- Sum: Sums the power of all frequencies grouped in the bar using all available data.
- Max: Uses the maximum value in each group making sure peaks are caught well.
- Average: Uses the average of all frequencies grouped in the bar. " />
+ Value="{Binding Bars}"
+ ToolTip="The number of bars used to represent the spectrum.." />
+ Value="{Binding MinFrequency}"
+ ToolTip="The minimum frequency used in the graph." />
+ Value="{Binding MaxFrequency}"
+ ToolTip="The maximum frequency used in the graph." />
+ Value="{Binding Gamma}"
+ ToolTip="Only used if 'Gamma' is selected as spectrum!
Higher values cause more compression of high frequencies." />
+ Value="{Binding ReferenceLevel}"
+ ToolTip="The reference value used to calculate the power of each bar.
(You can read this as 'scaling')" />
+ Value="{Binding Smoothing}"
+ ToolTip="Smooths the graph to prevent flickering.
Low values will cause a hectic fast plot, high values a slow one without peaks." />
+ Value="{Binding EmphasisePeaks}"
+ ToolTip="Emphasizes peaks. The higher the value, the bigger the difference between a 'loud-bar' and a 'quite-bar'." />
diff --git a/KeyboardAudioVisualizer/UI/Configuration/LevelConfiguration.xaml b/KeyboardAudioVisualizer/UI/Configuration/LevelConfiguration.xaml
index 2a69216..e95be80 100644
--- a/KeyboardAudioVisualizer/UI/Configuration/LevelConfiguration.xaml
+++ b/KeyboardAudioVisualizer/UI/Configuration/LevelConfiguration.xaml
@@ -36,19 +36,22 @@
+ SelectedItem="{Binding ConversionMode}"
+ ToolTip="Defines how the RMS of the audio is plotted.
Exponential has the widest range of peaks while linear has the least." />
+ Value="{Binding Scale}"
+ ToolTip="Scales the whole graph." />
+ Value="{Binding Smoothing}"
+ ToolTip="Smooths the plot to prevent flickering.
Low values will cause a hectic fast plot, high values a slow one without peaks." />
diff --git a/KeyboardAudioVisualizer/UI/ConfigurationWindow.xaml b/KeyboardAudioVisualizer/UI/ConfigurationWindow.xaml
index a71a464..91543d8 100644
--- a/KeyboardAudioVisualizer/UI/ConfigurationWindow.xaml
+++ b/KeyboardAudioVisualizer/UI/ConfigurationWindow.xaml
@@ -8,7 +8,6 @@
xmlns:styles="clr-namespace:KeyboardAudioVisualizer.Styles"
xmlns:core="clr-namespace:RGB.NET.Core;assembly=RGB.NET.Core"
xmlns:keyboardAudioVisualizer="clr-namespace:KeyboardAudioVisualizer"
- xmlns:audioProcessing="clr-namespace:KeyboardAudioVisualizer.AudioProcessing"
xmlns:converter="clr-namespace:KeyboardAudioVisualizer.Converter"
xmlns:visualizationProvider="clr-namespace:KeyboardAudioVisualizer.AudioProcessing.VisualizationProvider"
xmlns:helper="clr-namespace:KeyboardAudioVisualizer.Helper"
@@ -67,7 +66,8 @@
ItemTemplate="{StaticResource DataTemplateVisualizationSelection}"
ItemsSource="{Binding Source={StaticResource DataProviderVisualizationTypes},
Converter={StaticResource VisualizationProviderSelectableConverter}, ConverterParameter={x:Static core:RGBDeviceType.Keyboard}}"
- SelectedItem="{Binding SelectedPrimaryVisualization}" />
+ SelectedItem="{Binding SelectedPrimaryVisualization}"
+ ToolTip="The visualization shown on the device.
- Frequency Bars: Shows vertical bars representing the frequencies of the song.
- Level: Shows two horizontal bars representing the loudness of the song (left and right).
- Beat: Shows a flash to the beat of the song (this doesn't work too well right now :()" />
@@ -163,7 +163,8 @@
+ Value="{Binding UpdateRate}"
+ ToolTip="Defines how fast the data is updated.
Low values can reduce CPU-usage but will cause stuttering." />
diff --git a/KeyboardAudioVisualizer/UI/Visualization/EqualizerVisualization.xaml b/KeyboardAudioVisualizer/UI/Visualization/EqualizerVisualization.xaml
index d44f372..499d099 100644
--- a/KeyboardAudioVisualizer/UI/Visualization/EqualizerVisualization.xaml
+++ b/KeyboardAudioVisualizer/UI/Visualization/EqualizerVisualization.xaml
@@ -80,7 +80,8 @@
Margin="0,-4,0,0" Orientation="Horizontal">
+ IsChecked="{Binding Path=Equalizer.IsEnabled, RelativeSource={RelativeSource TemplatedParent}}"
+ ToolTip="Enables the Equalizer.
The Equalier Allows to finetune the graph by slective increasing/decresing the value.
You can add new pivots by rightclicking on the visualization-window.
Existing pivots can be deleted by rightclicking on them or moved by leftclicking and dragging around." />