lice: int

)
→
PIL Image

Parameters 

slice (int) — slice number of audio to convert (out of get_number_of_slices())


Returns

PIL Image



grayscale image of x_res x y_res


Convert slice of audio to spectrogram.

get_audio_slice

<
source
>
(
slice: int = 0

)
→
np.ndarray

Parameters 

slice (int) — slice number of audio (out of get_number_of_slices())


Returns

np.ndarray



audio as numpy array


Get slice of audio.

get_number_of_slice