mrcrowbar.lib.audio.base module¶
- class mrcrowbar.lib.audio.base.Wave(parent, source, channels, sample_rate, format_type, field_size, signedness, endian)[source]¶
Bases:
View
View for for accessing PCM wave audio.
- parent
Parent object.
- source
Raw audio data, in bytes.
- channels
Number of audio channels.
- sample_rate
Playback sample rate, in Hz.
- format_type
Python type corresponding to the sample format. Either int or float.
- field_size
Number of bytes per sample.
- signedness
Signedness of sample format. Either ‘signed’ or ‘unsigned’.
- endian
Endianness of sample format. Either ‘big’, ‘little’ or None.
- property channels¶
- property endian¶
- property field_size¶
- property format_type¶
- print(*args, **kwargs)[source]¶
Print the graphical version of the results produced by ansi_format().
- property sample_rate¶
- property signedness¶
- property source¶