Debian Codegraph @

opcodes/STKDrummer.xml

raw symbols SCIP
1 <refentry id="STKDrummer">
2 <indexterm id="IndexStkdrummer"><primary>STKDrummer</primary></indexterm>
3 <refentryinfo><title>Signal Generators:STK Opcodes</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>STKDrummer</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>STKDrummer</refname>
10 <refpurpose>
11 STKDrummer is a drum sampling synthesizer.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>Plugin opcode in stkopd. This opcode is part of the plugin repository and has to be installed separately.
18 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
19 <para>
20 STKDrummer is a drum sampling synthesizer using raw waves and one-pole filters,
21 The drum rawwave files are sampled at 22050 Hz, but will be appropriately interpolated for other sample rates.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>asignal <command>STKDrummer</command> ifrequency, iamplitude</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>ifrequency</emphasis> -- Samples being played.
34 </para>
35
36 <para>
37 <emphasis>iamplitude</emphasis> -- Amplitude of note played (range 0-1).
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <note>
43 <title>Note</title>
44 <para>
45 The code for this opcode is taken directly from the Drummer class in the Synthesis Toolkit in C++ by Perry R. Cook and Gary P. Scavone. More on the STK classes can be found here:
46 <ulink url="https://ccrma.stanford.edu/software/stk/classes.html"><citetitle>https://ccrma.stanford.edu/software/stk/classes.html</citetitle></ulink>
47 </para>
48 </note>
49 </refsect1>
50
51 <refsect1>
52 <title>Examples</title>
53 <para>
54 Here is an example of the STKDrummer opcode. It uses the file <ulink url="examples/STKDrummer.csd"><citetitle>STKDrummer.csd</citetitle></ulink>.
55
56 <example>
57 <title>Example of the STKDrummer opcode.</title>
58 <xi:include href="examples-xml/STKDrummer.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
59 </example>
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>See also</title>
65 <para><link linkend="STKTop"><citetitle>STK Opcodes</citetitle></link></para>
66 </refsect1>
67
68 <refsect1>
69 <title>Credits</title>
70 <para>
71 <simplelist>
72 <member>Author: &namemichael; (after &nameperry;)</member>
73 <member>Irreducible Productions</member>
74 <member>New York, NY</member>
75 </simplelist>
76 </para>
77 <para>New in Csound version 5.11</para>
78 </refsect1>
79 </refentry>
80