Skip to main content

wavesetshuffle

wavesetshuffle(
@maxdist 1
@span 1
) -> llll

Generates an audio process operation for applying waveset shuffling to a buffer.


Arguments

  • @maxdist [int]: maximum shuffling distance. (default: 1).
  • @span [int]: number of negative-to-positive zero crossing regions that form a waveset. (default: 1).

Output

waveset shuffle operation [llll]


Usage

wavesetshuffle is meant to be used with the process function:

$buffer = importaudio('singing.wav'); ## input buffer
$op = wavesetshuffle(); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.inspect('after wavesetshuffle process')