Get shape of the entire audio samples. Returns ------- (int, int) The number of channels, and the number of samples in each channel.
(self)
| 114 | |
| 115 | @property |
| 116 | def shape(self): |
| 117 | """Get shape of the entire audio samples. |
| 118 | |
| 119 | Returns |
| 120 | ------- |
| 121 | (int, int) |
| 122 | The number of channels, and the number of samples in each channel. |
| 123 | |
| 124 | """ |
| 125 | return (self._num_channels, self._num_samples_per_channel) |
| 126 | |
| 127 | def duration(self): |
| 128 | """Get duration of the audio. |
no outgoing calls