Convolve:
Filter:
Convolve (extension) | Undocumented classes

Convolve
ExtensionExtension

Language-Side File and Buffer Convolution

Description

Sometimes you just want to Convolve two Files or Buffers

Takes two files or two buffers and returns a buffer which is a convolution of the two. Works with mono and stereo sources and sound files of almost any duration.

Uses Signal.convolve from the SignalBox Quark. Thanks to Jo Anderson for that excellent extension.

Class Methods

.fileConvolve

Arguments:

server

The server on which to load the buffers. Will boot the

source

A sound file of any duration, up to two channels. The output should be able to be up to 2**27 frames.

impulse

A sound file of any duration, up to two channels. The output should be able to be up to 2**27 frames.

action

The function to be completed when the process is done. The function will be passed the convolved buffer.

.bufConvolve

Arguments:

server

The server on which to load the buffers. Will boot the

source

A buffer of any duration, up to two channels. The output should be able to be up to 2**27 frames.

impulse

A buffer of any duration, up to two channels. The output should be able to be up to 2**27 frames.

action

The function to be completed when the process is done. The function will be passed the convolved buffer.

.convBuf

Access to the convolved buffer once the process has completed. Will be overwritten on the next convolution process.

.convArray

Access to the convolved array channels once the process has completed. Will be overwritten on the next convolution process.

Examples