mincer
Prev | Orchestra Opcodes and Operators | Next

## mincer

mincer — Phase-locked vocoder processing.

## Description

mincer implements phase-locked vocoder processing using function tables containing sampled-sound sources, with GEN01, and mincer will accept deferred allocation tables.

This opcode allows for time and frequency-independent scaling. Time is controlled by a time index (in seconds) to the function table position and can be moved forward and backward at any chosen speed, as well as stopped at a given position ("frozen"). The quality of the effect is generally improved with phase locking switched on.

mincer will also scale pitch, independently of frequency, using a transposition factor (k-rate).

## Syntax

    asig mincer atimpt, kamp, kpitch, klock, ktab[,ifftsize,idecim]

## Initialization

ifftsize -- FFT size (power-of-two), defaults to 2048.

idecim -- decimation, defaults to 4 (meaning hopsize = fftsize/4)

## Performance

atimpt -- time position of current audio sample in secs. Table reading wraps around the ends of the function table.

kamp -- amplitude scaling

kpitch -- grain pitch scaling (1=normal pitch, < 1 lower, > 1 higher; negative, backwards)

klock -- 0 or 1, to switch phase-locking on/off

ktab -- source signal function table. Deferred-allocation tables (see GEN01) are accepted, but the opcode expects a mono source. Tables can be switched at k-rate.

## Examples

Example 374. Example

    idur = p3
    ilock = p4
    itab = 1
    ipitch = 1
    itimescale = 0.5
    iamp = 0.5

    atime     line   0,idur,idur*itimescale
    a1        mincer atime,iamp,ipitch,itab,ilock

        out a1

## Credits

Author: Victor Lazzarini
February 2010

New plugin in version 5.13

February 2005.

Prev | Up | Next
minaccum | Home | mirror