Wavetable
9 nodes
On this page 9
Frame Length
FunctionSamples in one frame: 2048, the size Serum and Vital use, enough for 1024 harmonics.
FrameLength() -> Integer
int FrameLength()
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
Maximum Frames
FunctionThe most frames a table may hold.
MaximumFrames() -> Integer
int MaximumFrames()
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
Frame Count
FunctionHow many frames it morphs through.
FrameCount(Wavetable: Wavetable) -> Integer
int FrameCount(Wavetable Wavetable)
Parameters
| name | type | default | description |
|---|---|---|---|
| Wavetable | Wavetable | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
Name
FunctionA name for the table, as it is shown.
Name(Wavetable: Wavetable) -> Text
string Name(Wavetable Wavetable)
Parameters
| name | type | default | description |
|---|---|---|---|
| Wavetable | Wavetable | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
To String
FunctionThis node carries no documentation.
ToString(Wavetable: Wavetable) -> Text
string ToString(Wavetable Wavetable)
Parameters
| name | type | default | description |
|---|---|---|---|
| Wavetable | Wavetable | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
From Clip
FunctionA table cut from a recording: consecutive runs of Cycle Length samples, each one frame - the layout wavetable files from Serum and Vital use when Cycle Length is 2048. Each run is resampled to Wavetable.FrameLength, and the whole table is scaled so its loudest frame peaks at 1.
FromClip(clip: AudioBuffer, cycleLength: Integer) -> Wavetable
Wavetable FromClip(AudioBuffer clip, int cycleLength = 2048)
Parameters
| name | type | default | description |
|---|---|---|---|
| clip | AudioBuffer | — | The recording, mixed to mono. |
| cycleLength | Integer | 2048 | Samples in one frame of the recording. |
Returns
| result | Wavetable |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
From Cycles
FunctionA table from frames already drawn, each any length: resampled to Wavetable.FrameLength and used at the level given.
FromCycles(frames: IReadOnlyList<Low Accuracy Number Array>) -> Wavetable
Wavetable FromCycles(IReadOnlyList<float[]> frames)
Parameters
| name | type | default | description |
|---|---|---|---|
| frames | IReadOnlyList<Low Accuracy Number Array> | — | Single cycles. |
Returns
| result | Wavetable |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
From Harmonics
FunctionA table from the amplitudes of its harmonics: First is the first frame's, Last the last's, and the frames between morph from one spectrum to the other. The amplitudes are used as given - a single 1 is a sine of amplitude 1.
FromHarmonics -> Wavetable
first: IReadOnlyList<Number>
last: IReadOnlyList<Number>
frames: IntegerWavetable FromHarmonics(
IReadOnlyList<double> first,
IReadOnlyList<double> last,
int frames = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| first | IReadOnlyList<Number> | — | The amplitude of the fundamental, the second harmonic, the third and so on. |
| last | IReadOnlyList<Number> | — | The last frame's amplitudes; the same as the first when not given. |
| frames | Integer | 1 | How many frames from first to last. |
Returns
| result | Wavetable |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing
Basic Shapes
FunctionFour frames - sine, triangle, saw and square - so sweeping the position walks from the purest tone to the buzziest, the table most synthesizers open with.
BasicShapes() -> Wavetable
Wavetable BasicShapes()
Returns
| result | Wavetable |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Wavetable
- Package
- Audio Processing