ConvertAudio
From Avisynth wiki
(Difference between revisions)
m (1 revision) |
(add link to avs+ documentation) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <div style="max-width:62em" > | |
| − | + | <div {{BlueBox2|40|0|3px solid purple}} > | |
| + | {{AvsPlusFullname}}<br> | ||
| + | Up-to-date documentation: [https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/convertaudio.html https://avisynthplus.readthedocs.io] | ||
| + | </div> | ||
| − | + | ||
| + | {{Func4Def | ||
| + | |ConvertAudioTo8bit(clip ''clip'') | ||
| + | |ConvertAudioTo16bit(clip ''clip'') | ||
| + | |ConvertAudioTo24bit(clip ''clip'') | ||
| + | |ConvertAudioTo32bit(clip ''clip'') | ||
| + | }} | ||
| + | |||
| + | *Convert the audio sample type to 8, 16, 24 and 32 integer bits, respectively. | ||
| + | |||
| + | |||
| + | {{FuncDef | ||
| + | |ConvertAudioToFloat(clip ''clip'') | ||
| + | }} | ||
| + | |||
| + | *Convert the audio sample type to 32-bit [[Float]]. | ||
| + | |||
| + | |||
| + | The sample types supported by the AviSynth audio filters are listed [[Internal_filters#Audio_processing_filters|here]], in the '''Sample type''' column. If a filter doesn't support the type of sample it is given, it will either throw an error or automatically convert the samples to a supported type. | ||
| + | </div> | ||
[[Category:Internal filters]] | [[Category:Internal filters]] | ||
| + | [[Category:Audio_filters]] | ||
Latest revision as of 04:18, 18 September 2022
AviSynth+
Up-to-date documentation: https://avisynthplus.readthedocs.io
ConvertAudioTo8bit(clip clip)
ConvertAudioTo16bit(clip clip)
ConvertAudioTo24bit(clip clip)
ConvertAudioTo32bit(clip clip)
- Convert the audio sample type to 8, 16, 24 and 32 integer bits, respectively.
ConvertAudioToFloat(clip clip)
- Convert the audio sample type to 32-bit Float.
The sample types supported by the AviSynth audio filters are listed here, in the Sample type column. If a filter doesn't support the type of sample it is given, it will either throw an error or automatically convert the samples to a supported type.