Csound Csound-dev Csound-tekno Search About

(Fwd) Re: Multichannel outs

Date1998-06-12 14:10
FromJoseph L ANDERSON
Subject(Fwd) Re: Multichannel outs
A BEAST perspective...  (better yet, check out Jonty Harrison's 
article in the latest Sonic Arts Journal)

> > diffused over multiple speakers (18-23 speakers) and they have been 
> > spectacular, but in a spatial sense, have achieved a kind of monody 
> > rather than counterpoint.  Some people think multichannel pieces in 

>	you can get counterpoint with many speakers over 2-channel
> tape - different speakers and different placement in the space has
> different frequency response, etc.. so can sound as if more than 
> 2-tracks (plus adding a "performer" at the mixing desk....)

Sound diffusion of a stereo tape over multiple loudspeakers (18-24) 
can achieve a very vivid and immersive experience.  W/ a very active 
diffusion you can get sound bouncing all around the space - where
people are often surprised to find its off of just a 2 track tape.  
However, it is true that you can't have two different sounds coming 
from 2 different places, but it is possible to suggest this w/ 
lots of fader movements...

Loudspeakers are placed in stereo planes - near, far, narrow, wide, 
high, low, rear... and the idea is to change perspective of the sound 
in the space.

> > concert situations just have the same problems as stereo, but multiplied 
> > by the number of speakers, but not necessarily, IMO - we just need to 
> > learn how to "play" such set ups.

> 	same thing as above + where audience member is in the space can
> actually mess up desired effect of composer - especially when you 
> have computer simulate spatial placement (ala chowning mover instr)	

These multichnl systems generally try to recreate or simulate a 2D or 
3D sound field - and the speakers are usually equally spaced in a 
circle/square or cube.

>	granted, combination of the two (what you mena by "play" possibly)
> attitudes might be interesting...  or how about multiple 
> tape/cd/computer decks also, so you could "play" with placement in 
> time as well...

The idea of BEAST is to build a sound system in the performance 
space, so the layout isn't fixed but designed around the hall and 
audience.  And it changes for each space it is installed in.  It 
attempts to avoid the problems of having a fixed setup required by 
sound field systems (where the speakers must be in a square or 
octagon) and the sweet listening spot.  

Also, BEAST isn't especially interested in exact sound trajectories, 
but the sensation of movement - distant to near, high front to low 
front, rear to side, focused to wide.  These kind of things work well 
within a concert hall, and can be suggested in most spaces.

However, as previously mentioned 'true' spatial counterpoint isn't 
really possible w/ 2 chnls (you can just fake it).   A possible 
solution to this is to consider the advantages of both 2 chnl 
diffusion and multichnl sound field setups.  The piece i'm working on 
now will have 2chnls to be diffused + ambisonic coded chnls to set up 
a ground sound field... it remains to be seen if this is the way to 
go.



Joseph L Anderson

Barber Institute of Fine Arts
Music Department
University of Birmingham
Edgbaston
BIRMINGHAM, B17 0NY
England

phn:+44 121 414 5781
fax:+44 121 414 5781




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa04917;
          12 Jun 98 15:56 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa17949;
          12 Jun 98 15:56 BST
Received: (qmail 5373 invoked from network); 12 Jun 1998 14:56:27 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 14:56:27 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA24867); Fri, 12 Jun 1998 15:49:43 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 15:49:18 +0100
Received: from servidor.unam.mx [132.248.10.5] (may be forged) by hermes via ESMTP (PAA19688); Fri, 12 Jun 1998 15:48:34 +0100 (BST)
Received: from localhost (hpsilva@localhost)
	by servidor.unam.mx (8.8.8/8.8.8) with SMTP id JAA26255
	for ; Fri, 12 Jun 1998 09:49:30 -0600 (CST)
Date: Fri, 12 Jun 1998 09:49:29 -0600 (CST)
From: "Pablo Silva-Escuela Nacional de Musica, UNAM" 
To: csound@maths.ex.ac.uk
Subject: Re: any Csounders in Venice?
In-Reply-To: <613d7b9f.3581032e@aol.com>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi Malte!

> Originally I wanted to travel to Paris, but it is these days invaded by
> thousands of hooligans celebrating a ritual around something round, checkerd
> and leathered, so I rejected. I wanted to visit IRCAM but the Centre is closed
> for renovation I heard and so I will visit Paris later...

I sympathise deeply with your feelings about the hooligans... Yet I just
want to clarify that IRCAM is not closed these days (as a matter of fact
they are holding an 'open day' one of these days....). What is closed is
Centre George Pompidou, to which IRCAM is 'attached'. It is certainly
worth a visit, if you could arrange one.

Have a great vacation!

Pablo Silva






Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa04937;
          12 Jun 98 16:01 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa18489;
          12 Jun 98 16:01 BST
Received: (qmail 5575 invoked from network); 12 Jun 1998 15:00:59 -0000
Received: from sparticus.bright.net (205.212.123.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 15:00:59 -0000
Received: from brutus (find-cas1-cs-2.dial.bright.net [209.143.26.105])
	by sparticus.bright.net (8.9.0.Beta3/8.9.0.FNG_Build) with SMTP id KAA19399;
	Fri, 12 Jun 1998 10:54:59 -0400 (EDT)
Sender: root@sparticus.bright.net
Message-ID: <35814437.39CAA860@bright.net>
Date: Fri, 12 Jun 1998 11:07:35 -0400
From: Dave Phillips 
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.0.29 i486)
MIME-Version: 1.0
To: Csound mail-list 
CC: Nicola Bernardini , John Fitch , 
    Robin Whittle 
Subject: Csound-3.482 binaries for Linux
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Greetings:

  I am pleased to announce the availability of Csound-3.482 binaries (in
both X and non-X versions) at the following URLs:

	ftp://mustec.bgsu.edu/pub/linux/Csound-3.482-Linux.bin-dyn.tgz
	ftp://mustec.bgsu.edu/pub/linux/Csound-3.482-Linux.bin-dyn.NOX11.tgz

At this time the binaries are dynamically linked, and the necessary
libraries are included in the distribution. The dynamic linking results
in a great reduction of Csound's memory footprint: my current Csound
binary is only 19K !!!

  Special thanks to Nicola Bernardini for his extensive work on this
project. 

  Thanks also to Robin Whittle and Damien Miller for their glibc patch.
I will be uploading their statically-linked binary to the BGSU site
soon. The patch is now included in the source distribution on the MusTec
server at BGSU.

== Dave Phillips

       http://www.bright.net/~dlphilp/index.html
   http://www.bright.net/~dlphilp/linux_soundapps.html


Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa04962;
          12 Jun 98 16:04 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa18789;
          12 Jun 98 16:04 BST
