summaryrefslogtreecommitdiff
path: root/opcodes/vstprogset.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/vstprogset.xml')
-rw-r--r--opcodes/vstprogset.xml63
1 files changed, 38 insertions, 25 deletions
diff --git a/opcodes/vstprogset.xml b/opcodes/vstprogset.xml
index 203c9c2..99dd8db 100644
--- a/opcodes/vstprogset.xml
+++ b/opcodes/vstprogset.xml
@@ -7,58 +7,71 @@
<refnamediv>
<refname>vstprogset</refname>
- <refpurpose>Loads parameter banks to a VST plugin.
+ <refpurpose>
+ Loads parameter banks to a VST plugin.
</refpurpose>
</refnamediv>
+
<refsect1>
<title>Syntax</title>
<synopsis><command>vstprogset</command> instance, kprogram</synopsis>
</refsect1>
+
<refsect1>
<title>Description</title>
- <para><emphasis>vstprogset</emphasis> sets one of the programs in an <filename>.fxb</filename> bank.</para>
+ <para>
+ <emphasis>vstprogset</emphasis> sets one of the programs in an
+ <filename>.fxb</filename> bank.
+ </para>
</refsect1>
+
<refsect1>
<title>Initialization</title>
- <para><emphasis>instance</emphasis> - the number which identifies the
- plugin, to be passed to other vst4cs opcodes.</para>
+ <para>
+ <emphasis>instance</emphasis> - the number which identifies the
+ plugin, to be passed to other vst4cs opcodes.
+ </para>
<para><emphasis>kprogram</emphasis> - the number of the program to set.</para>
</refsect1>
+
<refsect1>
<title>Examples</title>
<example>
<title>Usage of vstprogset</title>
<para>
<programlisting>
-/* orc */
-sr = 44100
-kr = 4410
-ksmps = 10
-nchnls = 2
-giHandle1 vstinit "c:/vstplugins/cheeze/cheeze machine.dll",1
-instr 4
-vstbankload gihandle1,"c:/vstplugins/cheeze/chengo'scheese.fxb"
-vstprogset gihandle1, 4
-vstinfo gihandle1
-endin
+<emphasis role="comment">/* orc */</emphasis>
+<emphasis role="ohdr">sr</emphasis> <emphasis role="op">=</emphasis> 44100
+<emphasis role="ohdr">kr</emphasis> <emphasis role="op">=</emphasis> 4410
+<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 10
+<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 2
+gihandle1 <emphasis role="opc">vstinit</emphasis> "c:/vstplugins/cheeze/cheeze machine.dll", 1
+<emphasis role="oblock">instr</emphasis> 4
+ <emphasis role="opc">vstbankload</emphasis> gihandle1,"c:/vstplugins/cheeze/chengo'scheese.fxb"
+ <emphasis role="opc">vstprogset</emphasis> gihandle1, 4
+ <emphasis role="opc">vstinfo</emphasis> gihandle1
+<emphasis role="oblock">endin</emphasis>
-/* sco */
-i 3 0 21
-i4 1 1 57 32
-e
- </programlisting>
+<emphasis role="comment">/* sco */</emphasis>
+<emphasis role="stamnt">i</emphasis> 3 0 21
+<emphasis role="stamnt">i</emphasis> 4 1 1 57 32
+<emphasis role="stamnt">e</emphasis></programlisting>
</para>
</example>
</refsect1>
+
<refsect1>
<title>Credits</title>
<para>By: &nameandres; and &namemichael;</para>
- <para>Uses code from Hermann Seib's VSTHost and Thomas Grill's vst~
- object.</para>
- <para>VST is a trademark of Steinberg Media Technologies GmbH.
- VST Plug-In Technology by Steinberg.</para>
+ <para>
+ Uses code from Hermann Seib's VSTHost and Thomas Grill's vst~
+ object.
+ </para>
+ <para>
+ VST is a trademark of Steinberg Media Technologies GmbH.
+ VST Plug-In Technology by Steinberg.
+ </para>
</refsect1>
-
</refentry>