Classes which convert bit depth, sample rates, and stereo/mono.
| ACS_Converters | Classes which convert bit depth, sample rates, and stereo/mono. |
| TRateConverter | Descends from TAuConverter. |
| Properties | |
| FilterWindow | Use this property to set the window type for the filter. |
| KernelWidth | Use this property to set the width of the sinc kernel in points. |
| OutSampleRate | Use this property to set the output sample rate. |
| TNormalizer | Descends from TAuConverter. |
| Properties | |
| StoreMode | TNormalizer needs a preprocessing data stage. |
| TmpFileName | The name of the temporary file that stores intermediate data in the nsmFile mode. |
| Enabled | If this property is set to False the component passes data through without scaling. |
| TDitherer | Descends from TAuConverter. |
| Properties | |
| DitheringDepth | Use this property to set the number of bits that will contain the dithering noise. |
| DitheringAlgorithm | |
| TAudioConverter | Descends from TAuConverter. |
| Properties | |
| Mode | Mode property affects the way the mono stream is converted into stereo. |
| OutBitsPerSample | Use this property to set the number of bits per sample in the resulting audio stream. |
| OutChannels | Use this property to set the number of channels in the resulting audio stream. |
| TACMConverter | Descends from TAuConverter, an ACM-based converter. |
| Properties | |
| OutBitsPerSample | Use this property to set the number of bits per sample in the resulting audio stream. |
| OutChannels | Use this property to set the number of channels in the resulting audio stream. |
| OutSampleRate | Use this property to set thesample rate of the resulting audio stream. |
Descends from TAuConverter. TRateConverter is an audio resampler. It uses windowed sinc kernel for changing audio sample rate and supports only 16-bit input. This component is kept for backward compatibility. In new projects it is recommended to use other resampler components instead.
| Properties | |
| FilterWindow | Use this property to set the window type for the filter. |
| KernelWidth | Use this property to set the width of the sinc kernel in points. |
| OutSampleRate | Use this property to set the output sample rate. |
Descends from TAuConverter. TNormalizer scales audio data so that the highest peak in data is mapped to the maximum sample value avaiable.
| Properties | |
| StoreMode | TNormalizer needs a preprocessing data stage. |
| TmpFileName | The name of the temporary file that stores intermediate data in the nsmFile mode. |
| Enabled | If this property is set to False the component passes data through without scaling. |
TNormalizer needs a preprocessing data stage. Depending on the StoreMode value the component can work in several modes.
Descends from TAuConverter. TDitherer converter adds dithering noise to the audio data passing through it. Dithering is usefull when performing audio samples truncation (with TAudioConverter for example) and other DSP operatins that involve rounding off. TDitherer uses seeveral dithering algorithms but none of them is perfect. I will be grateful for any dithering algorithms additions. If you want to use TDitherer together with TAudioConverter you should place it before TAudioConverter in the audio-processing chain.
| Properties | |
| DitheringDepth | Use this property to set the number of bits that will contain the dithering noise. |
| DitheringAlgorithm |
Use this property to set the number of bits that will contain the dithering noise. For example, if you want to truncate audio samples from 24 bits per sample to 16 bits, set this value to 8. If the DitheringDepth value is set to 0 (the default value), the component switches to pass-through mode in which audio data will be passed through unmodified.
Descends from TAuConverter. TAudioConverter component may be used for changing the number of channels and number of bits per sample in an audio stream.
| Properties | |
| Mode | Mode property affects the way the mono stream is converted into stereo. |
| OutBitsPerSample | Use this property to set the number of bits per sample in the resulting audio stream. |
| OutChannels | Use this property to set the number of channels in the resulting audio stream. |
Mode property affects the way the mono stream is converted into stereo. If mode is msmMonoToBoth (which is the default) the data from the mono channel is copied into both stereo channels. If the mode is msmMonoToLeft or msmMonoToRight the data from the mono channel is put to one of the stereo channels while the other channel plays silence.
Use this property to set the number of channels in the resulting audio stream. The valid values are 0, 1 (mono), and 2 (stereo). If the property is set to 0 (the default value) the converter preserves the original stream’s number of channels. If the number of input channels is greater than 2 the component cannot change it. Only number of bits per sample can be changed in this case.
Descends from TAuConverter, an ACM-based converter. It may be used for changing the number of channels and number of bits per sample in an audio stream and resampling audio (at low quality). Unlike TAudioConverter, TACMConverter doesn’t work with 24 bps audio streams.
| Properties | |
| OutBitsPerSample | Use this property to set the number of bits per sample in the resulting audio stream. |
| OutChannels | Use this property to set the number of channels in the resulting audio stream. |
| OutSampleRate | Use this property to set thesample rate of the resulting audio stream. |