forked from csound/manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ampdbfs.xml
60 lines (51 loc) · 2.14 KB
/
ampdbfs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<refentry id="ampdbfs">
<indexterm id="IndexAmpdbfs"><primary>ampdbfs</primary></indexterm>
<refentryinfo><title>Mathematical Operations:Amplitude Functions</title></refentryinfo>
<refmeta>
<refentrytitle>ampdbfs</refentrytitle>
</refmeta>
<refnamediv>
<refname>ampdbfs</refname>
<refpurpose>
Returns the amplitude equivalent (in 16-bit signed integer scale) of the full scale decibel (dB FS) value <emphasis>x</emphasis>.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>
Returns the amplitude equivalent of the full scale decibel (dB FS) value <emphasis>x</emphasis>. The logarithmic full scale decibel values will be converted to linear 16-bit signed integer values from −32,768 to +32,767.
</para>
</refsect1>
<refsect1>
<title>Syntax</title>
<synopsis><command>ampdbfs</command>(x) (no rate restriction)</synopsis>
</refsect1>
<refsect1>
<title>Examples</title>
<para>
Here is an example of the ampdbfs opcode. It uses the file <ulink url="examples/ampdbfs.csd"><citetitle>ampdbfs.csd</citetitle></ulink>.
<example>
<title>Example of the ampdbfs opcode.</title>
<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>
<xi:include href="examples-xml/ampdbfs.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
Its output should include lines like:
<screen>
instr 1: iamp = 29204.511
instr 1: iamp = 18426.801
instr 1: iamp = 16422.904
instr 1: iamp = 3276.800</screen>
</para>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
<link linkend="ampdb"><citetitle>ampdb</citetitle></link>,
<link linkend="dbamp"><citetitle>dbamp</citetitle></link>,
<link linkend="dbfsamp"><citetitle>dbfsamp</citetitle></link>,
<link linkend="Zerodbfs"><citetitle>0dbfs</citetitle></link>
</para>
<para>New in Csound version 4.10</para>
</refsect1>
</refentry>