| 1 | |
| 2 | <refentry id="vibr"> |
| 3 | <indexterm id="IndexVibr"><primary>vibr</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Basic Oscillators</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>vibr</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>vibr</refname> |
| 13 | <refpurpose> |
| 14 | Easier-to-use user-controllable vibrato. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Easier-to-use user-controllable vibrato. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>kout <command>vibr</command> kAverageAmp, kAverageFreq, ifn</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>ifn</emphasis> -- Number of vibrato table. It normally contains a sine or a triangle wave. |
| 34 | </para> |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Performance</title> |
| 39 | <para> |
| 40 | <emphasis>kAverageAmp</emphasis> -- Average amplitude value of vibrato |
| 41 | </para> |
| 42 | |
| 43 | <para> |
| 44 | <emphasis>kAverageFreq</emphasis> -- Average frequency value of vibrato (in cps) |
| 45 | </para> |
| 46 | |
| 47 | <para> |
| 48 | <emphasis>vibr</emphasis> is an easier-to-use version of <link linkend="vibrato"><citetitle>vibrato</citetitle></link>. It has the same generation-engine of <emphasis>vibrato</emphasis>, but the parameters corresponding to missing input arguments are hard-coded to default values. |
| 49 | </para> |
| 50 | </refsect1> |
| 51 | |
| 52 | <refsect1> |
| 53 | <title>Examples</title> |
| 54 | <para> |
| 55 | Here is an example of the vibr opcode. It uses the file <ulink url="examples/vibr.csd"><citetitle>vibr.csd</citetitle></ulink>. |
| 56 | |
| 57 | <example> |
| 58 | <title>Example of the vibr opcode.</title> |
| 59 | |
| 60 | |
| 61 | |
| 62 | <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para> |
| 63 | <xi:include href="examples-xml/vibr.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 64 | </example> |
| 65 | </para> |
| 66 | </refsect1> |
| 67 | |
| 68 | <refsect1> |
| 69 | <title>See also</title> |
| 70 | <para><link linkend="SiggenBasic"><citetitle>Basic Oscillators</citetitle></link></para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Credits</title> |
| 75 | <para>Author: &namegabriel;</para> |
| 76 | <para>New in Version 4.15</para> |
| 77 | </refsect1> |
| 78 | </refentry> |