C# Class ActionVisualizer.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
显示文件 Open project: ISUE/Multiwave

Public Properties

Property Type Description
bin int[]
buffersize int
frequencyStep int
inbetween float[]
minFrequency int
sampledata float[]
waveOutChannels int

Public Methods

Method Description
MainWindow ( ) : System
MainWindow_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
bufferFFT ( ) : void
filterMean ( Exocortex.DSP.ComplexF data, double factor ) : double[]
generateStroke ( System.Windows.Media.PointCollection pointHist ) : void
gestureCompleted ( ) : void
mag2db ( Exocortex.DSP.ComplexF y ) : float
waveIn_DataAvailable ( object sender, NAudio.Wave.WaveInEventArgs e ) : void

Private Methods

Method Description
StartStopSineWave ( ) : void
button1_Click ( object sender, RoutedEventArgs e ) : void
channelSelector_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
detectGestures ( ) : void

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

MainWindow_KeyDown() public method

public MainWindow_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
return void

bufferFFT() public method

public bufferFFT ( ) : void
return void

filterMean() public method

public filterMean ( Exocortex.DSP.ComplexF data, double factor ) : double[]
data Exocortex.DSP.ComplexF
factor double
return double[]

generateStroke() public method

public generateStroke ( System.Windows.Media.PointCollection pointHist ) : void
pointHist System.Windows.Media.PointCollection
return void

gestureCompleted() public method

public gestureCompleted ( ) : void
return void

mag2db() public method

public mag2db ( Exocortex.DSP.ComplexF y ) : float
y Exocortex.DSP.ComplexF
return float

waveIn_DataAvailable() public method

public waveIn_DataAvailable ( object sender, NAudio.Wave.WaveInEventArgs e ) : void
sender object
e NAudio.Wave.WaveInEventArgs
return void

Property Details

bin public_oe property

public int[] bin
return int[]

buffersize public_oe property

public int buffersize
return int

frequencyStep public_oe property

public int frequencyStep
return int

inbetween public_oe property

public float[] inbetween
return float[]

minFrequency public_oe property

public int minFrequency
return int

sampledata public_oe property

public float[] sampledata
return float[]

waveOutChannels public_oe property

public int waveOutChannels
return int