Csound Csound-dev Csound-tekno Search About

quad panning

Date1997-07-12 17:56
FromMicheal Allen Thompson
Subjectquad panning
Anybody have any information on quad panning in Csound. I have tried a
bunch of things but none of them work the way I want them. 

Thanks
Michael

BTW has anybody compiled csound on BeOS? I would like to see your makefile
and any changes to the code you made... if that is ok? 

Date1997-07-12 19:21
From"Matt J. Ingalls"
SubjectRe: quad panning
Hi Micheal,

i have done a few pieces recently in quad - using Csound.ppc.  Since could
only HEAR quad out of our Pro-Tools I using DECKII (the piece of shit that
it is), i made 2 copies of my quad orc - one for front speakers, one for
back.  Then ran them in a batch, dumped them into DECK, split the channels
to mono,etc...  a BIG PAIN!

If this could be any use to anybody:
here is a pretty simple orc/sco that i have been using to play samples --
almost always with a "granular" - generated score.
	 (take the ';'s out of all the "front" lines to get all 4
channels!)

-m



  		sr      =       44100
        kr      =       2205
        ksmps   =       20
        nchnls  =       2

        instr   1
;---------------------------------------;
;	soundin instrument quad-front		;
;		matt ingalls					;
;
;
;	p3=dur  	p4=Amp 					;
;	p5=rise 	p6=decay 				;
;	p7=pitch 	p8=file					;
;	p9=pan(0-1) p10=panquant(0=off) 	;
;	p11=skip time						;
;	p12=distance (speakers = 1)			;
;
;
;---------------------------------------;

iamp	=	p4/p12

;--- determine pitch, file ---
ifile 	=	int(p8 + 50)
isize	table	p8 - 1,50,0,0,0

;---- panning ----
ipan	=		(p10 > 1 ? int(p9*p10)/p10 : p9)
;ipanfl 	tablei	ipan,1,1,.375,1
;ipanfr	tablei	ipan,1,1,.125,1
ipanbl tablei	ipan,1,1,.625,1
ipanbr	tablei	ipan,1,1,.875,1

;--- reading soundin ---
andx	phasor	p7*sr/isize,0
aout	tablei	isize*andx,ifile,0,p11*sr,1

;---- enveloping ----
kenvel	linen	iamp,p5,p3,p6
;aoutfl	=	kenvel*aout*ipanfl
;aoutfr	=	kenvel*aout*ipanfr
aoutbl	=	kenvel*aout*ipanbl
aoutbr	=	kenvel*aout*ipanbr

;------send signals to reverb unit--------;
;gaglobl	=	(aoutfl + aoutfr)/sqrt(p12)
galocll =	aoutbl * (p12 - 1)
galoclr =	aoutbr * (p12 - 1)

	outs	aoutbl, aoutbr
	endin


;put your own reverb instr here...


--->now the score

;	quad.sco		matt ingalls		;
;
;
;	p3=dur  	p4=Amp 					;
;	p5=rise 	p6=decay 				;
;	p7=pitch 	p8=file					;
;	p9=pan(0-1) p10=panquant(0=off) 	;
;	p11=skip time						;
;	p12=distance (speakers = 1)			;
;
;
;---------------------------------------;
; this table is the panning transfer function, prob. could use some sort
;of GEN09 for this instead..
f1	0	512	 5   	.0001 16  .3536 16 .5  16 .61 16 .707 16
.79 16 .866 16 .935 16  1  16 .935 16 .866 16 .79 16 .707 16 .61  16 .5 16
.3536 16 .0001
; this table is a list of the "actual" size of the sound files, starting
; with f51
f50 0	2	-2		1717204 817727
f51	0	1048576	-1	"decays.snd" 0 0 0
f52	0	1048576	-1	"had.snd" 0 0 0
;add more sound files here...

;	Generated Gesture from 0.0000 to 20.0000 seconds
;		with a p-max of 12
i1	0.0000	0.1000	1.0000	0.0030	0.0900	0.8933	4.0000	0.0000
0.0000	4.9589	16.4556	
i1	3.2659	0.1000	1.0000	0.0030	0.0900	0.9073	4.0000	0.9798
0.0000	4.9665	11.6093	
i1	4.9839	0.1000	1.0000	0.0030	0.0900	0.9150	4.0000	1.4952
0.0000	4.9266	9.4637	
i1	5.9918	0.1000	1.0000	0.0030	0.0900	0.9365	4.0000	1.7976
0.0000	4.8977	7.4961	
;etc......

