The DXVUMeterNETGDI type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDTMFToneToValue
This function converts a tone into its corresponding string value.
Public methodFFTAverageFromFrequency
Returns the average power at a given frequency
Public methodFFTAverageFromIndex
Returns the average power at a given frequency
Public methodFFTIdx2Freq
Returns the frequency at the given FFT index
Public methodFFTIdx2X
Returns the "x" (horizontal) position within the control's graphic area given the FFT index
Public methodFFTPowerFromIndex
Returns the frequency response at a given FFT index
Public methodFreq2FFTIdx
Returns the FFT index for a given frequency
Public methodLicenseControl
This subroutine must be called in order to "register" the control and prevent it from displaying the "DEMO" message.
Public methodNormalizeBuffer
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.
Public methodPausePlaying
Pauses the playback
Public methodSetCustomBufferProvider
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.
Public methodStartMonitoring
Starts monitoring and rendering the monitored audio
Public methodStartPlaying
Starts playing the file passed as a parameter
Public methodStartRecording
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.
Public methodStopMonitoring
Stops monitoring and rendering
Public methodStopPlaying
Stops playing
Public methodStopRecording
Stops recording

See Also