A newer version of Max is available. Click here to access the latest version of this document.

tapout~

Output from a delay line

Description

The outlet of a tapin~ object must be connected to the left inlet of tapout~ in order for the delay line to function.

The tapout~ object has one or more inlets and one or more outlets. A delay time signal or number received in an inlet affects the output signal coming out of the outlet directly below the inlet.

Arguments

Name Type Opt Description
initial-delay-time (milliseconds) float or int opt One or more initial delay times in milliseconds, one for each delay "tap" inlet-outlet pair desired. For example, the arguments 50 100 300 would create a tapout~ object with three independent "taps" corresponding to three inlets and three outlets. If a signal is connected to an inlet, the initial delay time corresponding to that inlet-outlet pair is ignored.

Messages

int delay-time (milliseconds) [int]
If a signal is not connected to an inlet of tapout~, a fixed delay algorithm is used, and a float or int received in the inlet sets the delay time of the signal coming out of the corresponding outlet. This may cause clicks to appear in the output when the delay time is changed. However, fixed delay is suitable for many applications such as reverberation where delay times do not change dynamically, and it is computationally less expensive than the continuous delay algorithm.
float delay-time (milliseconds) [float]
If a signal is not connected to an inlet of tapout~, a fixed delay algorithm is used, and a float or int received in the inlet sets the delay time of the signal coming out of the corresponding outlet. This may cause clicks to appear in the output when the delay time is changed. However, fixed delay is suitable for many applications such as reverberation where delay times do not change dynamically, and it is computationally less expensive than the continuous delay algorithm.
list delay-times-corresponding-to-outlets (milliseconds) [list]
In left inlet: Allows several fixed delay times to be changed at the same time. The first number in the list sets the delay time for the first outlet, and so on. If any inlets corresponding to list values have signals connected to them, the values are skipped.
tapconnect The word tapconnect will connect a tapout~ object to an available tapin~ object remotely.
signal If a signal is connected to an inlet of tapout~, the signal coming out of the outlet below it will use a continuous delay algorithm. Incoming signal values represent the delay time in milliseconds. If the signal increases slowly enough, the pitch of the output will decrease, while, if the signal decreases slowly, the pitch of the output will increase. The continuous delay algorithm is more computationally expensive than the fixed delay algorithm that is used when a signal is not connected to a tapout~ inlet.

Information for box attributes common to all objects

Output

signal: Each outlet of tapout~ corresponds to an individually controlled "tap" of a delay line written by the tapin~ object. The output signal coming out of a tapout~ outlet is the input to tapin~ delayed by the number of milliseconds specified by the numerical or signal control received in the inlet directly above the outlet.

Examples

tapout~ sends out the signal tapin~ receives delayed by some amount of time

See Also

Name Description
delay~ Delay line specified in samples or Max tempo-relative time format
tapin~ Input to a delay line
MSP Tutorial 27: Delay Lines MSP Tutorial 27: Delay Lines
MSP Tutorial 28: Delay Lines with Feedback MSP Tutorial 28: Delay Lines with Feedback
MSP Tutorial 29: Flanging MSP Tutorial 29: Flanging
MSP Tutorial 30: Chorus MSP Tutorial 30: Chorus