Procedure Call

Execute (call) a procedure defined by a procedure module. See procedures.

Settings

procedure name

Name of the procedure to define or to call.

name suffix

Defines if a suffix is added automatically at the end of the name to produce names like PROCEDURE-1, PROCEDURE-2,etc.

  • no suffix
  • poly voice num: number of the voice in a polyphonic sub-patch.
  • rack num: number of the current rack.
  • patch num: number of the current patch.

thread mode

Execution mode of the procedure.

  • immediate: the procedure is call immediately after a trigger is received on the execute once input. The procedure is executed in the thread of the patch.
  • thread: the procedure creates a separated thread with a low priority and is executed quickly after a trigger is received on the execute once but not immediately. Recommended for heavy calculation.
  • exclusive: the procedure creates a separated thread with a low priority and is executed after a trigger is received on the execute once only if the main process thread of Usine is unoccupied.

loop count

Number of time the procedure is executed. For example, to fill an array it will be the size of the array.

execute once

Executes the procedure when a trigger is received.

mode

  • manual (trigger button): executed when a execute-one trigger is received,
  • always (infinite loop): The procedure is executed indefinitely (endless loop),
  • automatic (on params changed): is executed automaticalliy when any input parameter or loop-count has changed.

processing

Send a 1 value when the procedure is executing.

Useful only if mode=thread.

finished

Send a 1 value when the procedure has finished his execution.

Useful only if mode=thread.

process time

Amount of the procedure takes to be executed in milliseconds.

refresh

Can be used to refresh the list of in/out parameters in case of the procedure definition has changed.

See also

version 6.0.240115

Edit All Pages