ipygame.sndarray
pygame-compatible sndarray module.
def array(sound) -> np.ndarraysamples
Section titled “samples”def samples(sound) -> np.ndarraymake_sound
Section titled “make_sound”def make_sound(array: np.ndarray) -> "Sound"use_arraytype
Section titled “use_arraytype”def use_arraytype(arraytype: str = "numpy") -> Noneget_arraytype
Section titled “get_arraytype”def get_arraytype() -> str