BGC Tools
|
A collection of some common operations related to Windowing Audio. More...
Public Types | |
enum | Function { Function.Hamming = 0, Function.Hann, Function.Sine, Function.Linear, Function.Square, Function.Silence, Function.MAX } |
Static Public Member Functions | |
static float [] | GetHalfWindow (Function function, int sampleCount) |
static double [] | GetHalfWindow64 (Function function, int sampleCount) |
static void | ApplyWindow (float[] samples, Function function, int startSample=-1, int windowWidth=-1, int smoothingSamples=1000, int channels=2) |
Applies a window to the passed-in samples More... | |
static void | ApplyWindow (float[] samples, Function function, int startSample=-1, int windowWidth=-1, double smoothingTime=0.01, double samplingRate=44100.0, int channels=2) |
Applies a window to the passed-in samples More... | |
static void | Linear (float[] samples, int startSample=-1, int windowWidth=-1, int smoothingSamples=1000, int channels=2) |
static void | Silence (float[] samples, int startSample=-1, int windowWidth=-1, int channels=2) |
static void | Hamming (float[] samples, int startSample=-1, int windowWidth=-1, int smoothingSamples=1000, int channels=2) |
static void | Hann (float[] samples, int startSample=-1, int windowWidth=-1, int smoothingSamples=1000, int channels=2) |
static void | Sine (float[] samples, int startSample=-1, int windowWidth=-1, int smoothingSamples=1000, int channels=2) |
Static Private Member Functions | |
static float [] | HammingHalfWindow (int sampleCount) |
static float [] | HannHalfWindow (int sampleCount) |
static float [] | SineHalfWindow (int sampleCount) |
static float [] | LinearHalfWindow (int sampleCount) |
static float [] | SquareHalfWindow (int sampleCount) |
static float [] | SilenceHalfWindow (int sampleCount) |
static double [] | HammingHalfWindow64 (int sampleCount) |
static double [] | HannHalfWindow64 (int sampleCount) |
static double [] | SineHalfWindow64 (int sampleCount) |
static double [] | LinearHalfWindow64 (int sampleCount) |
static double [] | SquareHalfWindow64 (int sampleCount) |
static double [] | SilenceHalfWindow64 (int sampleCount) |
A collection of some common operations related to Windowing Audio.
Definition at line 9 of file Windowing.cs.
|
strong |
Enumerator | |
---|---|
Hamming | |
Hann | |
Sine | |
Linear | |
Square | |
Silence | |
MAX |
Definition at line 11 of file Windowing.cs.
|
inlinestatic |
Applies a window to the passed-in samples
startSample | First sample number (within, not across, channels) |
Definition at line 64 of file Windowing.cs.
|
inlinestatic |
Applies a window to the passed-in samples
startSample | First sample number (within, not across, channels) |
Definition at line 132 of file Windowing.cs.
|
inlinestatic |
Definition at line 22 of file Windowing.cs.
Referenced by BGC.Audio.Filters.StreamWindower.StreamWindower().
|
inlinestatic |
Definition at line 41 of file Windowing.cs.
Referenced by BGC.Audio.AnalyticStreams.AnalyticStreamWindower.AnalyticStreamWindower().
|
inlinestatic |
Definition at line 265 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 394 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 473 of file Windowing.cs.
|
inlinestatic |
Definition at line 309 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 411 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 490 of file Windowing.cs.
|
inlinestatic |
Definition at line 199 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 442 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 521 of file Windowing.cs.
|
inlinestatic |
Definition at line 238 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 468 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 547 of file Windowing.cs.
|
inlinestatic |
Definition at line 353 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 428 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 507 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 456 of file Windowing.cs.
|
inlinestaticprivate |
Definition at line 535 of file Windowing.cs.