vibrato Signal Generators:Basic Oscillators vibrato vibrato Generates a natural-sounding user-controllable vibrato. Description Generates a natural-sounding user-controllable vibrato. Syntax kout vibrato kAverageAmp, kAverageFreq, kRandAmountAmp, kRandAmountFreq, kAmpMinRate, kAmpMaxRate, kcpsMinRate, kcpsMaxRate, ifn [, iphs Initialization ifn -- Number of vibrato table. It normally contains a sine or a triangle wave. iphs -- (optional) Initial phase of table, expressed as a fraction of a cycle (0 to 1). A negative value will cause phase initialization to be skipped. The default value is 0. Performance kAverageAmp -- Average amplitude value of vibrato kAverageFreq -- Average frequency value of vibrato (in cps) kRandAmountAmp -- Amount of random amplitude deviation kRandAmountFreq -- Amount of random frequency deviation kAmpMinRate -- Minimum frequency of random amplitude deviation segments (in cps) kAmpMaxRate -- Maximum frequency of random amplitude deviation segments (in cps) kcpsMinRate -- Minimum frequency of random frequency deviation segments (in cps) kcpsMaxRate -- Maximum frequency of random frequency deviation segments (in cps) vibrato outputs a natural-sounding user-controllable vibrato. The concept is to randomly vary both frequency and amplitude of the oscillator generating the vibrato, in order to simulate the irregularities of a real vibrato. In order to have a total control of these random variations, several input arguments are present. Random variations are obtained by two separated segmented lines, the first controlling amplitude deviations, the second the frequency deviations. Average duration of each segment of each line can be shortened or enlarged by the arguments kAmpMinRate, kAmpMaxRate, kcpsMinRate, kcpsMaxRate, and the deviation from the average amplitude and frequency values can be independently adjusted by means of kRandAmountAmp and kRandAmountFreq. Examples Here is an example of the vibrato opcode. It uses the file vibrato.csd. Example of the vibrato opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Basic Oscillators Credits Author: &namegabriel; New in Version 4.15