Received: (qmail 21014 invoked from network); 12 Jun 1998 15:04:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 12 Jun 1998 15:04:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA16399); Fri, 12 Jun 1998 15:57:52 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 15:57:02 +0100
Received: from sparticus.bright.net [205.212.123.14] by hermes via ESMTP (PAA24451); Fri, 12 Jun 1998 15:56:53 +0100 (BST)
Received: from brutus (find-cas1-cs-2.dial.bright.net [209.143.26.105])
	by sparticus.bright.net (8.9.0.Beta3/8.9.0.FNG_Build) with SMTP id KAA19399;
	Fri, 12 Jun 1998 10:54:59 -0400 (EDT)
Message-Id: <35814437.39CAA860@bright.net>
Date: Fri, 12 Jun 1998 11:07:35 -0400
From: Dave Phillips 
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.0.29 i486)
Mime-Version: 1.0
To: Csound mail-list 
Cc: Nicola Bernardini , John Fitch , 
    Robin Whittle 
Subject: Csound-3.482 binaries for Linux
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Greetings:

  I am pleased to announce the availability of Csound-3.482 binaries (in
both X and non-X versions) at the following URLs:

	ftp://mustec.bgsu.edu/pub/linux/Csound-3.482-Linux.bin-dyn.tgz
	ftp://mustec.bgsu.edu/pub/linux/Csound-3.482-Linux.bin-dyn.NOX11.tgz

At this time the binaries are dynamically linked, and the necessary
libraries are included in the distribution. The dynamic linking results
in a great reduction of Csound's memory footprint: my current Csound
binary is only 19K !!!

  Special thanks to Nicola Bernardini for his extensive work on this
project. 

  Thanks also to Robin Whittle and Damien Miller for their glibc patch.
I will be uploading their statically-linked binary to the BGSU site
soon. The patch is now included in the source distribution on the MusTec
server at BGSU.

== Dave Phillips

       http://www.bright.net/~dlphilp/index.html
   http://www.bright.net/~dlphilp/linux_soundapps.html



Date:     Fri, 12 Jun 98 17:19:33 BST
From:     J P Fitch 
To:       Dave Phillips 
cc:       Csound mail-list , 
          Nicola Bernardini , 
          John Fitch , 
          Robin Whittle 
Subject:  Re:  Csound-3.482 binaries for Linux

.....and now on teh Bath server for completeness.


Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05168;
          12 Jun 98 17:25 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa24296;
          12 Jun 98 17:25 BST
Received: (qmail 8428 invoked from network); 12 Jun 1998 16:25:29 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 16:25:29 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA03386); Fri, 12 Jun 1998 17:20:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 17:19:38 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (RAA12781); Fri, 12 Jun 1998 17:19:33 +0100 (BST)
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 0ykWYA-0005Fh-00; Fri, 12 Jun 1998 17:19:34 +0100
Date:     Fri, 12 Jun 98 17:19:33 BST
From: J P Fitch 
To: Dave Phillips 
Cc: Csound mail-list , 
    Nicola Bernardini , John Fitch , 
    Robin Whittle 
Subject:  Re:  Csound-3.482 binaries for Linux
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

.....and now on teh Bath server for completeness.



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05527;
          12 Jun 98 19:26 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa12509;
          12 Jun 98 19:26 BST
Received: (qmail 14149 invoked from network); 12 Jun 1998 18:26:49 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 18:26:49 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA03036); Fri, 12 Jun 1998 19:22:54 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 19:22:31 +0100
Received: from cbgw1.lucent.com [207.24.196.51] by hermes via SMTP (TAA08154); Fri, 12 Jun 1998 19:22:24 +0100 (BST)
Received: from mtm3.ho.lucent.com by cbig1.firewall.lucent.com (SMI-8.6/EMS-L sol2)
	id OAA19064; Fri, 12 Jun 1998 14:20:50 -0400
Received: from sdcpc2.ho.lucent.com by mtm3.ho.lucent.com (SMI-8.6/EMS-1.4 sol2)
	id OAA25307; Fri, 12 Jun 1998 14:22:18 -0400
Message-Id: <3.0.3.32.19980612142556.00a1ab80@mtm3.mt.lucent.com>
X-Sender: sdcurtin@mtm3.mt.lucent.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32)
Date: Fri, 12 Jun 1998 14:25:56 -0400
To: Csound@maths.ex.ac.uk
From: Steven Curtin 
Subject: Re: (Fwd) Re: Multichannel outs
In-Reply-To: <462F5B7339@hhs.bham.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>Sound diffusion of a stereo tape over multiple loudspeakers (18-24) 
>can achieve a very vivid and immersive experience.  W/ a very active 
>diffusion you can get sound bouncing all around the space - where
>people are often surprised to find its off of just a 2 track tape.  
>However, it is true that you can't have two different sounds coming 
>from 2 different places, but it is possible to suggest this w/ 
>lots of fader movements...

Another amazing installation with this is AUDIUM in San Francisco.  I saw a
performance of it ten years ago.  I don't know it it's still open, but
there was a rumour several years ago that the owner was going to play other
people's tapes in the same space.  If you're in the San Francisco Bay Area
check it out.

Steve C
--------------------------------------------------------------
Steven Curtin  
http://www.emf.org/people_curtin.html
Lucent Technologies - Bell Labs Innovations
rm. 3C-208, 200 Laurel Ave S
Middletown, NJ 07748-4801  U S A
ph: (732)957-2996   fax: (732)957-6878
--------------------------------------------------------------



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05620;
          12 Jun 98 20:16 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa15880;
          12 Jun 98 20:16 BST
Received: (qmail 9068 invoked from network); 12 Jun 1998 19:16:56 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 12 Jun 1998 19:16:56 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA06400); Fri, 12 Jun 1998 20:13:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 20:12:41 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (UAA07599); Fri, 12 Jun 1998 20:12:32 +0100 (BST)
Received: (qmail 21310 invoked by uid 1964); 12 Jun 1998 12:12:07 -0700
Date: Fri, 12 Jun 1998 12:12:07 -0700 (PDT)
From: "Matt J. Ingalls" 
To: wicked-mentality@usa.net
Cc: Csound@maths.ex.ac.uk
Subject: soundin/diskin BUG FIX
In-Reply-To: <3.0.3.32.19980612142556.00a1ab80@mtm3.mt.lucent.com>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


leon,

Thanks for the report.  These were bugs.  I have included the CODE
CHANGES BELOW for everyone with the source to change.

	Also remember to set the 'format' parameter properly in the