e







Date1997-07-14 07:46
FromJens Kilian
SubjectCsound for BeOS (was quad panning)
> BTW has anybody compiled csound on BeOS? I would like to see your makefile
> and any changes to the code you made... if that is ok? 

I've managed to compile Csound 3.46, without support for graphics or realtime
I/O (yet :-), and I'm currently working on a UI front-end.  I'll send you
some diffs (when I get back to my BeBox).

Greetings,

        Jens.
--
mailto:jjk@acm.org                 phone:+49-7031-14-7698 (HP TELNET 778-7698)
                                     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]

Date1997-07-18 05:26
FromBurton Alexandre
SubjectCecilia for the Mac (at last...)

   	ftp://ftp.musique.umontreal.ca/pub/cecilia1.75b.sit.bin


 Be warned, it's still beta, and the documentation is not up to date. 
That should not prevent you from using the software with some success. 
The biggest difference between the Mac version and the Unix documentation 
is the removal of realtime control interface objects, so any reference to 
that sort of functionality does not apply to the Mac.

 I'd like to hear any sort of comments. We will try to fix and improve as 
much as we can for a "less beta" release near the beginning of september. 
At around the same time, a PC/Win95 beta should hit the FTP server.


                                                    Alexandre Burton
                                            burtona@ere.umontreal.ca



this is the README:

--

KNOWN ISSUES WITH THE MAC VERSION:

  This is BETA software.  It works, but still has to be cleaned up.  It's a 
  port from Unix (SGI), and even if the underlying programming language is 
  platform-independant, MacOS and Unix are quite different worlds 
  (especially in how programs communicate together).  Everything seems 
  functional, but we are still walking on thin ice.
 
  This package requires RAM! You need to run at the same time Csound (aka 
  "perf", a component of Mills Csound for PowerMac), Cecilia (and the 
  underlying Tool Command Language) and possibly Netscape (or something 
  simimar in function, for the docs).  Also, TCL is not known as an 
  efficient processing language, so at times on non 604e machines things 
  may feel somewhat slowish.  Cybil scripts may take a while to compile, 
  and the graphic updates may get sluggish when there is a large number of 
  breakpoints (say, over 400) in graph interfaces.  The "bare minimal" 
  hardware would be a PPC processor with 16megs of RAM while the "nice 
  setup" would be a 604 with 24megs or more.  My own machine, which is 
  working very well, is a 604e running at 180Mhz with 80megs of RAM and 
  OS7.6.1.
 
  A bug with the folder selection mecanism means we cannot use the Mac file 
  browser to choose a directory.  This is a problem with TCL, and Sun 
  should come up with a fix sooner or later...  So for now, directory paths 
  must be entered by hand (but fortunately the browser works for file 
  paths).
 
  There seems to be something wrong in the AppleEvent mechanism, where in 
  *some* hardware/software configurations, helper applications do not 
  launch properly (for example, Netscape does not launch when help is 
  reqested).  If this happens to you, launch Netscape by hand, and try 
  again.  Whatever the outcome, send some email so we can identify the 
  cause of that problem.  Before thinking you are victim of this, make sure 
  to specify your helpers in the Preferences.  Cecilia comes with 
  "pre-configured" helpers, which may not be what you are using.
 
  The documentation does not yet cover the changes made to the Macintosh 
  version, so things like "Alt" modifier keys, Unix paths, "exec" and 
  "pipe" references have not been removed.  Likewise, the new 
  functionalities of the Mac version have not been added.  However, most of 
  the changes should be either explicit or invisible, so it should handle 
  OK. On a similar note, the builtin csound reference is not the latest 
  latest one.
 
  Not all the dialogs have been updated to the Mac look and feel, so 
  occasionally you will stumble on a "dark" X/Motif-looking window...
 
  Similarily, not all of the key/mouse bindings have been trapped to 
  Mac-wise equivalent.  Some keyboard equivalents may not work, and some 
  equivalents may not be advertised.  More importantly, the Mac has only a 
  single mouse button, whereas the original Cecilia platform (SGI) had 
  three.  All the functionality has been reduced and purified to the single 
  button design, but some things may not be totally fluid yet.  If you find 
  any of these, a tiny report would be appreciated.
 
  The Cecilia files (prefs, modules, graphs and snapshots) still have bland 
  generic icons.  This might be taken care of at some point...
  
--