Electronic Music mailing list archives

Previous Message: Re: learning curve
Next Message: Re: csound5 crashes on some controllers

From: Istvan Varga ()
Date: Apr 1, 2005
Subject: Re: Rewire with csound~, VST with csound~, MacCsound as VST/AU Builder
Art Hunkins wrote:

> Please do let us know when you get multichannel audio going. (Has anyone
> yet - on Linux?)

This CSD generates 4 channel output without any problems on Linux,
using an old SB Live card. Did not test PortAudio, though, but ALSA
and JACK should be OK.



-d -m231 -H0 -s -h -b 64 -B 512 -+rtaudio=alsa -o dac:surround40


sr      =  48000
ksmps   =  32
nchnls  =  4
0dbfs   =  1

         instr 1

a1      rnd31 1, 0, 1
kfrq    expon 3000, p3, 150
a2      butterbp a1, kfrq, kfrq / 2
a1      butterbp a2 * sqrt(1500 / kfrq), kfrq, kfrq / 2
kZ      init 0
kazim   line 0, p3, 2*3.14159
kX      =  sin(kazim)
kY      =  cos(kazim)
aw, ax, ay, az  spat3d a1, kX, kY, kZ, 1, -1, 2, 0.5, 4
aw      =  aw * 1.4142
aFL     =  aw + ax + ay         /* front left           */
aFR     =  aw + ax - ay         /* front right          */
aRL     =  aw - ax + ay         /* rear left            */
aRR     =  aw - ax - ay         /* rear right           */
         outq aFL, aFR, aRL, aRR

         endin




i 1 0 10
e



--  [EMAIL REMOVED]               (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] 

+ CsoundVST as another plugin type? David Akbari (03/31/05)
+---Re: CsoundVST as another plugin type? Arthur Lewis (03/31/05)
+------Re: CsoundVST as another plugin type? David Akbari (03/31/05)
+---------Re: CsoundVST as another plugin type? langdon crawford (03/31/05)
+------------ Rewire with csound~, VST with csound~, MacCsoound as VST/AU Builder Richard Boulanger (03/31/05)
+---------------Re: Rewire with csound~, VST with csound~, MacCsoound as VST/AU Builder Michael Bechard (04/01/05)
+------------------Re: Rewire with csound~, VST with csound~, MacCsound as VST/AU Builder Dave Phillips (04/01/05)
+---------------------Re: Rewire with csound~, VST with csound~, MacCsound as VST/AU Builder Art Hunkins (04/01/05)
+------------------------Re: Rewire with csound~, VST with csound~, MacCsound as VST/AU Builder Istvan Varga (04/01/05)
+------------Re: CsoundVST as another plugin type? Roberto J. Osorio-Goenaga (03/31/05)
+------Re: CsoundVST as another plugin type? Matt J. Ingalls (03/31/05)
+------Re: CsoundVST as another plugin type? Andres Cabrera (04/03/05)
+------Re: CsoundVST as another plugin type? Andres Cabrera (04/03/05)

Previous Message: Re: learning curve
Next Message: Re: csound5 crashes on some controllers