soundin/
diskin opcodes (in your case a '6') since they default to the output file
format for headerless soundin files...

	hopefully the mills PPc version will have these changes soon...
-matt

>First of all : when reading headerless data as 32 bit floating point -
>soundin crashes.
>Also: is it suppose to happen: when using just 1 result cell with diskin
>and reading floating point headerless data - the csound compiler - says
>that since the header is missing it is reading data as 5 channels,
>quad???
>The skip time as the result has to be divided by a factor of 5 (if using
>1 result cell)... seems kinda strange...

	these were all the same bug. if no header soundfile, then the
soundin/
diskin should assume the nchnls of the file is same as the ugen's output.


in soundin.c, sndgetset(), line 210
change:
			if (!p->OUTOCOUNT && p->channel == ALLCHNLS)
           		p->channel = 1;
to:
			if (p->OUTOCOUNT)
            	p->channel = p->OUTOCOUNT;
            else if (p->channel == ALLCHNLS)
           		p->channel = 1;
        		

in soundin.c, newsndinset(), line 1081
change:
			if (!p->OUTOCOUNT && p->channel == ALLCHNLS)
           		p->channel = 1;
to:
    		p->channel = p->OUTOCOUNT; 
    	

>Also: when using diskin with headerless data as 32 bit floating point -
>and reading the sound backwards (i.e. kpitch = -1) the direction is
>reverse but it does not do it as 1:1 ratio (i.e. speed is either slower
>or faster - I don't remember which) - this is evident with rather long
>sound files...

		this above fix seems to solve the pitch problems, but im
getting
an error with the loop option on. will investigate...
	(as with the reinit problem reported a few weeks back)







Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05784;
          12 Jun 98 20:46 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa17650;
          12 Jun 98 20:46 BST
Received: (qmail 17705 invoked from network); 12 Jun 1998 19:46:51 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 19:46:51 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA07035); Fri, 12 Jun 1998 20:42:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 20:41:46 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA06562); Fri, 12 Jun 1998 20:41:36 +0100 (BST)
Received: from pavell.com ([193.190.88.182]) by hurricane.netgate.be
          (post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA294;
          Fri, 12 Jun 1998 21:46:24 +0200
Message-Id: <35818376.17AFFAB5@pavell.com>
Date: Fri, 12 Jun 1998 21:37:26 +0200
From: David Schuyeteneer 
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: bruce quaglia , 
    Csound List 
Subject: Re: Release date for Csound book?
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> > >         The new Csound book edited by R. Boulanger was projected
> > >         to be available at about this time (at least the last I
> > >         heard it was). Does anybody have reliable info about its
> > >         status or when it will be available?
> >
> > Yeah...months ago it was posted that it should be available
> > late spring....is it ?
> >
> > David.
> 
>         Jon Nelson just told me that early 1999 is what MIT projects.
>         Sheeeeesh.


            * * *    SHEEEEEEEEESHHHH   * * *


David.



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06066;
          12 Jun 98 23:56 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa28863;
          12 Jun 98 23:56 BST
Received: (qmail 26087 invoked from network); 12 Jun 1998 22:56:45 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 22:56:45 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA27309); Fri, 12 Jun 1998 23:53:03 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Fri, 12 Jun 98 23:52:41 +0100
Received: from post-12.mail.demon.net [194.217.242.41] by hermes via SMTP (XAA21110); Fri, 12 Jun 1998 23:52:34 +0100 (BST)
Received: from (ligotage.demon.co.uk) [158.152.209.225] 
	by post.mail.demon.net with smtp (Exim 1.82 #2)
	id 0ykcgb-0002TX-00; Fri, 12 Jun 1998 23:52:41 +0100
Received: from localhost by ligotage.demon.co.uk with smtp
	(Smail3.1.29.5 #1) id m0ykZnQ-0000VKC; Fri, 12 Jun 98 19:47 GMT
Date: Fri, 12 Jun 1998 19:47:30 +0000
From: johnnie ligotage 
To: Jamie Bullock 
Cc: Csound List 
Subject: Re: Multichannel outs
In-Reply-To: <004001bd94a0$0641dda0$2e015e9e@default>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> them. Perhaps it's up to people like us (Csounders) to put pressure on ou=
r
> respective soundcard manufacturers to provide proper Quad driver support.
> As Richard implies, it's only a matter of time before multi-channel suppo=
rt
> is pretty much standard.

I'm relatively new to this list and am using an atari falcon. Ever since
the machine came out, we've had support for up to 8 channel output. OK you
need to buy some extra hardware - <=A3200 - but it's there. We've even got =
a
dedicated DSP chip. Strikes me, that pc and mac owners are a bit behind
the times... ;-)=20

> Here's to a wonderfully spacialised future! >

I'll second that...

Salut/.

J/.
__
John Blakeley
http://www.ligotage.demon.co.uk




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06189;
          13 Jun 98 0:54 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa02381;
          13 Jun 98 0:54 BST
Received: (qmail 28294 invoked from network); 12 Jun 1998 23:54:40 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 12 Jun 1998 23:54:40 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA25122); Sat, 13 Jun 1998 00:50:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 13 Jun 98 00:50:26 +0100
Received: from root@xochi.tezcat.com [204.128.247.12] by hermes via ESMTP (AAA23243); Sat, 13 Jun 1998 00:50:19 +0100 (BST)
Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120])
	by xochi.tezcat.com (8.8.5/8.8.5/tezcat-96091001) with SMTP id SAA10955
	for ; Fri, 12 Jun 1998 18:50:21 -0500 (CDT)
Message-Id: <199806122350.SAA10955@xochi.tezcat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 12 Jun 1998 19:00:09 -0600
To: Csound List 
From: =cw4t7abs 
Subject: Re: Multichannel outs
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>> them. Perhaps it's up to people like us (Csounders) to put pressure on ou=
r
>> respective soundcard manufacturers to provide proper Quad driver support.
>> As Richard implies, it's only a matter of time before multi-channel suppo=
rt
>> is pretty much standard.

!f human ztandard =3D lak!ng
multi-channel support =3D !rrelevant

>I'm relatively new to this list and am using an atari falcon. Ever since
>the machine came out, we've had support for up to 8 channel output. OK you
>need to buy some extra hardware - <=A3200 - but it's there. We've even got =
a
>dedicated DSP chip. Strikes me, that pc and mac owners are a bit behind
>the times... ;-)

mac!ntosh has had 8 channel output ava!labl 4 az long az dze atar!
[v!a some extra hardware]
+ !tz kurrent standard featurez [96 aud!o trakx on g3 - s!nsz humanz adore
spekx]
zmak dze atar! + naturall+e dze [k]rapmatter pc boczes


