<?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>foutk</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <link rel="stylesheet" type="text/css" href="syntax-highlighting.css" /> <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /> <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="foutir.html" title="foutir" /> <link rel="next" href="fprintks.html" title="fprintks" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">foutk</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="foutir.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="fprintks.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry"> <a id="foutk"></a> <div class="titlepage"></div> <a id="IndexFoutk" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">foutk</span> </h2> <p>foutk — Outputs k-rate signals of an arbitrary number of channels to a specified file, in raw (headerless) format. </p> </div> <div class="refsect1"> <a id="idm281472929352376"></a> <h2>Description</h2> <p> <span class="emphasis"><em>foutk</em></span> outputs <span class="emphasis"><em>N</em></span> k-rate signals to a specified file of <span class="emphasis"><em>N</em></span> channels. </p> </div> <div class="refsect1"> <a id="idm281472929307576"></a> <h2>Syntax</h2> <pre class="synopsis"><span class="command"><strong>foutk</strong></span> ifilename, iformat, kout1 [, kout2, kout3,....,koutN]</pre> </div> <div class="refsect1"> <a id="idm281472929305496"></a> <h2>Initialization</h2> <p> <span class="emphasis"><em>ifilename</em></span> -- the output file's name (in double-quotes). </p> <p> <span class="emphasis"><em>iformat</em></span> -- a flag to choose output file format (note: Csound versions older than 5.0 may only support formats 0 and 1): </p> <div class="itemizedlist"> <ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <p>0 - 32-bit floating point samples without header (binary PCM multichannel file)</p> </li> <li class="listitem"> <p>1 - 16-bit integers without header (binary PCM multichannel file)</p> </li> <li class="listitem"> <p>2 - 16-bit integers without header (binary PCM multichannel file)</p> </li> <li class="listitem"> <p>3 - u-law samples without header</p> </li> <li class="listitem"> <p>4 - 16-bit integers without header</p> </li> <li class="listitem"> <p>5 - 32-bit integers without header</p> </li> <li class="listitem"> <p>6 - 32-bit floats without header</p> </li> <li class="listitem"> <p>7 - 8-bit unsigned integers without header</p> </li> <li class="listitem"> <p>8 - 24-bit integers without header</p> </li> <li class="listitem"> <p>9 - 64-bit floats without header</p> </li> </ul> </div> <p> </p> </div> <div class="refsect1"> <a id="idm281472929294408"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>kout1,...koutN</em></span> -- control-rate signals to be written to the file. The expected range of the signals is determined by the selected sample format. </p> <p> <span class="emphasis"><em>foutk</em></span> operates in the same way as <a class="link" href="fout.html" title="fout"><em class="citetitle">fout</em></a>, but with k-rate signals. <span class="emphasis"><em>iformat</em></span> can be set only in the range 0 to 9, or 0 to 1 with an old version of Csound. </p> <p> Notice that <a class="link" href="fout.html" title="fout"><em class="citetitle">fout</em></a> and <span class="emphasis"><em>foutk</em></span> can use either a string containing a file pathname, or a handle-number generated by <a class="link" href="fiopen.html" title="fiopen"><em class="citetitle">fiopen</em></a>. Whereas, with <a class="link" href="fouti.html" title="fouti"><em class="citetitle">fouti</em></a> and <a class="link" href="foutir.html" title="foutir"><em class="citetitle">foutir</em></a>, the target file can be only specified by means of a handle-number. </p> </div> <div class="refsect1"> <a id="idm281472929285496"></a> <h2>See Also</h2> <p> <a class="link" href="fiopen.html" title="fiopen"><em class="citetitle">fiopen</em></a>, <a class="link" href="fout.html" title="fout"><em class="citetitle">fout</em></a>, <a class="link" href="fouti.html" title="fouti"><em class="citetitle">fouti</em></a>, <a class="link" href="foutir.html" title="foutir"><em class="citetitle">foutir</em></a> </p> </div> <div class="refsect1"> <a id="idm281472929280504"></a> <h2>Credits</h2> <p> </p> <table border="0" summary="Simple list" class="simplelist"> <tr> <td>Author: Gabriel Maldonado</td> </tr> <tr> <td>Italy</td> </tr> <tr> <td>1999</td> </tr> </table> <p> </p> <p>New in Csound version 3.56</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="foutir.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="fprintks.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">foutir </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> fprintks</td> </tr> </table> </div> </body> </html>