Envelope Sampler Node

🔧 Experimental Feature - Available with AudioNodes HD

The Envelope Sampler Node is a low level sampler that does one thing: takes an envelope and a time value as its inputs, and then outputs the value sampled from the envelope at the provided time.


How to Use

The Envelope Sampler Node requires a control signal to control the current sample being output. Think of it as the playback head for the envelope being sampled.

One of the most basic ways to use this Node is to connect a gradually increasing signal to its Time Input, which achieves linear forward “playback” of the envelope. The Timer Node is a good example of a Node that can output such a signal.

If you then multiply that control signal with a value larger than 1, playback will speed up, because time now progresses faster. Or, with a gradually decreasing signal, you get linear reverse playback. Give it something more extreme, like the output of an Oscillator Node, and you’ll quickly start to hear very interesting results. In this sense it can also act as a waveshaper, similar to the Waveshaper Node.


Inputs

Envelope Input

A data input that expects an envelope, typically from an Envelope Param Node. This is the envelope that gets sampled.

Time Input

A control signal that marks which sample to output. The value is in seconds, into the envelope. See the How to Use section for examples.


Outputs

Control Output

A control signal containing the sampled value from the input envelope precisely at the value indicated by the Time Input. If the Time Input’s value does not precisely fit on a sample, the Envelope Sampler Node automatically performs interpolation for a smooth playback.

If the Time Input is less than 0, or greater than 1, or if there is no input envelope provided, the output will be 0.

The channel count of this output is always 1.