>> Here's to a wonderfully spacialised future! >

spacialised future !=3D progresz
specialised future !=3D progresz


>I'll second that...
>Salut/.


salut





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06218;
          13 Jun 98 1:15 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03714;
          13 Jun 98 1:15 BST
Received: (qmail 19222 invoked from network); 13 Jun 1998 00:15:26 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 13 Jun 1998 00:15:26 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA26190); Sat, 13 Jun 1998 01:11:21 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 13 Jun 98 01:10:58 +0100
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (BAA24892); Sat, 13 Jun 1998 01:10:52 +0100 (BST)
Received: (qmail 28747 invoked from network); 13 Jun 1998 00:03:55 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.50)
  by jaguars with SMTP; 13 Jun 1998 00:03:55 -0000
Message-Id: <3581C274.FD95DF5B@cableinet.co.uk>
Date: Sat, 13 Jun 1998 01:06:12 +0100
From: Richard Dobson 
Organization: Composers Desktop project
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: SteinersT1@aol.com
Cc: csound@maths.ex.ac.uk
Subject: Re: any Csounders in Venice?
References: <613d7b9f.3581032e@aol.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I don't know about Venice, but if you can manage an excursion to Florence, you
could try the Tempo Reale studio (home studio for Luciano Berio) - you can walk
there from the town centre. I can't remember the address offhand, though.

Richard Dobson

SteinersT1@aol.com wrote:
> 
> Hello List,
> 
> I am going on vacation next week to venice, italy, and my wired question of
> the day goes if any Csounders or other electronic musicians are in venice.
> 
> Originally I wanted to travel to Paris, but it is these days invaded by
> thousands of hooligans celebrating a ritual around something round, checkerd
> and leathered, so I rejected. I wanted to visit IRCAM but the Centre is closed
> for renovation I heard and so I will visit Paris later...
> 
> Greetings,
> 
> Malte Steiner
> 
> --------------------------------------------------
> Notstandskomitee / Das Kombinat
>        Industrial Electronic Art
> http://members.aol.com/block4k7
> 
> Find the adsyn file editor hYdra there:
> http://members.aol.com/additiv
> --------------------------------------------------

Date1998-06-12 19:25
FromSteven Curtin
SubjectRe: (Fwd) Re: Multichannel outs
>Sound diffusion of a stereo tape over multiple loudspeakers (18-24) 
>can achieve a very vivid and immersive experience.  W/ a very active 
>diffusion you can get sound bouncing all around the space - where
>people are often surprised to find its off of just a 2 track tape.  
>However, it is true that you can't have two different sounds coming 
>from 2 different places, but it is possible to suggest this w/ 
>lots of fader movements...

Another amazing installation with this is AUDIUM in San Francisco.  I saw a
performance of it ten years ago.  I don't know it it's still open, but
there was a rumour several years ago that the owner was going to play other
people's tapes in the same space.  If you're in the San Francisco Bay Area
check it out.

Steve C
--------------------------------------------------------------
Steven Curtin  
http://www.emf.org/people_curtin.html
Lucent Technologies - Bell Labs Innovations
rm. 3C-208, 200 Laurel Ave S
Middletown, NJ 07748-4801  U S A
ph: (732)957-2996   fax: (732)957-6878
--------------------------------------------------------------

Date1998-06-12 20:12
From"Matt J. Ingalls"
Subjectsoundin/diskin BUG FIX
leon,

Thanks for the report.  These were bugs.  I have included the CODE
CHANGES BELOW for everyone with the source to change.

	Also remember to set the 'format' parameter properly in the
soundin/
diskin opcodes (in your case a '6') since they default to the output file
format for headerless soundin files...

	hopefully the mills PPc version will have these changes soon...
-matt

>First of all : when reading headerless data as 32 bit floating point -
>soundin crashes.
>Also: is it suppose to happen: when using just 1 result cell with diskin
>and reading floating point headerless data - the csound compiler - says
>that since the header is missing it is reading data as 5 channels,
>quad???
>The skip time as the result has to be divided by a factor of 5 (if using
>1 result cell)... seems kinda strange...

	these were all the same bug. if no header soundfile, then the
soundin/
diskin should assume the nchnls of the file is same as the ugen's output.


in soundin.c, sndgetset(), line 210
change:
			if (!p->OUTOCOUNT && p->channel == ALLCHNLS)
           		p->channel = 1;
to:
			if (p->OUTOCOUNT)
            	p->channel = p->OUTOCOUNT;
            else if (p->channel == ALLCHNLS)
           		p->channel = 1;
        		

in soundin.c, newsndinset(), line 1081
change:
			if (!p->OUTOCOUNT && p->channel == ALLCHNLS)
           		p->channel = 1;
to:
    		p->channel = p->OUTOCOUNT; 
    	

>Also: when using diskin with headerless data as 32 bit floating point -
>and reading the sound backwards (i.e. kpitch = -1) the direction is
>reverse but it does not do it as 1:1 ratio (i.e. speed is either slower
>or faster - I don't remember which) - this is evident with rather long
>sound files...

		this above fix seems to solve the pitch problems, but im
getting
an error with the loop option on. will investigate...
	(as with the reinit problem reported a few weeks back)




Date1998-06-15 13:12
Fromjpff@maths.bath.ac.uk
SubjectRe: soundin/diskin BUG FIX
I have applied those fixers to my sources.  Those using my version
should note that the fixes are in soundio.c and in diskin.c (which
were split as it would not compile on an Atari)
==John



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12368;
          15 Jun 98 15:12 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa07981;
          15 Jun 98 15:12 BST
Received: (qmail 15131 invoked from network); 15 Jun 1998 14:12:20 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jun 1998 14:12:20 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA03500); Mon, 15 Jun 1998 15:02:25 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Mon, 15 Jun 98 15:02:00 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (PAA27683); Mon, 15 Jun 1998 15:01:54 +0100 (BST)
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 0ylZpf-0000hP-00; Mon, 15 Jun 1998 15:01:59 +0100
From: jpff@maths.bath.ac.uk
To: kay.q.lee@mailexcite.com
Cc: csound@maths.ex.ac.uk
In-Reply-To:  (message from Kay Q Lee on Sun,
	14 Jun 1998 19:39:07 -0700)
Subject: Re: Why Csound?
References:  
Date: Mon, 15 Jun 98 15:01:58 BST
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Yes; I regularly switch between Windows and Unix with the same
files (orcsco/samples).  That has been a driving aim for me; all
Csounds should be the same.  We are not there yet, and indeed have
recently gone backwards, but that is certainly the aim.

Many users seem to have PC's at home and Unix at universities etc.  I
cannot see any good reason for them to differ except in GUI terms.

