Expand description
This module contains a lot of strong types for units and quantities that are audio related.
These types have their corresponding conversion functions that make sense for that particular
type. For example: a Seconds
object can be converted to a Samples
object
when given a SampleRate
value.
Structs
Represents a number of audio channels.
Represents a duration in the time domain, e.g. the length of a clip.
Represent a frequency in Hz.
Represents a latency in the audio domain.
Represents a percentage, e.g. the export progress.
Represents a sample rate (in Hz.).
Represents samples in the audio domain.
Represent seconds in audio domain.
Represents a time point in the audio domain, e.g. the start position of a file.
Has the correct conversions when adding/subtracting other types to/from it:
Represents a time section, e.g. the span of a clip in an arrangement.
Enums
Represents a bit depth for an audio file.