10.1.1.1. AudioFormat

class Musica.Audio.AudioFormat.AudioFormat(metadata, channels)[source]

Bases: object

channel(i, as_float=False)[source]
classmethod open(path)[source]
spectrum(channel, **kwargs)[source]
__extensions__ = None
_logger = <Logger Musica.Audio.AudioFormat.AudioFormat (DEBUG)>
metadata
class Musica.Audio.AudioFormat.AudioFormatMetaclass(class_name, base_classes, attributes)[source]

Bases: type

static __new__(class_name, base_classes, attributes)[source]
classmethod get(extension)[source]
__extensions__ = {'wav': <class 'Musica.Audio.Wave.WaveFormat'>}
_logger = <Logger Musica.Audio.AudioFormat.AudioFormatMetaclass (DEBUG)>
class Musica.Audio.AudioFormat.AudioFormatMetadata(number_of_channels, sampling_frequency, bits_per_sample)[source]

Bases: object

sample_to_time(i)[source]
time_to_sample(t)[source]
bits_per_sample
float_scale
number_of_channels
sampling_frequency
time_resolution