module RemiAudio::Formats
Overview
The Formats module contains routines and types for reading and writing various formats of audio. This does not include audio codecs.
Defined in:
remiaudio/formats/au.crremiaudio/formats/audiofile.cr
remiaudio/formats/wav.cr
Constant Summary
-
AU_MAX_CHANNELS =
2
-
The maximum supported number of channels for Au files.
-
AU_MAX_SAMPLE_RATE =
352800
-
The maximum supported sample rate for Au files.
-
AU_MIN_CHANNELS =
1
-
The minimum supported number of channels for Au files.
-
AU_MIN_SAMPLE_RATE =
8000
-
The minimum supported sample rate for Au files.
-
AU_SUPPORTED_FLOAT_BIT_DEPTHS =
[32, 64]
-
An array of all the bit depths in Au files that are supported by this library for float samples.
-
AU_SUPPORTED_INT_BIT_DEPTHS =
[8, 16, 24, 32, 64]
-
An array of all the bit depths in Au files that are supported by this library for integer samples.
-
WAV_MAX_CHANNELS =
24
-
The highest number of channels in RIFF WAVE files supported by this library.
-
WAV_MAX_SAMPLE_RATE =
352800
-
The highest sample rate in RIFF WAVE files supported by this library.
-
WAV_MIN_CHANNELS =
1
-
The lowest number of channels in RIFF WAVE files supported by this library.
-
WAV_MIN_SAMPLE_RATE =
8000
-
The lowest sample rate in RIFF WAVE files supported by this library.
-
WAV_SUPPORTED_FLOAT_BIT_DEPTHS =
[32, 64]
-
An array of all the bit depths in RIFF WAVE files that are supported by this library for float samples.
-
WAV_SUPPORTED_INT_BIT_DEPTHS =
[8, 16, 24, 32, 64]
-
An array of all the bit depths in RIFF WAVE files that are supported by this library for integer samples.