==John




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12400;
          15 Jun 98 15:21 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa09918;
          15 Jun 98 15:21 BST
Received: (qmail 15835 invoked from network); 15 Jun 1998 14:21:52 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jun 1998 14:21:52 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA24789); Mon, 15 Jun 1998 15:15:52 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Mon, 15 Jun 98 15:15:25 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (PAA22397); Mon, 15 Jun 1998 15:15:15 +0100 (BST)
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 0yla2a-0000iM-00; Mon, 15 Jun 1998 15:15:20 +0100
From: jpff@maths.bath.ac.uk
To: kay.q.lee@mailexcite.com
Cc: csound@maths.ex.ac.uk
In-Reply-To:  (message from Kay Q Lee on Mon,
	15 Jun 1998 03:19:14 -0700)
Subject: Re: Newbie question: window
References:  
Date: Mon, 15 Jun 98 15:15:19 BST
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

When doing a phase vocoding one is really doing a Fourier transform on
a series of sections of the audio.  These sections are called windows,
and and usually arranged so as to overlap.  The PV file is the
spectral information for a series of these time windows.  

I realise that is a simplistic explaination, but.....  the larger the
window the faster the PV, but the more smearing there is as it does
not track changes so well.  Small windows are slow, and not so
accurate as there is insufficient data to get accurate estimates.

I leave it to teh DSP experts to explain in detail.

==John ff



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12558;
          15 Jun 98 16:28 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14973;
          15 Jun 98 16:28 BST
Received: (qmail 22370 invoked from network); 15 Jun 1998 15:28:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jun 1998 15:28:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA02132); Mon, 15 Jun 1998 16:14:37 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Mon, 15 Jun 98 16:14:11 +0100
Received: from nmol.com [206.162.11.2] by hermes via SMTP (QAA14945); Mon, 15 Jun 1998 16:14:02 +0100 (BST)
X-Routed: Mon, 15 Jun 1998 09:23:04 -0500
X-Tcp-Identity: Mikeb
Received: from nmol.com [206.162.11.165] by nmol.com with smtp
	id AJBGBMAD ; Mon, 15 Jun 1998 09:22:28 -0500
Message-Id: <35853B60.BAE6561@nmol.com>
Date: Mon, 15 Jun 1998 09:18:59 -0600
From: Mike Berry 
X-Mailer: Mozilla 4.05 (Macintosh; I; PPC)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Newbie question: window
References:  
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

The tradeoff in a FFT-based analysis system is between temporal accuracy and
frequency accuracy.  An FFT is an "analysis" of a chunk of samples in time. 
If your window is 1024 samples, then you get a single set of FFT data which
represents these 1024 samples.  You would get 512 different amplitudes and
phases of frequency bands, the bands equally spaced across the spectrum.  At
44.1kHz, this means a band every 43 Hz (22050 / 512).  However, your temporal
information is completely hidden inside the transform.  If a note were to
start in the middle of a window, you would not know exactly when it started. 
In effect, the temporal data is "quantized" (I say quantized but really it is
a kind of indeterminacy) to 23 ms in this case (1024 samples / 44.1kHz).
	So here's where the tradeoff begins.  Make the window 512 samples.  Then you
quantize to 11.6 ms, but you only get bands every 86 Hz.  2048 samples = 22 Hz
but 46 ms.
	The Phase Vocoding process assumes that the data in the FFT analysis can be
stretched or compressed temporally.  This assumption is more or less valid
depending on the original material and how it was analyzed.  As a general
rule, continuously pitched material is going to sound better if a large window
is used, because the frequencies are going to be more accurate.  Music with
many "events" will sound better with a small window.  Unfortunately, most
music has both elements, so you need to reach a compromise that suits your
purposes.  That's why the window size in not defined for you.


> I realise that is a simplistic explaination, but.....  the larger the
> window the faster the PV, but the more smearing there is as it does
> not track changes so well.  Small windows are slow, and not so
> accurate as there is insufficient data to get accurate estimates.

-- 
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13281;
          15 Jun 98 23:08 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa10303;
          15 Jun 98 23:08 BST
Received: (qmail 1531 invoked from network); 15 Jun 1998 22:07:45 -0000
Received: from amos.bath.ac.uk (qmailr@138.38.32.36)
  by mercury.bath.ac.uk with SMTP; 15 Jun 1998 22:07:45 -0000
Received: (qmail 18595 invoked by uid 1457); 15 Jun 1998 22:07:38 -0000
Mailing-List: contact xtcsound-help@lists.bath.ac.uk; run by ezmlm
Precedence: bulk
Delivered-To: mailing list xtcsound@lists.bath.ac.uk
Received: (qmail 18587 invoked from network); 15 Jun 1998 22:07:37 -0000
Received: from pat.bath.ac.uk (qmailr@138.38.32.2)
  by amos.bath.ac.uk with SMTP; 15 Jun 1998 22:07:37 -0000
Received: (qmail 16083 invoked from network); 15 Jun 1998 22:07:35 -0000
Received: from pong.ping.at (193.81.13.2)
  by pat.bath.ac.uk with SMTP; 15 Jun 1998 22:07:35 -0000
Received: from [193.154.184.45] (e045.dynamic.Vienna.AT.EU.net [193.154.184.45])
	by pong.ping.at (8.8.8/8.8.8) with ESMTP id AAA22120
	for ; Tue, 16 Jun 1998 00:07:33 +0200 (CEST)
Date: Tue, 16 Jun 1998 00:07:33 +0200 (CEST)
Message-Id: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: xtcsound@lists.bath.AC.UK
From: Karl Petermichl 
Subject: hardware conflicts possible?

Hi,

I am glad this list is up and running, thanks to all who make this possible.

I received my card 2 weeks ago but have not installed it because I wanted
to find out about possible problems with othe sound cards. As I couldnt
find the specific needs for I/O areas, DMA channles or Interrupts in the
enclosed infos, I want to ask this on this list.

I do have a Terratec EWS64XL at the moment, which is VERY resource hungry,
so maybe I should dump it BEFORE I install the xtc board?

BTW, is it possible to use the digital ins from the xtc board for straight
HD reording from Win applications like Soundforge etc? the info says it
does install windows drivers but I wanted to check this BEFORE I install
it...

I hope I can in the future ask not such (...stupid...) basic questions, but
post interesting sound design tips.....:)))))))



Thanks for any answers,

karl.




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13289;
          15 Jun 98 23:14 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa10612;
          15 Jun 98 23:14 BST
Received: (qmail 16549 invoked from network); 15 Jun 1998 22:14:11 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jun 1998 22:14:11 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA12211); Mon, 15 Jun 1998 23:10:41 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Mon, 15 Jun 98 23:10:18 +0100
Received: from [158.94.2.5] by hermes via ESMTP (XAA01615); Mon, 15 Jun 1998 23:10:12 +0100 (BST)
Received: from CONVERSION-DAEMON by mdx.ac.uk (PMDF V5.1-10 #18911)
 id <01IYA6VHY66O008S92@mdx.ac.uk> for Csound@maths.ex.ac.uk; Mon,
 15 Jun 1998 23:12:37 BST
Received: from default (stu-dialup13.mdx.ac.uk)
 by mdx.ac.uk (PMDF V5.1-10 #18911) with SMTP id <01IYA6VFCQVO008AFY@mdx.ac.uk>
 for Csound@maths.ex.ac.uk; Mon, 15 Jun 1998 23:12:35 +0100 (BST)
Date: Mon, 15 Jun 1998 22:05:38 +0100
From: Jamie Bullock 
Subject: Re: Multichannel outs
To: Csound List 
Message-Id: <00e001bd98a9$bcaea8e0$37015e9e@default>
Mime-Version: 1.0
X-Mailer: Microsoft Outlook Express 4.72.2106.4
Content-Type: text/plain
X-Msmail-Priority: Normal
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
X-Priority: 3
Content-Transfer-Encoding: quoted-printable
X-Mime-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id XAA01615
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


-----Original Message-----
From: johnnie ligotage 
To: Jamie Bullock 
Cc: Csound List 
Date: 13 June 1998 00:55
Subject: Re: Multichannel outs


>> them. Perhaps it's up to people like us (Csounders) to put pressure on
our
>> respective soundcard manufacturers to provide proper Quad driver suppo=
rt.
>> As Richard implies, it's only a matter of time before multi-channel
support
>> is pretty much standard.
>
>I'm relatively new to this list and am using an atari falcon. Ever since
>the machine came out, we've had support for up to 8 channel output. OK y=
ou
>need to buy some extra hardware - <=A3200 - but it's there. We've even g=
ot a
>dedicated DSP chip. Strikes me, that pc and mac owners are a bit behind
>the times... ;-)
>
I don't think so!
Like a few others you've misinterpreted my posting, re: there is a big
difference between the numerous cards/drivers/apps which support
'multichannel recording and playback', and cards/drivers/apps which are a=
ble
to record/playback  multichannel files (ie. more than stereo). In fact I
have only ever come accross a handful of apps which can deal with
multichannel files, and have never been able to play one back in its
original form.
I can only re-iterate Richard Dobson's recent comments with regard to
reasons for not making multichannel files redundant, but suffice to say, =
the
ultimate scenario would be to take an Octophonic file into a DSP app, and
process it with true Octaphonic reverb or subject it to other processes
which make use of its multichannel nature.
I'm not preaching that working in multichannels is definitely the way
forward, in fact stereo diffused over multiple channels may be much more
effective for certain types of material. However, it would be nice to try
some of these things out.

Regards,

JamieB





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13394;
          16 Jun 98 0:19 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14498;
          16 Jun 98 0:19 BST
Received: (qmail 19182 invoked from network); 15 Jun 1998 23:19:55 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jun 1998 23:19:55 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA01803); Tue, 16 Jun 1998 00:15:22 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 00:15:04 +0100
Received: from endeavor.flash.net [209.30.0.40] by hermes via ESMTP (AAA14684); Tue, 16 Jun 1998 00:14:55 +0100 (BST)
Received: from flash.net (fwasc13-139.flash.net [209.30.26.139])
	by endeavor.flash.net (8.8.8/8.8.5) with ESMTP id SAA01066
	for ; Mon, 15 Jun 1998 18:14:57 -0500 (CDT)
Message-Id: <3585AB47.3B7AE4F@flash.net>
Date: Mon, 15 Jun 1998 18:16:24 -0500
From: pete moss 
Organization: pete moss GmbH
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: csound 
Subject: diffusion
References: <19980615033625.26225.rocketmail@send1c.yahoomail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

there has been a word thrown around recently that i dont quite
understand.  that word is diffusion.  i understand that it may be
possible to play a stereo file into more than two channels, but how
exactly does diffusion work?  do you just pan one channel between
several others?  does anyone know of any good literature on the subject?



pete




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13644;
          16 Jun 98 2:49 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25331;
          16 Jun 98 2:49 BST
Received: (qmail 14235 invoked from network); 16 Jun 1998 01:48:58 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 16 Jun 1998 01:48:58 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA27524); Tue, 16 Jun 1998 02:44:27 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 02:44:03 +0100
Received: from f115.hotmail.com [207.82.250.165] by hermes via SMTP (CAA25888); Tue, 16 Jun 1998 02:43:56 +0100 (BST)
Received: (qmail 23979 invoked by uid 0); 16 Jun 1998 01:43:29 -0000
Message-Id: <19980616014329.23978.qmail@hotmail.com>
Received: from 207.172.192.55 by www.hotmail.com with HTTP;
	Mon, 15 Jun 1998 18:43:29 PDT
X-Originating-Ip: [207.172.192.55]
From: Paul Winkler 
To: csound@maths.ex.ac.uk
Subject: how to pipe  -L events in linux/unix
Content-Type: text/plain
Date: Mon, 15 Jun 1998 18:43:29 PDT
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I'm new to C programming. I'm trying to make a test program write a 
series of csound score events to somewhere csound can read them in 
realtime (by using the -L flag). So far the only thing that works is to 
do "foobar | csound -L etc..." which is not what I want, because 
eventually I want foobar to accept some user commands before starting 
csound itself via system(). I tried doing that and having my app just 
printf() the score events to standard output. Doesn't work: csound does 
in fact start, but it seems to ignore the score events even though I see 
them on stdout. Of course then I realized why -- the pipe's missing!

I know there's a way to do this, and I think it has to do with mkfifo or 
popen or something, but my limited C/unix knowledge is hampering me and 
I can't seem to figure it out from my big fat C book ("A Book on C" by 
Kelley & Pohl).

Can anyone sketch out a basic method to use for this? What device to I 
want to use with the -L flag, and how do I get my code to write to it? 

Point me to some tutorials, man pages, or anything else useful... or 
just send me a few lines of code and I'll figure it out from there...

thanks,

PW 

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13969;
          16 Jun 98 5:01 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03451;
          16 Jun 98 5:01 BST
