Variable

Read with AI
All docs in one file (llms-full.txt)

Nodes that hold a value and send it on. 6 in total: three that hold a single value, and three that hold a list.

Use them as the origin point for reusing the same value over and over in the graph, or as an outlet that re-sends a value in time with the beat.

Single values (3)

NodeTypePorts
FloatDecimalIn / TriggerOut
IntIntegerIn / TriggerOut
StringStringIn / TriggerOut

All three have the same structure.

  • When a value arrives at In, the held value is updated and flows straight to Out
  • Typing directly into the input field on the node without connecting In works the same way
  • Trigger pushes the currently held value out to Out once more

Trigger does not stop the value. If In moves, Out moves without you hitting Trigger. Trigger is for “sending the current value downstream once more, at this moment”. It is the same idea as Trigger in Math.

Arrays (3)

NodeTypePorts
FloatArrayList of decimalsIndexValue
IntArrayList of integersIndexValue
StringArrayList of stringsIndexValue

You edit the contents of the list on the node (+ Add to add an entry; edit or delete from each row’s input field). The element at position Index comes out of Value.

Index wraps (it is not clamped)

An Index beyond the number of elements wraps around to the start using modulo.

int m = indexInput.Value % n;
return m < 0 ? m + n : m;   // 負の Index も末尾側へ回り込む

So with three elements, an Index of 3 gives element 0, 4 gives element 1, and -1 gives element 2. Plug in Counter from Operation directly and you get a sequencer that cycles without you having to worry about an upper limit.

When the list is empty, the default value (0 for Float) is explicitly sent so that no stale value is left downstream.

  • Color has moved to the Color category, and BPM (Global Tempo) to the Tempo category
  • Nodes that process values are in Math, and testing and branching in Operation

Pages linking here

Also referenced from