vibr
Prev | Orchestra Opcodes and Operators | Next

## vibr

vibr — Easier-to-use user-controllable vibrato.

## Description

Easier-to-use user-controllable vibrato.

## Syntax

    kout vibr kAverageAmp, kAverageFreq, ifn

## Initialization

ifn -- Number of vibrato table. It normally contains a sine or a triangle wave.

## Performance

kAverageAmp -- Average amplitude value of vibrato

kAverageFreq -- Average frequency value of vibrato (in cps)

vibr is an easier-to-use version of vibrato. It has the same generation-engine of vibrato, but the parameters corresponding to missing input arguments are hard-coded to default values.

## Examples

Here is an example of the vibr opcode. It uses the file vibr.csd.

Example 1170. Example of the vibr opcode.

See the sections Real-time Audio and Command Line Flags for more information on using command line flags.

    <CsoundSynthesizer>
    <CsOptions>
    ; Select audio/midi flags here according to platform
    -odac      ;;;realtime audio out
    ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
    ; For Non-realtime ouput leave only the line below:
    ; -o vibr.wav -W ;;; for file output any platform
    </CsOptions>
    <CsInstruments>

    sr = 44100
    ksmps = 32
    nchnls = 2
    0dbfs  = 1

    instr 1

    kaverageamp  init 500
    kaveragefreq init 4
    kvib vibr kaverageamp, kaveragefreq, 1
    asig poscil .8, 220+kvib, 1		;add vibrato
         outs asig, asig

    endin
    </CsInstruments>
    <CsScore>
    f 1 0 16384 10 1       ;sine wave

    i 1 0 10

    e
    </CsScore>
    </CsoundSynthesizer>

## See Also

jitter, jitter2, vibrato

## Credits

Author: Gabriel Maldonado

New in Version 4.15

Prev | Up | Next
vibes | Home | vibrato