Csound Csound-dev Csound-tekno Search About

[Csnd] 8-channel example

Date2017-10-15 00:19
FromMatti Koskinen
Subject[Csnd] 8-channel example
hi,

does anybody have a simple example of 8-ch csd? I finally put my homemade 8-ch amp to to a working condition. Now before I try to create a csd, which will take too much trials and errors, I’ld like to see, how the amp really works with a real, workign csd. I’d appreciate very much, if someone could post one.

BTW, I also built a real tube/valve amp, which gives incredible 3+3 watts of output power, and weights 5 kg!

tnx

-m

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-10-15 03:16
FromMichael Rhoades
SubjectRe: [Csnd] 8-channel example
Hi Matti,

Here is an orc and a sco... Simple as it gets. You just need a mono 
sample named soundin.2 in your SSDR directory and it will generate an 8 
channel sound file. I use .wav as the output. Or simply run it in real time.

Good luck!

Michael

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;orc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

sr = 44100
kr = 44100
ksmps = 1
nchnls = 8

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

instr 1

a1 diskin2    2,    1

      outs     a1, a1, a1, a1, a1, a1, a1 ,a1

endin

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sco
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

i1   0   20





On 10/14/17 7:19 PM, Matti Koskinen wrote:
> hi,
>
> does anybody have a simple example of 8-ch csd? I finally put my homemade 8-ch amp to to a working condition. Now before I try to create a csd, which will take too much trials and errors, I’ld like to see, how the amp really works with a real, workign csd. I’d appreciate very much, if someone could post one.
>
> BTW, I also built a real tube/valve amp, which gives incredible 3+3 watts of output power, and weights 5 kg!
>
> tnx
>
> -m
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-10-15 03:26
Fromthorin kerr
SubjectRe: [Csnd] 8-channel example
Shouldn't it be outo instead of outs ?
T

On 15 Oct 2017 1:16 PM, "Michael Rhoades" <mrhoades@perceptionfactory.com> wrote:
Hi Matti,

Here is an orc and a sco... Simple as it gets. You just need a mono sample named soundin.2 in your SSDR directory and it will generate an 8 channel sound file. I use .wav as the output. Or simply run it in real time.

Good luck!

Michael

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;orc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

sr = 44100
kr = 44100
ksmps = 1
nchnls = 8

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

instr 1

a1 diskin2    2,    1

     outs     a1, a1, a1, a1, a1, a1, a1 ,a1

endin

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sco
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

i1   0   20





On 10/14/17 7:19 PM, Matti Koskinen wrote:
hi,

does anybody have a simple example of 8-ch csd? I finally put my homemade 8-ch amp to to a working condition. Now before I try to create a csd, which will take too much trials and errors, I’ld like to see, how the amp really works with a real, workign csd. I’d appreciate very much, if someone could post one.

BTW, I also built a real tube/valve amp, which gives incredible 3+3 watts of output power, and weights 5 kg!

tnx

-m

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
         https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-10-15 05:44
FromMatti Koskinen
SubjectRe: [Csnd] 8-channel example

thanks,

I should have been clearer with my question. I was thinking something VBAP and Ambisonics, but just found from flossmanuals Joachim's examples. I'll copy-paste these and try what they sound.

-m



On 15.10.2017 05:26, thorin kerr wrote:
Shouldn't it be outo instead of outs ?
T

On 15 Oct 2017 1:16 PM, "Michael Rhoades" <mrhoades@perceptionfactory.com> wrote:
Hi Matti,

Here is an orc and a sco... Simple as it gets. You just need a mono sample named soundin.2 in your SSDR directory and it will generate an 8 channel sound file. I use .wav as the output. Or simply run it in real time.

Good luck!

Michael

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;orc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

sr = 44100
kr = 44100
ksmps = 1
nchnls = 8

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

instr 1

a1 diskin2    2,    1

     outs     a1, a1, a1, a1, a1, a1, a1 ,a1

endin

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sco
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

i1   0   20





On 10/14/17 7:19 PM, Matti Koskinen wrote:
hi,

does anybody have a simple example of 8-ch csd? I finally put my homemade 8-ch amp to to a working condition. Now before I try to create a csd, which will take too much trials and errors, I’ld like to see, how the amp really works with a real, workign csd. I’d appreciate very much, if someone could post one.

BTW, I also built a real tube/valve amp, which gives incredible 3+3 watts of output power, and weights 5 kg!

