diff options
Diffstat (limited to 'examples-xml/pvsinfo.csd.xml')
-rw-r--r-- | examples-xml/pvsinfo.csd.xml | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/examples-xml/pvsinfo.csd.xml b/examples-xml/pvsinfo.csd.xml index 9e7b844..4acb1ed 100644 --- a/examples-xml/pvsinfo.csd.xml +++ b/examples-xml/pvsinfo.csd.xml @@ -2,39 +2,36 @@ <emphasis role="csdtag"><CsoundSynthesizer></emphasis> <emphasis role="csdtag"><CsOptions></emphasis> <emphasis role="comment">; Select audio/midi flags here according to platform</emphasis> -<emphasis role="comment">; Audio out Audio in No messages MIDI in</emphasis> --odac -iadc -d <emphasis role="comment">;;;RT audio I/O with MIDI in</emphasis> +-odac <emphasis role="comment">;;;realtime audio out</emphasis> +<emphasis role="comment">;-iadc ;;;uncomment -iadc if realtime audio input is needed too</emphasis> <emphasis role="comment">; For Non-realtime ouput leave only the line below:</emphasis> <emphasis role="comment">; -o pvsinfo.wav -W ;;; for file output any platform</emphasis> <emphasis role="csdtag"></CsOptions></emphasis> <emphasis role="csdtag"><CsInstruments></emphasis> -<emphasis role="comment">; Initialize the global variables.</emphasis> <emphasis role="ohdr">sr</emphasis> <emphasis role="op">=</emphasis> 44100 -<emphasis role="ohdr">kr</emphasis> <emphasis role="op">=</emphasis> 4410 -<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 10 -<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 1 +<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 32 +<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 2 +<emphasis role="ohdr">0dbfs</emphasis> <emphasis role="op">=</emphasis> 1 <emphasis role="oblock">instr</emphasis> 1 <emphasis role="comment">; create a PVOC-EX (*.pvx) file with PVANAL first</emphasis> -idur <emphasis role="opc">filelen</emphasis> "fox.pvx" <emphasis role="comment">; find dur of (stereo) analysis file</emphasis> -kpos <emphasis role="opc">line</emphasis> 0,p3,idur <emphasis role="comment">; to ensure we process whole file</emphasis> -fsrc <emphasis role="opc">pvsfread</emphasis> kpos, "fox.pvx" <emphasis role="comment">; create fsig from R channel</emphasis> +idur <emphasis role="opc">filelen</emphasis> "fox.pvx" <emphasis role="comment">;find duration of analysis file</emphasis> +kpos <emphasis role="opc">line</emphasis> 0,p3,idur <emphasis role="comment">;to ensure we process whole file</emphasis> +fsrc <emphasis role="opc">pvsfread</emphasis> kpos, "fox.pvx" <emphasis role="comment">;create fsig from (mono) file</emphasis> -iovl,inb,iws,ifmt <emphasis role="opc">pvsinfo</emphasis> fsrc <emphasis role="comment">; get inumbins info</emphasis> -<emphasis role="opc">print</emphasis> iovl,inb,iws,ifmt <emphasis role="comment">; print the info</emphasis> +iovl,inb,iws,ifmt <emphasis role="opc">pvsinfo</emphasis> fsrc <emphasis role="comment">;get info</emphasis> +<emphasis role="opc">print</emphasis> iovl,inb,iws,ifmt <emphasis role="comment">;print info</emphasis> -aout <emphasis role="opc">pvsynth</emphasis> fsrc - <emphasis role="opc">out</emphasis> aout +aout <emphasis role="opc">pvsynth</emphasis> fsrc + <emphasis role="opc">outs</emphasis> aout, aout <emphasis role="oblock">endin</emphasis> - <emphasis role="csdtag"></CsInstruments></emphasis> <emphasis role="csdtag"><CsScore></emphasis> <emphasis role="stamnt">i</emphasis> 1 0 3 <emphasis role="stamnt">e</emphasis> - <emphasis role="csdtag"></CsScore></emphasis> <emphasis role="csdtag"></CsoundSynthesizer></emphasis> </programlisting>
\ No newline at end of file |