| 1 | |
| 2 | <refentry id="sininv"> |
| 3 | <indexterm id="IndexSininv"><primary>sininv</primary></indexterm> |
| 4 | <refentryinfo><title>Mathematical Operations:Trigonometric Functions</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>sininv</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>sininv</refname> |
| 13 | |
| 14 | <refpurpose> |
| 15 | Performs an arcsine function. |
| 16 | </refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | <refsect1> |
| 20 | <title>Description</title> |
| 21 | <para> |
| 22 | Returns the arcsine of <emphasis>x</emphasis> (<emphasis>x</emphasis> in radians). |
| 23 | </para> |
| 24 | </refsect1> |
| 25 | |
| 26 | <refsect1> |
| 27 | <title>Syntax</title> |
| 28 | <synopsis><command>sininv</command>(x) (no rate |
| 29 | restriction)</synopsis> |
| 30 | <synopsis><command>sininv</command>(k/i[]) (k- or i-arrays)</synopsis> |
| 31 | </refsect1> |
| 32 | |
| 33 | <refsect1> |
| 34 | <title>Examples</title> |
| 35 | <para> |
| 36 | Here is an example of the sininv opcode. It uses the file <ulink url="examples/sininv.csd"><citetitle>sininv.csd</citetitle></ulink>. |
| 37 | |
| 38 | <example> |
| 39 | <title>Example of the sininv opcode.</title> |
| 40 | |
| 41 | |
| 42 | |
| 43 | <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> |
| 44 | <xi:include href="examples-xml/sininv.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 45 | </example> |
| 46 | |
| 47 | Its output should include a line like this: |
| 48 | <screen>instr 1: i1 = 0.524</screen> |
| 49 | </para> |
| 50 | </refsect1> |
| 51 | |
| 52 | <refsect1> |
| 53 | <title>See also</title> |
| 54 | <para><link linkend="MathTrig"><citetitle>Trigonometric Functions</citetitle></link></para> |
| 55 | </refsect1> |
| 56 | |
| 57 | <refsect1> |
| 58 | <title>Credits</title> |
| 59 | <para>Author: &namejohn;</para> |
| 60 | <para>New in version 3.48</para> |
| 61 | <para>Example written by &namekevin;.</para> |
| 62 | </refsect1> |
| 63 | </refentry> |