processing

window_grains_sin(grains=[])

Util used to window an array of audio with half a sine wave

Parameters

grains (array(array)) – An array of audio buffers that contain audio data to be windowed

Returns

An array of the same shape as the input, but windowed

Return type

array(array)

window_grains_tri(grains=[])

Util used to window an array of audio with half a triangle wave

Parameters

grains (array(array)) – An array of audio buffers that contain audio data to be windowed

Returns

An array of the same shape as the input, but windowed

Return type

array(array)