Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Ambisonic Csound

Date2010-11-24 04:40
From"Partev Barr Sarkissian"
Subject[Csnd] Re: Re: Ambisonic Csound
Check the Computer Music Journal website in their archive issues,
for the Fall 2003 issue. There's an article of Csound with 6-Output 
and 8-Output audio--- Octophonic, Hexaphonic Panning from Quadraphonic
configuration [pages 5-12, (using Csound). I've experimented a little 
and adapted from it to achive similar but not same results. You may 
be able to adapt portions of it for your purposes. 

And pages 62-64 has some interesting Csound applications using "morph"
opcodes that I've since made excellent use of.

Maybe worth checking out.


-Partev


==================================================================




--- peimankhosravi@gmail.com wrote:

From: peiman khosravi 
To: csound@lists.bath.ac.uk
Subject: [Csnd] Re: Re: ambisonic Csound
Date: Wed, 24 Nov 2010 00:37:25 +0000

I have another question. Is 2nd order ambisonic possible with 6
outputs (speakers) in Csound?

Best,

Peiman


On 23 November 2010 21:04, peiman khosravi  wrote:
> Hi Anthony,
>
> Well you just need 8 outputs, preferably with speakers! Or just render
> to file and open the 8 channel file in audacity.
>
> Best,
>
> Peiman
>
> On 23 November 2010 20:01, Anthony Palomba  wrote:
>> Pieman, do I need any kind of hardware to experiment with this?
>>
>>
>>
>> -ap
>>
>>
>>
>>
>> On Tue, Nov 23, 2010 at 12:55 PM, peiman khosravi 
>> wrote:
>>>
>>> Maybe I'm being completely stupid. Using the bformdec1 example I
>>> cannot get the expected result. It sounds weird!
>>>
>>> My csd is below. The 8 speaker ring is set up here like this: 1 (front
>>> L), 2 (front R), 3 (Wide L), 4 (Wide R), 5 (side L), 6 (side R), 7
>>> (rear L), 8 (rear R).
>>>
>>> I understand that the Octagon setup for bformdec1 is something like this:
>>>
>>> 4.      Octagon -
>>> FFL(22.5),FLL(67.5),BLL(112.5),BBL(157.5),BBR(-157.5),BRR(-112.5),FRR(-67.5),FFR(-22.5).
>>> This is a first-, second- or third-order `in-phase' decode, depending
>>> on the number of input channels.
>>>
>>> So I have changed the CSD to reflect this:         outo a1, a3, a5,
>>> a7, a8, a6, a4, a2
>>>
>>> And still Zero degrees gives me a sound hard panned to the front left.
>>> Either I'm messing something up or my ears are totally deaf to the
>>> ambisonic charm :-)
>>>
>>>
>>> Thanks
>>>
>>> Peiman
>>>
>>>
>>>
>>> 
>>> 
>>> ; Select audio/midi flags here according to platform
>>> ; Audio out   Audio in    No messages
>>> ;-odac           -iadc     -d     ;;;RT audio I/O
>>> ; For Non-realtime ouput leave only the line below:
>>>  -o dac1
>>> ;;; for file output any platform
>>> 
>>> 
>>> sr = 96000
>>> ksmps = 16
>>> nchnls = 8
>>>
>>> instr 1
>>>
>>>        ; generate pink noise
>>>        anoise pinkish 10000
>>>
>>>        ; two full turns
>>>        kalpha = 0
>>>        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, a3, a5, a7, a8, a6, a4, a2
>>> endin
>>>
>>> 
>>> 
>>>
>>> ; Play Instrument #1 for 20 seconds.
>>> i 1 0 20
>>> e
>>>
>>>
>>> 
>>> 
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





_____________________________________________________________
Netscape.  Just the Net You Need.
Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"