Debian Codegraph @

opcodes/hdf5write.xml

raw symbols SCIP
1
2 <refentry id="hdf5write">
3 <indexterm id="IndexHdf5write"><primary>hdf5write</primary></indexterm>
4 <refentryinfo><title>Signal I/O:File I/O</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>hdf5write</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>hdf5write</refname>
11 <refpurpose>
12 Write signals and arrays to an hdf5 file.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>Plugin opcode in hdf5ops. This opcode is part of the plugin repository and has to be installed separately.
19 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
20 <para>
21 <emphasis>hdf5write</emphasis> writes <emphasis>N</emphasis> signals and arrays to a specified hdf5 file.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>hdf5write</command> ifilename, xout1[, xout2, xout3, ..., xoutN]</synopsis>
28
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>ifilename</emphasis> -- the hdf5 file's name (in double-quotes). If the file does not exist it will be created.
35 </para>
36
37 </refsect1>
38
39 <refsect1>
40 <title>Performance</title>
41 <para>
42 <emphasis>xout1,... xoutN</emphasis> -- signals or arrays to be written to the hdf5 file. This opcode accepts i-rate, k-rate, a-rate signals or i-rate, k-rate, a-rate arrays of any dimension. These signals or arrays are written to a dataset within the hdf5 file using the same variable name as in Csound. For example, if the Csound variable is called 'ksignal', then the name of the hdf5 dataset is 'ksignal'. Any number and multiple types of datasets may be written at a time.
43 </para>
44 </refsect1>
45
46 <refsect1>
47 <title>Examples</title>
48 <para>
49 Here is a simple example of the hdf5write opcode. It uses the file <ulink url="examples/hdf5write.csd"><citetitle>hdf5write.csd</citetitle></ulink>.
50
51 <example>
52 <title>Example of the hdf5write opcode.</title>
53
54 <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>
55 <xi:include href="examples-xml/hdf5write.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
56 </example>
57 </para>
58
59 </refsect1>
60
61 <refsect1>
62 <title>See also</title>
63 <para><link linkend="SigioFileIO"><citetitle>File Input and Output</citetitle></link></para>
64 </refsect1>
65
66 <refsect1>
67 <title>Credits</title>
68 <para>
69 <simplelist>
70 <member>Author: Edward Costello;</member>
71 <member>NUIM, 2014</member>
72 </simplelist>
73 </para>
74 </refsect1>
75 </refentry>