mirror of https://github.com/naudio/NAudio.git
Browse Source
more reorganization of WPF demo code, also attempting to improve the FFT display
pull/1/head
more reorganization of WPF demo code, also attempting to improve the FFT display
pull/1/head

14 changed files with 83 additions and 100 deletions
-
22NAudio/Dsp/FastFourierTransform.cs
-
0NAudioWpfDemo/AudioPlaybackDemo/AudioCapture.cs
-
0NAudioWpfDemo/AudioPlaybackDemo/AudioGraph.cs
-
0NAudioWpfDemo/AudioPlaybackDemo/AudioPlayback.cs
-
8NAudioWpfDemo/AudioPlaybackDemo/AudioPlaybackDemoPlugin.cs
-
12NAudioWpfDemo/AudioPlaybackDemo/AudioPlaybackDemoView.xaml
-
2NAudioWpfDemo/AudioPlaybackDemo/AudioPlaybackDemoView.xaml.cs
-
4NAudioWpfDemo/AudioPlaybackDemo/AudioPlaybackViewModel.cs
-
2NAudioWpfDemo/AudioPlaybackDemo/SampleAggregator.cs
-
0NAudioWpfDemo/AudioPlaybackDemo/WaveformVisual.cs
-
18NAudioWpfDemo/ControlPanel.xaml
-
27NAudioWpfDemo/ControlPanel.xaml.cs
-
28NAudioWpfDemo/NAudioWpfDemo.csproj
-
60NAudioWpfDemo/SpectrumAnalyser.xaml.cs
@ -1,18 +0,0 @@ |
|||
<UserControl x:Class="NAudioWpfDemo.ControlPanel" |
|||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
Height="Auto" Width="Auto"> |
|||
<Grid Margin="5"> |
|||
<StackPanel Orientation="Horizontal" > |
|||
<Button Command="{Binding CaptureCommand}" Margin="2" ToolTip="Record"> |
|||
<Ellipse Fill="Red" Width="15" Height="15" Margin="3"/> |
|||
</Button> |
|||
<Button Command="{Binding StopCommand}" Margin="2" ToolTip="Stop"> |
|||
<Rectangle Fill="DarkBlue" Width="15" Height="15" Margin="3" RadiusX="2" RadiusY="2"/> |
|||
</Button> |
|||
<Button Command="{Binding PlayFileCommand}" Margin="2" ToolTip="Play"> |
|||
<Path Fill="DarkGreen" Margin="3" Width="15" Height="15" Data="M 0,0 L 1,1 L 0,2 Z" Stretch="Fill" StrokeLineJoin="Round"/> |
|||
</Button> |
|||
</StackPanel> |
|||
</Grid> |
|||
</UserControl> |
@ -1,27 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Windows; |
|||
using System.Windows.Controls; |
|||
using System.Windows.Data; |
|||
using System.Windows.Documents; |
|||
using System.Windows.Input; |
|||
using System.Windows.Media; |
|||
using System.Windows.Media.Imaging; |
|||
using System.Windows.Navigation; |
|||
using System.Windows.Shapes; |
|||
|
|||
namespace NAudioWpfDemo |
|||
{ |
|||
/// <summary>
|
|||
/// Interaction logic for ControlPanel.xaml
|
|||
/// </summary>
|
|||
public partial class ControlPanel : UserControl |
|||
{ |
|||
public ControlPanel() |
|||
{ |
|||
InitializeComponent(); |
|||
} |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue