-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The goodlearner speaks. Not really good, not really bad... The phaser…
… needs more work.
- Loading branch information
1 parent
79847a6
commit a624f33
Showing
3 changed files
with
156 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,112 @@ | ||
<Window x:Class="GoodLearner.MainWindow" | ||
<Window | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:GoodLearner" | ||
xmlns:Z_nthCommon="clr-namespace:Z_nthCommon;assembly=Z+nthCommon" x:Class="GoodLearner.MainWindow" | ||
mc:Ignorable="d" | ||
Title="MainWindow" Height="450" Width="800"> | ||
<Window.Resources> | ||
<Z_nthCommon:EnumMatchToBooleanConverter x:Key="enumConverter" /> | ||
</Window.Resources> | ||
<Grid> | ||
<Slider x:Name="slider_Phaser_Mix_Rate" Value="{Binding Phaser_Mix_Rate, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="530,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Maximum="100"/> | ||
<Slider x:Name="slider_Phaser_Freq" Value="{Binding Phaser_Freq, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="555,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Maximum="100"/> | ||
<Slider x:Name="slider_Phaser_Feedback_Rate" Value="{Binding Phaser_Feedback_Rate, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="580,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Maximum="100"/> | ||
<Slider x:Name="slider_Phaser_Delay" Value="{Binding Phaser_Delay, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="605,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Maximum="100" Minimum="1"/> | ||
<Slider x:Name="slider_Bending" Value="{Binding Bending}" HorizontalAlignment="Left" Margin="10,391,0,0" VerticalAlignment="Top" Width="772" Maximum="200" Minimum="-200" SmallChange="1" Thumb.DragCompleted="slider_Bending_DragCompleted"/> | ||
<Slider x:Name="slider_Latency" Value="{Binding DesiredLatency, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="10,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Maximum="200" Minimum="10"/> | ||
<Slider x:Name="slider_Polyphony" Value="{Binding CurrentPolyphony, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="35,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Minimum="1"/> | ||
<Label x:Name="label_Copy" Content="Latency" HorizontalAlignment="Left" Margin="-22,136,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
<Label x:Name="label_Copy1" Content="Polyphony" HorizontalAlignment="Left" Margin="-10,135,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
<Slider x:Name="slider_Transpose" Value="{Binding Transpose, Mode=TwoWay}" HorizontalAlignment="Left" Height="148" Margin="60,10,0,0" VerticalAlignment="Top" Width="20" Orientation="Vertical" Minimum="-2" Maximum="2" SmallChange="1"/> | ||
<Label x:Name="label_Transpose" Content="Transpose" HorizontalAlignment="Left" Margin="13,136,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
<Label x:Name="label_Count" Content="Mix rate" HorizontalAlignment="Left" Margin="493,144,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
<Label x:Name="label_Count_Copy" Content="Freq" HorizontalAlignment="Left" Margin="540,147,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
<Label x:Name="label_Count_Copy1" Content="Feedback rate" HorizontalAlignment="Left" Margin="510,146,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
<Label x:Name="label_Count_Copy2" Content="Delay" HorizontalAlignment="Left" Margin="582,145,0,0" VerticalAlignment="Top" Height="26" RenderTransformOrigin="1.054,0.904"> | ||
<Label.RenderTransform> | ||
<TransformGroup> | ||
<ScaleTransform/> | ||
<SkewTransform/> | ||
<RotateTransform Angle="-90"/> | ||
<TranslateTransform/> | ||
</TransformGroup> | ||
</Label.RenderTransform> | ||
</Label> | ||
|
||
<RadioButton Content="Sine" HorizontalAlignment="Left" Height="18" Margin="228,24,0,0" VerticalAlignment="Top" Width="90" | ||
GroupName="Waveform" | ||
IsChecked="{Binding CurrentOption, ConverterParameter=Sine, Converter={StaticResource enumConverter}, Mode=TwoWay}" | ||
/> | ||
|
||
<RadioButton Content="Square" HorizontalAlignment="Left" Height="18" Margin="228,78,0,0" VerticalAlignment="Top" Width="90" | ||
GroupName="Waveform" | ||
IsChecked="{Binding CurrentOption, ConverterParameter=Square, Converter={StaticResource enumConverter}, Mode=TwoWay}" | ||
/> | ||
<RadioButton Content="Saw" HorizontalAlignment="Left" Height="18" Margin="228,60,0,0" VerticalAlignment="Top" Width="90" | ||
GroupName="Waveform" | ||
IsChecked="{Binding CurrentOption, ConverterParameter=Saw, Converter={StaticResource enumConverter}, Mode=TwoWay}" | ||
/> | ||
<RadioButton Content="Triangle" HorizontalAlignment="Left" Height="18" Margin="228,42,0,0" VerticalAlignment="Top" Width="90" | ||
GroupName="Waveform" | ||
IsChecked="{Binding CurrentOption, ConverterParameter=Triangle, Converter={StaticResource enumConverter}, Mode=TwoWay}" | ||
/> | ||
|
||
</Grid> | ||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters