Module xSampleBufferOperation

Static methods for processing sample buffers .

About

Use this class to * Automatically prepare/finalize buffer before/after processing * Keep keyzones and phrases intact while creating new/temp sample [1] * Keep/copy basic sample properties like transpose, fine-tune etc. * Retain/restore selection size, loop range and zoom settings * TODO Run multiple concurrent operations (process slicing) a sample via the Renoise API can result in changes to the keyzone and/or phrases, due to the creation of a temporary sample. This class can automatically detect such changes and retain the original values.

How to use

This class exposes just one public function, run()

Arguments

The arguments you provide contain callbacks that are used for handling both errors, and to provide return values.

Functions

run (args) execute operations (start processing)
_prepare (args) prepare for changes, create new/temp buffer
_finalize (args, temp) copy from new buffer, (optionally) remove and finalize changes


Functions

run (args)
execute operations (start processing)

Parameters:

  • args
_prepare (args)
prepare for changes, create new/temp buffer

Parameters:

  • args
_finalize (args, temp)
copy from new buffer, (optionally) remove and finalize changes

Parameters:

  • args
  • temp
generated by LDoc 1.4.2