mrcrowbar.lib.audio.base module¶
-
class
mrcrowbar.lib.audio.base.Wave(parent, source, channels, sample_rate, format_type, field_size, signedness, endian)[source]¶ Bases:
mrcrowbar.views.ViewView 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.
-
channels¶
-
endian¶
-
field_size¶
-
format_type¶
-
print(*args, **kwargs)[source]¶ Print the graphical version of the results produced by ansi_format().
-
sample_rate¶
-
signedness¶
-
source¶