Pulse train generator
Name | Type | Opt | Description |
---|---|---|---|
inter-pulse-interval pulse-width and phase | float or int | opt | Initial values for inter-pulse interval in milliseconds (default 1000), pulse width (default 0.5), and phase (default 0). If signal objects are connected to any of the train~ object's inlets, the corresponding initial argument value is ignored. |
int | parameter-settings [int] |
Numbers can be used instead of signal objects to control period, pulse width, and phase. If a | is also connected to the inlet, and messages are ignored.
float | parameter-settings [float] |
Numbers can be used instead of signal objects to control period, pulse width, and phase. If a | is also connected to the inlet, and messages are ignored.
signal | In left inlet: Specifies the period (time interval between pulse cycles), in milliseconds, of a pulse train sent out the left outlet. In middle inlet: Controls the pulse width or duty cycle. The signal values represent a fraction of the pulse interval that will be devoted to the "on" part of the pulse (signal value of 1). A value of 0 has the smallest "on" pulse size (usually a single sample), while a value of 1 has the largest (usually the entire interval except a single sample). A value of 0.5 makes a pulse with half the time at 1 and half the time at 0. In right inlet: Sets the phase of the onset of the "on" portion of the pulse. A value of 0 places the "on" portion at the beginning of the interval, while other values (up to 1, which is the same as 0) delay the "on" portion by a fraction of the total inter-pulse interval. |