[Csnd] bformenc1
Date | 2013-02-28 23:08 |
From | peiman khosravi |
Subject | [Csnd] bformenc1 |
In testing csound6 I became aware of the bformenc1 example csd not behaving as expected. The same in csound 5 & 6. The sound seems to be only mix in one channel rather than rotating around.
bformenc works fine. Best Peiman <CsoundSynthesizer> <CsOptions> -otest.aif -A -3 -d </CsOptions>
<CsInstruments> sr = 44100 kr = 4410 ksmps = 10 nchnls = 8 instr 1 ; generate pink noise anoise pinkish 1000
; two full turns kalpha line 0, p3, 720 kbeta = 0 ; generate B format aw, ax, ay, az, ar, as, at, au, av bformenc1 anoise, kalpha, kbeta
; decode B format for 8 channel circle loudspeaker setup a1, a2, a3, a4, a5, a6, a7, a8 bformdec1 4, aw, ax, ay, az, ar, as, at, au, av ; write audio out
outo a1, a2, a3, a4, a5, a6, a7, a8 endin </CsInstruments> <CsScore> ; Play Instrument #1 for 20 seconds. i 1 0 20
e </CsScore> </CsoundSynthesizer> |