Click or drag to resize
AudioCompressionManager Methods

The AudioCompressionManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleChangeSpeed(IntPtr, Byte, Int32)
Changes the speed of audio data
Public methodStatic memberCode exampleChangeSpeed(Stream, Stream, Int32)
Changes the speed of audio stream.
Public methodStatic memberCode exampleChangeSpeed(String, String, Int32)
Changes the speed of audio file
Public methodStatic memberCode exampleChangeVolume
Changes the volume of audio data
Public methodStatic memberCode exampleCheckSilent
Checks the level of audio signal. If it is above silentLevel returns false otherwise it returns true.
Public methodStatic memberCode exampleChooseCompatibleFormat(IntPtr, IntPtr)
Shows the dialog box that enables the user to select the waveform-audio format.
Public methodStatic memberCode exampleChooseCompatibleFormat(IntPtr, IntPtr, String)
Shows the dialog box that enables the user to select the waveform-audio format.
Public methodStatic memberCode exampleConvert(IAudioReader, WaveWriter, Boolean)
Converts the audio data from the specified old format to the new format.
Public methodStatic memberCode exampleConvert(IntPtr, IntPtr, Byte, Boolean)
Converts the audio data from the specified old format to the new format.
Public methodStatic memberCopy(IntPtr, Byte, Int32, Int32)
Copy part audio data from byte array
Public methodStatic memberCode exampleCopy(Stream, Stream, Int32, Int32)
Copy part audio data from in stream to out stream
Public methodStatic memberCode exampleCopy(String, String, Int32, Int32)
Copy part audio data from in file to out file
Public methodStatic memberCode exampleCreateFormat
Create audio format from the byte array.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberCode exampleFade
Creates fade in/out effect
Public methodStatic memberCode exampleFormatBytes
Returns audio format byte array.
Public methodStatic memberFreeFormat
Frees memory previously allocated for audio format.
Public methodStatic memberCode exampleGenerateTone
Genetate tone with specified parameters
Public methodStatic memberCode exampleGetCompatibleFormat
Gets the format for the conversion from the specified format and specified format tag.
Public methodStatic memberCode exampleGetCompatibleFormatList(IntPtr)
Gets the format list for the conversion from the specified format.
Public methodStatic memberCode exampleGetCompatibleFormatList(IntPtr, Boolean)
Gets the format list for the conversion from the specified format.
Public methodStatic memberGetDriverDetails
Gets the driver details for specified driver.
Public methodStatic memberCode exampleGetDriverList
Gets the driver list.
Public methodStatic memberGetFloat32Format
Creates 32-bit IEEE Float audio format.
Public methodStatic memberCode exampleGetFormatDetails(IntPtr)
Gets the format details for specified format.
Public methodStatic memberCode exampleGetFormatDetails(IntPtr, Boolean)
Gets the format details for specified format.
Public methodStatic memberCode exampleGetFormatList(Int32)
Gets the format list for specified format tag and suitable driver.
Public methodStatic memberGetFormatList(WaveFormat)
Gets the format list for specified WaveFormat and suitable driver.
  • To filter the format list by nChannels please specify the valid value or 0 otherwise;
  • To filter the format list by wBitsPerSample please specify the valid value or 0 otherwise;
  • To filter the format list by nSamplesPerSec please specify the valid value or 0 otherwise;
  • To filter the format list by wFormatTag please specify the valid value or 0 otherwise;
