f audio (out of get_number_of_slices())


Returns

np.ndarray



audio as numpy array


Get slice of audio.

get_number_of_slices

<
source
>
(
)
→
int

Returns

int



number of spectograms audio can be sliced into


Get number of slices in audio.

get_sample_rate

<
source
>
(
)
→
int

Returns

int



sample rate of audio


Get sample rate:

image_to_audio

<
source
>
(
image: Image

)
→
audio (np.ndarray)

Parameters 

image (PIL Image) — x_