get_output_as_nparray#

XtractTonal.get_output_as_nparray()#

Get the output of the tonal analysis as NumPy arrays.

Returns:
:
Tuple[npt.ArrayLike, npt.ArrayLike]

Tonal and non-tonal signals as a tuple in NumPy arrays.

Return type:

Tuple[Union[Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], Union[Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]]