SIGOUT

From STX Wiki
Jump to navigationJump to search

SIGOUT - write signal

Usage:

SIGOUT SIG X1 .. X8

Inputs:
SIG
The name of a shell wave item. There is no default.
Xi
The signal to be stored in the channel i of the wave item. There is no default.
Outputs:
SR
The sampling rate in Hz.
I
The frame counter (0,1,...).
Function:

The SIGOUT atom can be used to write signals to a wave item (e.g. segment of a sound file). At each evaluation cycle, the inputs are stored at the current position (starts at 0) of the wave item and the position is incremented. At least one signal vector must be connected to an X input. If multiple vectors are connected, they must be of the same length. If an X input is a number vX, the value is expanded to a vector with elements <vX, vX, ..., vX> (constant signal) before it is stored. The value of the output SR is set during the initialization. The output I is initialized with 0 and incremented by 1 after each write cycle. This atom is used in all signal-processing methods producing an output signal (except in filters using one of the re-synthesis atoms).

Navigation menu

Personal tools