Received: (qmail 27094 invoked from network); 16 Jun 1998 04:00:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 16 Jun 1998 04:00:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA13065); Tue, 16 Jun 1998 04:57:53 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 04:57:30 +0100
Received: from rcsreg.rcsreg.com [198.176.199.30] by hermes via SMTP (EAA09720); Tue, 16 Jun 1998 04:57:24 +0100 (BST)
Received: from port055.vta.fishnet.net (port055.vta.fishnet.net [205.216.133.204]) by rcsreg.com (NTMail 3.02.12) with ESMTP id wa006132 for ; Mon, 15 Jun 1998 20:54:48 +0100
Message-Id: <3585ED54.28761032@rcsreg.com>
Date: Mon, 15 Jun 1998 20:58:12 -0700
From: Toby 
Organization: Other than 12-tone
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.1.91 i586)
Mime-Version: 1.0
To: Paul Winkler , 
    Csound Mailing List 
Subject: Re: how to pipe  -L events in linux/unix
References: <19980616014329.23978.qmail@hotmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I have only read about this sort of thing, but I have
an idea that I think would be PAINLESS!!

Use the unix command 'mkfifo' to establish the pipe first
in the file system.  Then you can 'fopen()' the pipe from C,
and cause Csound to read from the pipe in the 'system() command'.

Sure, it's not pretty, but if all you want is for the thing to
work, then this may be your answer.

Cleaner would be 'popen()' with a fork(), or better yet shmget().
Tougher though.

Toby

	-There otta be a law-

> I know there's a way to do this, and I think it has to do with mkfifo or
> popen or something, but my limited C/unix knowledge is hampering me and
> I can't seem to figure it out from my big fat C book ("A Book on C" by
> Kelley & Pohl).



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14202;
          16 Jun 98 7:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa10665;
          16 Jun 98 7:04 BST
Received: (qmail 23278 invoked from network); 16 Jun 1998 06:04:31 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 16 Jun 1998 06:04:31 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA14511); Tue, 16 Jun 1998 06:50:55 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 06:50:40 +0100
Received: from bbnrel4.hp.com [155.208.254.68] (may be forged) by hermes via ESMTP (GAA23126); Tue, 16 Jun 1998 06:50:29 +0100 (BST)
Received: from bidra168.bbn.hp.com (bidra168.bbn.hp.com [15.136.77.168])
	by bbnrel4.hp.com (8.8.6/8.8.5tis) with ESMTP id HAA07913
	for ; Tue, 16 Jun 1998 07:50:44 +0200 (METDST)
Received: by bidra168.bbn.hp.com
	(1.39.111.2/16.2+BAMS 4.0 ISO+4.1) id AA082306151; Tue, 16 Jun 1998 07:49:11 +0200
Message-Id: <199806160549.AA082306151@bidra168.bbn.hp.com>
Subject: Re: how to pipe  -L events in linux/unix
To: zarmzarm@hotmail.com
Date: Tue, 16 Jun 1998 7:49:11 METDST
Cc: csound@maths.ex.ac.uk
In-Reply-To: <19980616014329.23978.qmail@hotmail.com>; from "Paul Winkler" at Jun 15, 98 6:43 pm
Organization: Hewlett-Packard GmbH
From: Jens Kilian 
Reply-To: Jens_Kilian@bbn.hp.com
X-Mailer: Elm [revision: 212.4]
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> I know there's a way to do this, and I think it has to do with mkfifo or 
> popen or something, but my limited C/unix knowledge is hampering me and 
> I can't seem to figure it out from my big fat C book ("A Book on C" by 
> Kelley & Pohl).

popen() is what you want.

popen() combines system() with fopen():

        FILE *fp = popen("csound -L ...", "w");

        fprintf(fp, "score event", ...);

        pclose(fp);

HTH,
        Jens.
--
mailto:jjk@acm.org                 phone:+49-7031-14-7698 (HP TELNET 778-7698)
  http://www.bawue.de/~jjk/          fax:+49-7031-14-7351
PGP:       06 04 1C 35 7B DC 1F 26 As the air to a bird, or the sea to a fish,
0x555DA8B5 BB A2 F0 66 77 75 E1 08 so is contempt to the contemptible. [Blake]



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14253;
          16 Jun 98 8:04 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14234;
          16 Jun 98 8:04 BST
Received: (qmail 1384 invoked from network); 16 Jun 1998 07:04:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 16 Jun 1998 07:04:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA24717); Tue, 16 Jun 1998 07:59:12 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 07:58:53 +0100
Received: from root@ax-nicb.axnet.it [194.184.60.149] by hermes via ESMTP (HAA23019); Tue, 16 Jun 1998 07:58:43 +0100 (BST)
Received: (from nicb@localhost)
	by ax-nicb.axnet.it (8.8.8/8.8.8) id IAA10065;
	Tue, 16 Jun 1998 08:58:17 +0200
Date: Tue, 16 Jun 1998 08:58:15 +0200 (MET DST)
From: Nicola Bernardini 
To: Csound mailing list 
Cc: zarmzarm@hotmail.com
Subject: Re: how to pipe  -L events in linux/unix
In-Reply-To: <199806160549.AA082306151@bidra168.bbn.hp.com>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

On Tue, 16 Jun 1998, Jens Kilian wrote:

> > I know there's a way to do this, and I think it has to do with mkfifo or 
> > popen or something, but my limited C/unix knowledge is hampering me and 
> > I can't seem to figure it out from my big fat C book ("A Book on C" by 
> > Kelley & Pohl).
> 
> popen() is what you want.
> 
> popen() combines system() with fopen():
> 
>         FILE *fp = popen("csound -L ...", "w");
                                      ^^^
				      ^^^
precisely, what name would you put there for a device? I tried making a
fifo queue with mkfifo, then piping data into it, then opening
csound -L fifo etc. etc. but it does'nt work. It says:

Csound Version 3.482
(Jun  5 1998)
orchname:  osc.orc
realtime performance using dummy numeric scorefile
orch compiler:
13 lines read
instr   1
MIT Csound: 3.482 (Jun  5 1998)
orch now loaded
displays suppressed
stdmode = 00000000 Linefd = 3
audio buffered in 1024 sample-frame blocks
WARNING: Sample rate set to 44194 (instead of 44100)
hardware buffers set to 2048 bytes
writing 2048-byte blks of shorts to devaudio (IRCAM)
cannot reopen (null)
stdmode = 00000000 Linefd = 3

and quits. Of course if we were to use real unix facilities, we should
be doing something like this:

echo "i1, f1, etc. blah blah" | csound -do devaudio -L - orc.orc

where the '-' after the -L, as in all unix utilities would be intended
to be 'stdin' because there is no name for stdin since it can be the
tty you're working on *OR* a redirected file *OR* a pipe etc. (everything
is automatically handled by your shell so there's no single stdin
device). Not yet implemented perhaps?