Public methodStatic memberCode exampleGetFormatList(Int32, Boolean)
Gets the format list for specified format tag and suitable driver.
Public methodStatic memberCode exampleGetFormatList(Int32, Int32)
Gets the format list for specified format tag and driver.
Public methodStatic memberCode exampleGetFormatList(Int32, Int32, Boolean)
Gets the format list for specified format tag and driver.
Public methodStatic memberCode exampleGetFormatTagDetails(Int32)
Gets the format tag details for specified format tag and suitable driver.
Public methodStatic memberGetFormatTagDetails(Int32, Int32)
Gets the format tag details for specified format tag and driver.
Public methodStatic memberCode exampleGetFormatTagList
Gets the format tag list for suitable driver.
Public methodStatic memberGetFormatTagList(Int32)
Gets the format tag list for specified driver.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberGetMp3Format
Creates audio format for MPEG Layer3 audio data
Public methodStatic memberGetPcmFormat
Creates audio format for PCM data
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetWaveFormat
Gets the WaveFormat for specified format handle.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberInsert(Stream, Stream, Int32, Byte)
Insert audio data to stream.
Public methodStatic memberInsert(String, String, Int32, Byte)
Insert audio data to file.
Public methodStatic memberInverse
Inverts the audio signal to 180 degrees. All positive values in the wave form are replaced by negative and vice versa.
Public methodStatic memberJoin(Stream, Stream)
Join multiple audio streams into one. The audio data formats must be the same.
Public methodStatic memberJoin(String, String)
Join multiple audio files into one. The audio data formats must be the same.
Public methodStatic memberMaxVolume
Gets max volume for specified audio format and data
Public methodStatic memberMergeStereo(Stream, Stream, Stream)
Merges 2 mono WAVE streams into one stereo.
Public methodStatic memberCode exampleMergeStereo(String, String, String)
Merges 2 mono WAVE files into one stereo.
Public methodStatic memberMergeStereo(IntPtr, Byte, Byte, IntPtr, Byte)
Merges 2 mono audio arrays into one stereo.
Public methodStatic memberMilliseconds2Bytes
Returns bytes number for specified format and time, expressed in milliseconds
Public methodStatic memberMix(IntPtr, Byte)
Mixes the audio data.
Public methodStatic memberMix(Stream, Stream)
Mix several audio streams. The audio data formats must be the same.
Public methodStatic memberMix(String, String)
Mix several audio files. The audio data formats must be the same.
Public methodStatic memberMixMany
Inserts and mixes one piece of audio data into main audio data with specified offset multiple times.
Public methodStatic memberCode exampleMp3ToMono(String, Byte)
Converts Mp3 Stereo into Mono
Public methodStatic memberCode exampleMp3ToMono(String, String)
Converts Mp3 Stereo into Mono
Public methodStatic memberCode exampleMp3ToWav
Converts Mp3 file to Wav file with PCM (Pulse-code modulation) data
Public methodStatic memberNormalize(IntPtr, Byte)
Normalize method raises the volume so that the highest sample level reaches a maximum level.
Public methodStatic memberNormalize(IAudioReader, IAudioWriter)
Normalize method raises the volume so that the highest sample level reaches a maximum level.
Public methodStatic memberRecalculateData
Recalculates audio data array to the specified length. (For SoundLevelMeter)
Public methodStatic memberCode exampleRemove(Stream, Stream, Int32, Int32)
Remove part audio data from stream.
Public methodStatic memberCode exampleRemove(String, String, Int32, Int32)
Remove part audio data from file.
Public methodStatic memberRemoveDcOffset(IntPtr, Byte)
Removes DC offset. DC offset is an offsetting of a signal from zero. Occurs when hardware, such as a sound card, adds DC offset to a recorded audio signal.
Public methodStatic memberRemoveDcOffset(IntPtr, Byte, Int16)
Removes DC offset. DC offset is an offsetting of a signal from zero. Occurs when hardware, such as a sound card, adds DC offset to a recorded audio signal.
Public methodStatic memberResample(IAudioReader, WaveWriter)
Performs resampling audio data from and to 8/16/24/32-bit integer PCM and 32-bit IEEE Float audio formats.
Public methodStatic memberResample(IAudioReader, IntPtr)
Performs resampling audio data from and to 8/16/24/32-bit integer PCM and 32-bit IEEE Float audio formats.
Public methodStatic memberResample(IntPtr, Byte, IntPtr)
Performs resampling audio data from and to 8/16/24/32-bit integer PCM and 32-bit IEEE Float audio formats.
Public methodStatic memberCode exampleReverse(IntPtr, Byte)
Reverses Wave audio data.
Public methodStatic memberCode exampleReverse(Stream, Stream)
Reverses Wave audio data from one stream to another.
Public methodStatic memberCode exampleReverse(String, String)
Reverses Wave audio data from one file to another.
Public methodStatic memberCode exampleSilence
Creates silence
Public methodStatic memberCode exampleSplitStereo(Stream, Stream, Stream)
Splits one stereo stream into two mono streams (left and right channels).
Public methodStatic memberCode exampleSplitStereo(String, String, String)
Splits one stereo file into two mono files (left and right channels).
Public methodStatic memberCode exampleSplitStereo(IntPtr, Byte, IntPtr, Byte, Byte)
Splits stereo audio data array into two mono data arrays (left and right channels).
Public methodStatic memberSwapStereo(IntPtr, Byte)
Swaps stereo channels.
Public methodStatic memberSwapStereo(IAudioReader, WaveWriter)
Swaps stereo channels.
Public methodStatic memberToFormat(IAudioReader, IntPtr)
Converts audio data to the specified audio format.
Public methodStatic memberToFormat(IntPtr, Byte, IntPtr)
Converts audio data to the specified audio format.
Public methodStatic memberCode exampleToPcm
Helper for decoding audio data in PCM (Pulse-code modulation).
Public methodStatic memberCode exampleToPcm16Bit
Helper for decoding audio data in PCM (Pulse-code modulation) 16 bit.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Public methodStatic memberCode exampleWave2Mp3(IntPtr, Byte)
Converts Wave audio data to Mp3 audio data.
Public methodStatic memberCode exampleWave2Mp3(Stream, Stream)
Converts Wave stream to Mp3 stream.
Public methodStatic memberCode exampleWave2Mp3(String, String)
Converts Wave file to Mp3 file.
Public methodStatic memberCode exampleWaveToMono(String, Byte)
Converts Wave Stereo into Mono
Public methodStatic memberCode exampleWaveToMono(String, String)
Converts Wave Stereo into Mono
Top
See Also