Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > b707d9a4ee443103660a75ccb6e51334 > files > 2872

csound-doc-5.19.01-10.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>vstprogset</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.76.1" />
    <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" />
    <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" />
    <link rel="prev" href="vstparamset.html" title="vstparamset,vstparamget" />
    <link rel="next" href="vsubv.html" title="vsubv" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">vstprogset</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="vstparamset.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="vsubv.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="vstprogset">
      <a id="vstprogset"></a>
      <div class="titlepage"></div>
      <a id="IndexVstProgSet" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">vstprogset</span>
        </h2>
        <p>vstprogset — 
      Loads parameter banks to a VST plugin.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="idp53143088"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>vstprogset</strong></span> instance, kprogram</pre>
      </div>
      <div class="refsect1" title="Description">
        <a id="idp53171008"></a>
        <h2>Description</h2>
        <p>
      <span class="emphasis"><em>vstprogset</em></span> sets one of the programs in an
      <code class="filename">.fxb</code> bank.
    </p>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="idp53172216"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>instance</em></span> - the number which identifies the
      plugin, to be passed to other vst4cs opcodes.
    </p>
        <p><span class="emphasis"><em>kprogram</em></span> - the number of the program to set.</p>
      </div>
      <div class="refsect1" title="Examples">
        <a id="idp53173504"></a>
        <h2>Examples</h2>
        <div class="example">
          <a id="idp53173840"></a>
          <p class="title">
            <strong>Example 979. Usage of vstprogset</strong>
          </p>
          <div class="example-contents">
            <p>
        </p>
            <pre class="programlisting">
<span class="comment">/* orc */</span>
<span class="ohdr">sr</span>     <span class="op">=</span> 44100
<span class="ohdr">kr</span>     <span class="op">=</span> 4410
<span class="ohdr">ksmps</span>  <span class="op">=</span> 10
<span class="ohdr">nchnls</span> <span class="op">=</span> 2

gihandle1 <span class="opc">vstinit</span> "c:/vstplugins/cheeze/cheeze machine.dll", 1

<span class="oblock">instr</span> 4
  <span class="opc">vstbankload</span>  gihandle1,"c:/vstplugins/cheeze/chengo'scheese.fxb"
  <span class="opc">vstprogset</span>   gihandle1, 4
  <span class="opc">vstinfo</span>      gihandle1
<span class="oblock">endin</span>

<span class="comment">/* sco */</span>
<span class="stamnt">i</span> 3 0 21
<span class="stamnt">i</span> 4 1 1 57 32
<span class="stamnt">e</span></pre>
            <p>
      </p>
          </div>
        </div>
        <br class="example-break" />
      </div>
      <div class="refsect1" title="Credits">
        <a id="idp53181336"></a>
        <h2>Credits</h2>
        <p>By: Andrés Cabrera and Michael Gogins</p>
        <p>
      Uses code from Hermann Seib's VSTHost and Thomas Grill's vst~
      object.
    </p>
        <p>
      VST is a trademark of Steinberg Media Technologies GmbH. 
      VST Plug-In Technology by Steinberg.
    </p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="vstparamset.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="OpcodesTop.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="vsubv.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">vstparamset,vstparamget </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> vsubv</td>
        </tr>
      </table>
    </div>
  </body>
</html>