The DXVUMeterNETGDI type exposes the following members.
Methods
Name | Description | |
---|---|---|
DTMFToneToValue |
This function converts a tone into its corresponding string value.
| |
FFTAverageFromFrequency |
Returns the average power at a given frequency
| |
FFTAverageFromIndex |
Returns the average power at a given frequency
| |
FFTIdx2Freq |
Returns the frequency at the given FFT index
| |
FFTIdx2X |
Returns the "x" (horizontal) position within the control's graphic area given the FFT index
| |
FFTPowerFromIndex |
Returns the frequency response at a given FFT index
| |
Freq2FFTIdx |
Returns the FFT index for a given frequency
| |
LicenseControl |
This subroutine must be called in order to "register" the control and prevent it from displaying the "DEMO" message.
| |
NormalizeBuffer |
Converts an array of bytes into an array of integers with values ranging from -32768 to 32767
This function is used, internally by the control, but you may also use it when handling the PeakValues event.
| |
PausePlaying | Pauses the playback | |
SetCustomBufferProvider |
This is an advanced feature that allows you to use your own buffer provider.
When a custom provider is set, DXVUMeterNETGDI will query the provider to obtain the buffer data, instead of using its internal audio monitoring routines.
This can be useful if your application is gathering the buffer data from a non standard source or if, for example, you want to plot some data that is not directly provided by a sound card.
| |
StartMonitoring | Starts monitoring and rendering the monitored audio | |
StartPlaying |
Starts playing the file passed as a parameter
| |
StartRecording |
Starts recording so the monitored audio will be saved into the file passed as a parameter
NOTE: DXVUMeterNETGDI uses the LAME encoder to encode the PCM audio into MP3 format.
Please refer to http://www.mp3dev.org/ for more information about the LAME encoder.
| |
StopMonitoring | Stops monitoring and rendering | |
StopPlaying | Stops playing | |
StopRecording | Stops recording |