diff options
author | Felipe Sateler <fsateler@debian.org> | 2014-01-24 13:54:37 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2014-01-24 13:54:37 -0300 |
commit | bcf06a42deb371baf3deb9f4addb474b08273120 (patch) | |
tree | 4a8c3fb811dd164d4486628d8eff6043ebe8a6c3 /opcodes/specdisp.xml | |
parent | 3a91171181113761a14bcc36a086a8dda144b77b (diff) |
Imported Upstream version 6.02~dfsg
Diffstat (limited to 'opcodes/specdisp.xml')
-rw-r--r-- | opcodes/specdisp.xml | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/opcodes/specdisp.xml b/opcodes/specdisp.xml index 6a6d7bb..1582910 100644 --- a/opcodes/specdisp.xml +++ b/opcodes/specdisp.xml @@ -6,13 +6,11 @@ <refentrytitle>specdisp</refentrytitle> </refmeta> - - <refnamediv> <refname>specdisp</refname> <refpurpose> Displays the magnitude values of the spectrum. - </refpurpose> + </refpurpose> </refnamediv> <refsect1> @@ -54,14 +52,13 @@ <para> <informalexample> <programlisting> - ksum <emphasis>specsum</emphasis> wsig, 1 ; sum the spec bins, and ksmooth - <emphasis>if</emphasis> ksum < 2000 <emphasis>kgoto</emphasis> zero ; if sufficient amplitude - koct <emphasis>specptrk</emphasis> wsig ; pitch-track the signal - <emphasis>kgoto</emphasis> contin -zero: - koct = 0 ; else output zero -contin: - </programlisting> + ksum <emphasis role="opc">specsum</emphasis> wsig, 1 <emphasis role="comment">; sum the spec bins, and ksmooth</emphasis> + <emphasis role="octrl">if</emphasis> ksum <emphasis role="op"><</emphasis> 2000 <emphasis role="octrl">kgoto</emphasis> <emphasis role="olabel">zero</emphasis> <emphasis role="comment">; if sufficient amplitude</emphasis> + koct <emphasis role="opc">specptrk</emphasis> wsig <emphasis role="comment">; pitch-track the signal</emphasis> + <emphasis role="octrl">kgoto</emphasis> <emphasis role="olabel">contin</emphasis> +<emphasis role="olabel">zero:</emphasis> + koct <emphasis role="op">=</emphasis> 0 <emphasis role="comment">; else output zero</emphasis> +<emphasis role="olabel">contin:</emphasis></programlisting> </informalexample> </para> </refsect1> |