> 
>         fprintf(fp, "score event", ...);
> 
>         pclose(fp);

Yes and there would be no need for C programming at all, BTW.

Nicola

------------------------------------------------------------------------
Nicola Bernardini
E-mail: nicb@axnet.it
 
Re graphics: A picture is worth 10K words -- but only those to describe
the picture.  Hardly any sets of 10K words can be adequately described
with pictures.




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14298;
          16 Jun 98 8:43 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa16588;
          16 Jun 98 8:43 BST
Received: (qmail 6100 invoked from network); 16 Jun 1998 07:42:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 16 Jun 1998 07:42:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA23751); Tue, 16 Jun 1998 08:38:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 08:38:23 +0100
Received: from bbnrel4.hp.com [155.208.254.68] (may be forged) by hermes via ESMTP (IAA24056); Tue, 16 Jun 1998 08:38:11 +0100 (BST)
Received: from bidra168.bbn.hp.com (bidra168.bbn.hp.com [15.136.77.168])
	by bbnrel4.hp.com (8.8.6/8.8.5tis) with ESMTP id JAA19184
	for ; Tue, 16 Jun 1998 09:38:25 +0200 (METDST)
Received: by bidra168.bbn.hp.com
	(1.39.111.2/16.2+BAMS 4.0 ISO+4.1) id AA084442612; Tue, 16 Jun 1998 09:36:52 +0200
Message-Id: <199806160736.AA084442612@bidra168.bbn.hp.com>
Subject: Re: how to pipe  -L events in linux/unix
To: csound@maths.ex.ac.uk
Date: Tue, 16 Jun 1998 9:36:52 METDST
In-Reply-To: ; from "Nicola Bernardini" at Jun 16, 98 8:58 am
Organization: Hewlett-Packard GmbH
From: Jens Kilian 
Reply-To: Jens_Kilian@bbn.hp.com
X-Mailer: Elm [revision: 212.4]
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> >         FILE *fp = popen("csound -L ...", "w");
>                                       ^^^
>                                     ^^^
> precisely, what name would you put there for a device? I tried making a
> fifo queue with mkfifo, then piping data into it, then opening
> csound -L fifo etc. etc. but it does'nt work.

It should be whatever causes Csound to read from stdin.  I don't recall
offhand if that's even possible.  Perhaps "stdin" or "console"?
(It *should* be "-", of course.)

> where the '-' after the -L, as in all unix utilities would be intended
> to be 'stdin' because there is no name for stdin since it can be the
> tty you're working on *OR* a redirected file *OR* a pipe etc. (everything
> is automatically handled by your shell so there's no single stdin
> device). Not yet implemented perhaps?

I think that at least some Csound versions can read from stdin, but don't call
it "-".

Bye,
        Jens.
--
mailto:jjk@acm.org                 phone:+49-7031-14-7698 (HP TELNET 778-7698)
  http://www.bawue.de/~jjk/          fax:+49-7031-14-7351
PGP:       06 04 1C 35 7B DC 1F 26 As the air to a bird, or the sea to a fish,
0x555DA8B5 BB A2 F0 66 77 75 E1 08 so is contempt to the contemptible. [Blake]



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14751;
          16 Jun 98 11:33 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa29833;
          16 Jun 98 11:33 BST
Received: (qmail 20247 invoked from network); 16 Jun 1998 10:33:43 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 16 Jun 1998 10:33:43 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA22402); Tue, 16 Jun 1998 11:27:42 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 11:27:16 +0100
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (LAA26526); Tue, 16 Jun 1998 11:27:10 +0100 (BST)
Received: (qmail 29813 invoked from network); 16 Jun 1998 10:20:15 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.217)
  by jaguars with SMTP; 16 Jun 1998 10:20:15 -0000
Message-Id: <35864772.2DF59ADE@cableinet.co.uk>
Date: Tue, 16 Jun 1998 11:22:42 +0100
From: Richard Dobson 
Organization: Composers Desktop project
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: csound 
Subject: Re: diffusion
References: <19980615033625.26225.rocketmail@send1c.yahoomail.com> <3585AB47.3B7AE4F@flash.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

This is a classic case of one word having different meanings in different
contexts. For acousticians, recording engineers and designers of reverb systems,
it refers to the way sound is spread (and reduced in energy) when reflected from
irregular surfaces (by direect analogy with optical diffusion).

The term is also used by electro-acoustic composers and sound engineers, to
refer to the sometimes serendipitous  technique of playing back a (presumably
stereo) sound through a multi-speaker setup, by fiddling around with channel
sliders on a mixer (or using some hitec automated process. The term usually
embraces not just the live performance, but also the technical preparations in
setting up the speakers, mixer, and so on. 

So sound will be diffused by an acoustical space, but it will also be diffused
by the way it is presented over a speaker system in live performance.

I know of no literature about the latter meaning - it's probably best to go to a
few concerts and talk to the people twiddling the knobs!

Richard Dobson 

pete moss wrote:
> 
> there has been a word thrown around recently that i dont quite
> understand.  that word is diffusion.  i understand that it may be
> possible to play a stereo file into more than two channels, but how
> exactly does diffusion work?  do you just pan one channel between
> several others?  does anyone know of any good literature on the subject?
> 
> pete



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14782;
          16 Jun 98 11:38 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00279;
          16 Jun 98 11:38 BST
Received: (qmail 20443 invoked from network); 16 Jun 1998 10:38:18 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 16 Jun 1998 10:38:18 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA20700); Tue, 16 Jun 1998 11:24:41 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 16 Jun 98 11:24:18 +0100
Received: from post-20.mail.demon.net [194.217.242.27] by hermes via SMTP (LAA27050); Tue, 16 Jun 1998 11:24:12 +0100 (BST)
Received: from (default) [194.222.18.29] 
	by post.mail.demon.net with smtp (Exim 1.82 #2)
	id 0ylsuX-0004SD-00; Tue, 16 Jun 1998 10:24:18 +0000
From: Dave Perry 
To: CSound 
Date: Tue, 16 Jun 1998 03:15:22 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Subject: VisOrc 1.75
Reply-To: dave@dingy.demon.co.uk
Priority: normal
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi all,

	First,  thanks to everyone who downloaded version 1.7,    and also
for all the encouraging mail I have received in the last few weeks.   
Before I vacate the country for a few weeks I've put out a small 
upgrade which fixes some bugs and adds some more features.   You can 
now find VisOrc and the upgrade at my site:



at Robin Whittle's HomePage (Australia)

 

and at the Bath FTP server



If you haven't seen VisOrc in a while,   why not check out a screen 
shot of the new version:

The ORC editor:  
The SCO editor:  

With thanks,
Dave Perry