tnx

-m

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
         https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2017-10-15 11:23
FromMichael Rhoades
SubjectRe: [Csnd] 8-channel example
Outs works fine Thorin... been using it for many years.

Michael

On 10/14/17 10:26 PM, thorin kerr wrote:
Shouldn't it be outo instead of outs ?
T

On 15 Oct 2017 1:16 PM, "Michael Rhoades" <mrhoades@perceptionfactory.com> wrote:
Hi Matti,

Here is an orc and a sco... Simple as it gets. You just need a mono sample named soundin.2 in your SSDR directory and it will generate an 8 channel sound file. I use .wav as the output. Or simply run it in real time.

Good luck!

Michael

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;orc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

sr = 44100
kr = 44100
ksmps = 1
nchnls = 8

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

instr 1

a1 diskin2    2,    1

     outs     a1, a1, a1, a1, a1, a1, a1 ,a1

endin

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sco
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

i1   0   20





On 10/14/17 7:19 PM, Matti Koskinen wrote:
hi,

does anybody have a simple example of 8-ch csd? I finally put my homemade 8-ch amp to to a working condition. Now before I try to create a csd, which will take too much trials and errors, I’ld like to see, how the amp really works with a real, workign csd. I’d appreciate very much, if someone could post one.

BTW, I also built a real tube/valve amp, which gives incredible 3+3 watts of output power, and weights 5 kg!

tnx

-m

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
         https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here



Date2017-10-15 11:24
FromMichael Rhoades
SubjectRe: [Csnd] 8-channel example
No problem... enjoy!



On 10/15/17 12:44 AM, Matti Koskinen wrote:
>
> thanks,
>
> I should have been clearer with my question. I was thinking something 
> VBAP and Ambisonics, but just found from flossmanuals Joachim's 
> examples. I'll copy-paste these and try what they sound.
>
> -m
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-10-15 12:15
FromMatti Koskinen
SubjectRe: [Csnd] 8-channel example
On 15.10.2017 13:24, Michael Rhoades wrote:
> No problem... enjoy!
>
Houston, we ha a problem.

Using 6-ch directly from the usb-audio device works, but creating 8-ch 
with OS X aggregate device, gives no output at all. I've tried coreaudio 
and portaudio, same thing. In the Audio Midi Setup, aggregate device is 
configured as octagonal, clicking each of the 8 speakers gives the noise 
burst, so
amp and speakers are ok. But selecting -odacX where X is the aggregate 
device, no sound running any of Michael's or Joackim's exmples. One of 
them gives just a short noise-like burst, but that's all. In the 
terminal overall amps are shown not to be zero, so definitely csd's are 
doing something. When I go back to my Mac, I'll try to create a wav-file 
and open it with an audio editor and play it from there.

-m

>
>
> On 10/15/17 12:44 AM, Matti Koskinen wrote:
>>
>> thanks,
>>
>> I should have been clearer with my question. I was thinking something 
>> VBAP and Ambisonics, but just found from flossmanuals Joachim's 
>> examples. I'll copy-paste these and try what they sound.
>>
>> -m
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-10-15 12:52
FromMatti Koskinen
SubjectRe: [Csnd] 8-channel example
> On 15 Oct 2017, at 14:15, Matti Koskinen  wrote:
> 
> On 15.10.2017 13:24, Michael Rhoades wrote:
>> No problem... enjoy!
>> 
> Houston, we ha a problem.
> 
> Using 6-ch directly from the usb-audio device works, but creating 8-ch with OS X aggregate device, gives no output at all. I've tried coreaudio and portaudio, same thing. In the Audio Midi Setup, aggregate device is configured as octagonal, clicking each of the 8 speakers gives the noise burst, so
> amp and speakers are ok. But selecting -odacX where X is the aggregate device, no sound running any of Michael's or Joackim's exmples. One of them gives just a short noise-like burst, but that's all. In the terminal overall amps are shown not to be zero, so definitely csd's are doing something. When I go back to my Mac, I'll try to create a wav-file and open it with an audio editor and play it from there.
> 
> -m
> 

creating an eight channel file and opening and playing with Audtion to aggreagte device, everything seems to be ok. So, I think, there maybe  something with csound and aggregate audio device. OS X is 10.11.6 and csound 6.09.1

I always try too weird things and stumble across strange things. This is surely not the first time.

-m

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here