summaryrefslogtreecommitdiff
path: root/opcodes/pvsinfo.xml
blob: 5b4feed560bbf46b6c08a26c299e579cde744c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<refentry id="pvsinfo">
<indexterm id="IndexPvsinfo"><primary>pvsinfo</primary></indexterm>
  <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
  <refmeta>
    <refentrytitle>pvsinfo</refentrytitle>
  </refmeta>



  <refnamediv>
    <refname>pvsinfo</refname>
    <refpurpose>
      Get information from a PVOC-EX formatted source.
          </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      Get format information about fsrc, whether created by an opcode such as pvsanal, or obtained from a PVOCEX file by pvsfread. This information is available at init time, and can be used to set parameters for other pvs opcodes, and in particular for creating function tables (e.g. for pvsftw), or setting the number of oscillators for pvsadsyn.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis>ioverlap, inumbins, iwinsize, iformat <command>pvsinfo</command> fsrc</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ioverlap</emphasis> -- The stream overlap size.
    </para>

    <para>
      <emphasis>inumbins</emphasis> -- The number of analysis bins (amplitude+frequency) in fsrc. The underlying FFT size is calculated as (inumbins -1) * 2.
    </para>

    <para>
      <emphasis>iwinsize</emphasis> -- The analysis window size. May be larger than the FFT size.
    </para>

    <para>
      <emphasis>iformat</emphasis> -- The analysis frame format. If fsrc is created by an opcode, iformat will always be 0, signifying amplitude+frequency. If fsrc is defined from a PVOC-EX file, iformat may also have the value 1 or 2 (amplitude+phase, complex).
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      <informalexample>
        <programlisting>
fim                pvsfread  &quot;test.pvx&quot;    ; import pvocex file
iovl,inb,iws,ifmt  pvsinfo   fim           ; get inumbins info
ifn                ftgen     0,0,inb,10,1  ; and create f-table
        </programlisting>
      </informalexample>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namerichard;</member>
        <member>August 2001 </member>
      </simplelist>
    </para>

    <para>New in version 4.13</para>
  </refsect1>
</refentry>