HISE Docs

TableProcessor

Create a script reference to a Modulator that uses a TableProcessor like the Table Envelope or the Velocity Modulator

You can create this object with

const var TableEnvelope1 = Synth.getTableProcessor("StringOfModulator")

or with right-clicking the top-bar of a modulator and selecting "Create typed Table script reference".

For a more fine-granular manipulation of a Table object take a look at Table

Class methods

addTablePoint

Adds a new table point (x and y are normalized coordinates). Edit on GitHub

TableProcessor.addTablePoint(int tableIndex, float x, float y)



exists

Checks if the Object exists and prints a error message on the console if not. Edit on GitHub

TableProcessor.exists()



exportAsBase64

Exports the state as base64 encoded string. Edit on GitHub

TableProcessor.exportAsBase64(int tableIndex)



getTable

Creates a ScriptTableData object for the given table. Edit on GitHub

TableProcessor.getTable(int tableIndex)



reset

Resets the table with the given index to a 0..1 line. Edit on GitHub

TableProcessor.reset(int tableIndex)



restoreFromBase64

Restores the state from a base64 encoded string. Edit on GitHub

TableProcessor.restoreFromBase64(int tableIndex,  String state)



setTablePoint

Sets the point with the given index to the values. Edit on GitHub

TableProcessor.setTablePoint(int tableIndex, int pointIndex, float x, float y, float curve)