Waveform.get_unchecked_sample()¶
- Waveform.get_unchecked_sample(frame_idx, channel_idx)¶
Return a given audio sample belonging to a specific frame and channel, without performing any bounds checks.
If you want bounds checking, use the
get_sample()
method.- Parameters
frame_idx – The index of the given frame to query.
channel_idx – the index of the given channel to query.
- Returns
Returns
None
ifframe_idx
orchannel_idx
is out-of-bounds. Otherwise, it returns an Audio sample as a native Python 64-bitfloat
value.