ACS_Wave

Delphi interface for WAV files copyright © 2002-2007, Andrei Borovsky (a.nosp@m.nb@symmetr.nosp@m.ica.net).  All rights reserved.  See the LICENSE file for more details.

Summary
ACS_WaveDelphi interface for WAV files copyright © 2002-2007, Andrei Borovsky (a.nosp@m.nb@symmetr.nosp@m.ica.net).
Enumerations
TWavTypeThe format of the WAV.
TWaveInWave file decoder.
Properties
WavTypeThis TWavType property indicates the current .wav file encoding.
TWaveOutWave file encoder.
Properties
WavTypeUse this TWavType property to specify output .wav file encoding.
BlockSizeUse this property to set the size of the DVI IMA ADPCM block in bytes (when using DVI IMA ADPCM encoding).
CreateNonMsHeadersUse this property to specify the headers format for output files with more than 16 bits per sample and more than 2 channels.
TWaveTapDescends from TAudioTap.

Enumerations

TWavType

The format of the WAV.

  • wtUnsupported - a WAV format that isn’t supported
  • wtPCM - a WAV which is raw PCM (the normal format, use this if you’re unsure)
  • wtDVIADPCM - a WAV which is MS DVI IMA ADPCM
  • wtACM - an MP3 packed inside a WAV
  • wtIEEEFloat - floating point encoding (32 or 64 bits)
  • wtExtPCM - raw PCM encoding with WaveFormatExtensible header.
  • wtExtIEEEFloat - floating point encoding with WaveFormatExtensible header.

TWaveIn

Wave file decoder.  Descends from TAuFileIn.

Summary
Properties
WavTypeThis TWavType property indicates the current .wav file encoding.

Properties

WavType

This TWavType property indicates the current .wav file encoding.

TWaveOut

Wave file encoder.  Descends from TAuFileOut.

Summary
Properties
WavTypeUse this TWavType property to specify output .wav file encoding.
BlockSizeUse this property to set the size of the DVI IMA ADPCM block in bytes (when using DVI IMA ADPCM encoding).
CreateNonMsHeadersUse this property to specify the headers format for output files with more than 16 bits per sample and more than 2 channels.

Properties

WavType

Use this TWavType property to specify output .wav file encoding.  When you append data to an existing file (with data in either raw PCM or MS DVI IMA ADPCM encoding) this property will be automatically set to the file encoding.  Only wtPCM, wtExtPCM, and wtDVIADPCM formats are supported for encoding.  Do not set wtExtPCM directly.  This format is chosen automatically if you encode audio with more than 24 bits per sample or more than 2 channels and CreateNonMsHeaders is set to False.

BlockSize

Use this property to set the size of the DVI IMA ADPCM block in bytes (when using DVI IMA ADPCM encoding).  The size of the block must be a multiple of four.  Since all the blocks in the file must be the same size, the size of the block will be set automatically when appending data to the existing MS DVI IMA ADPCM encoded file.

CreateNonMsHeaders

Use this property to specify the headers format for output files with more than 16 bits per sample and more than 2 channels.  Microsoft uses its own headers format for these files and this format is the only one supported by Windows Media Player 9 (although later versions of the player seem to support both types of headers).  WinAmp and many other programs can also play it.  On the other hand programs such as Sound Forge and Reaper only understand conventional headers.  The default value for this property is False which makes the component to produce files readable by WM Player 9, but not by Sound Forge or Reaper.  Set it to True to force the component to write non-MS headers.

TWaveTap

Descends from TAudioTap.  This is one of the “audio tap” components that sit between input and output in the audio chain and optionally record the audio data passing through them into a file.  This component records data into wav file using PCM encoding.

The format of the WAV.
This is the base class for all “audio tap components”.
A descendant of TAuStreamedInput to deal with files and streams.
A descendant of TAuStreamedOutput to deal with files and streams.
Use this property to specify the headers format for output files with more than 16 bits per sample and more than 2 channels.
Close