Csound Csound-dev Csound-tekno Search About

Cs Windows "Pocket" Manual!

Date1997-05-25 13:31
FromLuca Pavan
SubjectCs Windows "Pocket" Manual!
I've realized a Windows "Pocket" Csound manual (.doc): you can have the manual
(including releases from 3.10 to 3.46) in only 36 sheets!!
Features are: A4 paper, 8 point, 2 columns.

You can download the manual at my web page:

http://www.friends.panservice.it/pa2278



Luca Pavan                              e-mail: pavan@panservice.it
Latina - Italy                          http://people.panservice.it/pa2278

----------------------------------------------------------------------------
"The fair breeze blew, the white foam flew,
 The furrow followed free;
 We were the first that ever burst
 Into that silent sea."
                           




Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28249;
          25 May 97 15:24 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa12469;
          25 May 97 15:24 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Sun, 25 May 1997 15:24:09 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA06835);
          Sun, 25 May 1997 15:21:06 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Sun, 25 May 97 15:21:00 +0100
Received: from condor.CC.UMontreal.CA [132.204.2.103] by hermes 
          via ESMTP (PAA06828); Sun, 25 May 1997 15:20:58 +0100
Received: from eole.ERE.UMontreal.CA (eole.ERE.UMontreal.CA [132.204.2.70]) 
          by condor.CC.UMontreal.CA with ESMTP id KAA19654  (8.6.11/IDA-1.6 
          for ); Sun, 25 May 1997 10:15:23 -0400
Received: from mistral.ERE.UMontreal.CA 
          by eole.ERE.UMontreal.CA (951211.SGI.8.6.12.PATCH1042/5.17)	id KAA02688;
          Sun, 25 May 1997 10:20:07 -0400
Received: from GAP 
          by mistral.ERE.UMontreal.CA (951211.SGI.8.6.12.PATCH1042/5.17)	id KAA15857;
          Sun, 25 May 1997 10:20:04 -0400
Message-Id: <33884702.15FB@ere.umontreal.ca>
Date: Sun, 25 May 1997 10:04:50 -0400
From: Jean Piche 
X-Mailer: Mozilla 3.01SGoldC-SGI (X11; I; IRIX 6.3 IP32)
Mime-Version: 1.0
To: csound 
Subject: Missing opcode docs....
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

For manual entries and completeness' sake, I am missing the docs for
these:


kcgoto
                 
kareson
kreson
ktone 
katone 
kport
     
oscilx   
      
ktableseg           
ktablexseg      
    
limit  
seed   
peak 

Please mail...


-- 
________________________________________________________
Jean Piche
Universite de Montreal
http://mistral.ere.umontreal.ca/~pichej
http://www.musique.umontreal.ca/Org/CompoElectro/CEC/



Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28326;
          25 May 97 17:12 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa12938;
          25 May 97 17:12 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Sun, 25 May 1997 17:11:38 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA09154);
          Sun, 25 May 1997 17:07:36 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Sun, 25 May 97 17:07:29 +0100
Received: from mailbox.swip.net [193.12.122.1] by hermes via ESMTP (RAA09148);
          Sun, 25 May 1997 17:07:28 +0100
Received: from rasmus (dialup161-1-6.swipnet.se [130.244.161.6])           
          by mailbox.swip.net (8.7.6swip/8.7.3) with SMTP           
          id SAA21948;           Sun, 25 May 1997 18:07:27 +0200 (MET DST)
Message-Id: <338863D0.32C8@hexagon.se>
Date: Sun, 25 May 1997 18:08:27 +0200
From: rasmus ekman 
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: Jean Piche 
Cc: csound@maths.ex.ac.uk
Subject: Re: Missing opcode docs....
References: <33884702.15FB@ere.umontreal.ca>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Content-type: multipart/mixed; boundary="------------411FE846767"

--------------411FE846767
Content-type: text/plain; charset="us-ascii"
Content-transfer-encoding: 7bit

Jean Piche wrote:
> 
> kareson
> kreson
> ktone
> katone
> kport
> limit

ugrw2.txt (Robin Whittle's additions, 2nd part.)
I thought this was all around. I'll attach for convenience.

> ktableseg
> ktablexseg

are tableseg, tablexseg, covered among other new pvoc opcodes
by R. Karpen, in 3.44 notes

This is a slight inconvenience with the -z flag; 
that it lists the internal Csound names for opcodes, 
which often are prefixed with k's or i's

> seed

some info in ugrw1.txt about this, in Robin Whittle's 
discussion on 31-bit random generators (will this be 
included in future releases? Hope so, but use some 
version from Numerical Recipies or Knuth...)

> oscilx

aoscilx coded by Paris Smaragdis. Ask him?
 
> peak

in ugrw1.c, but not in the docs ugrw1.txt.
Robin?


cheers,
	re

--------------411FE846767
Content-Disposition: inline; filename="Ugrw2.txt"
Content-type: text/plain; charset="us-ascii"; name="Ugrw2.txt"
Content-transfer-encoding: 7bit

UGRW2.DOC


A description of the new k rate filter unit generators and the limit 
and ilimit ugens in UGRW2.C and UGRW2.H.

9 September 1995

Robin Whittle   firstpr@ozemail.com.au  rwhittle@ozonline.com.au
                http://www.ozemail.com.au/~firstpr

For Csound users and C programmers.


Short description 
=================

kport 
-----
        is like port, except the half time can be controlled at k 
        rate.

ktone, katone, kreson and kareson 
---------------------------------


        are like tone, atone, reson and areson except:

        1 -     They work with k rate signals instead of a rate.

        2 -     For kreson and kareson, the default for iscl is 1.


limit ilimit
------------

        These set upper and lower limits on i, k or a rate variables.




Full descriptions:
==================

kport, ktone, katone, kreson and kareson 
========================================

Please refer to the Csound manual for details of the original versions 
of these unit generators.


kr      kport   ksig, khtime [,isig]

    
    ksig    k rate output.

    khtime  k rate time for output ot reach halfway to input.

    isig    i time, initialisation for internal state.


kr      ktone   ksig, khp [,istor]
kr      katone  ksig, khp [,istor]

    ksig    k rate output.

    khp     k rate frequency at which half power is reached.

    istor   i time, initialise internal state. Default 0 = clear.
 


kr      kreson  ksig, kcf, kbw [, iscl] [,istor] 
kr      kareson ksig, kcf, kbw [, iscl] [,istor] 

    ksig    k rate output.

    kcf     k rate centre frequency.

    kbw     k rate bandwidth - between lower and upper half power points.

    iscl    i time, 0 = no gain change (default fr a rate reson, areson
                                        but leads to huge signals.)     

                    1 = gain at centre frequency = 1 (default)

                    2 = overal RMS gain = 1 (What exactly does this mean?)
 
   istor    i time, initialise internal state. Default 0 = clear.
 


I have not exhaustively tested these ugens, but they seem to work 
fine.



limit and ilimit
================

ir      ilimit  isig, ilow, ihigh

kr      limit   ksig, klow, khigh
ar      limit   asig, klow, khigh

These set lower and upper limits on the xsig value they process. If 
xhigh is lower than xlow, then the output will be the average of the 
two - it will not be affected by xsig.

i rate variables control ilimit.  k rate variables control the a or k 
rate limit ugen.


--------------411FE846767--


Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28925;
          26 May 97 5:01 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa16210;
          26 May 97 5:01 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 26 May 1997 05:00:45 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (EAA24743);
          Mon, 26 May 1997 04:55:17 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Mon, 26 May 97 04:55:08 +0100
Received: from root@discover-net.net [208.134.196.20] by hermes 
          via ESMTP (EAA24739); Mon, 26 May 1997 04:55:07 +0100
Received: from PC_hljmm.discover-net.net (max-ec2-176.discover-net.net [208.134.205.176]) 
          by discover.discover-net.net (8.8.5/8.7.3) with SMTP id WAA17473 
          for ; Sun, 25 May 1997 22:55:38 -0500 (CDT)
Message-Id: 
Priority: Normal
To: csound@maths.ex.ac.uk
Mime-Version: 1.0
From: Hans Mikelson 
Subject: Mock TB303 Instrument with Sequencer
Date: Sun, 25 May 97 21:48:03 PDT
Content-Type: text/plain; charset=US-ASCII; X-MAPIextension=".TXT"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Here's another TB303 clone.  It was so much fun I couldn't resist posting 
it.  Hopefully it won't need too much doctoring up after passing through 
the email.  Since I don't have a real TB I had to do some guessing on wave 
shape and slide and just made up some other stuff based on some samples I 
got off the net.  Let me know if you have any comments.  I had some trouble 
implementing the bipolar bit so I didn't do it.  I use an envelope on the 
resonance on this instrument.

;
;-------------------------------------------------------------------------
; TB Wannabe
;-------------------------------------------------------------------------

sr = 44100
kr  =  44100
ksmps =1
nchnls = 2

;-------------------------------------------------------------------------

instr 15   ; Table Based Rezzy Synth with Enveloped Resonance
;-------------------------------------------------------------------------
; A whole bunch of initializations.
;-------------------------------------------------------------------------

idur     =    p3
iamp     =    p4
ifqc     =    cpspch(p5)
irez     =    p7
itabl1   =    p8
kvalley  init 0
kpeak    init 0
knewval  init 1
knewpk   init 1
ksaveval init 0
ksavepk  init 0
kynm1      init 0
kynm2      init 0
ktynm1     init 0
ktynm2     init 0
kfrangenm1 init 0
kfrangenm2 init 0
knewrez    init 0
kfsweep    init 30
kstep      init 0
knxtstp    init 1

; LFO Frequency Sweep
;-------------------------------------------------------------------------
  kfsweep expseg 30, .5*p3, p6, .5*p3, 30

; Sequencer Section
;-------------------------------------------------------------------------
  loop1:
;     Read the duration for the current step of the sequence.
      kdur  table  kstep, 21
      kdur1  =     kdur/8               ; Make the step smaller.

;     Frequency Envelope
      kfco expseg 20, .1, i(kfsweep), i(kdur1)-.1, 20

;     Amplitude envelope
      kaenv  linseg 0, .01, 1, i(kdur1)-.02, 1, .01, 0

;     Panning
      kpanleft  table kstep, 22
      kpanright table kstep, 23

;     Pitch for the step of the sequence.
      kpch1 table  kstep, 20
      kfqc1 =      cpspch(kpch1)

;     Pitch for the next step need for sliding to the next step.
      kpch2 table  knxtstp, 20
      kfqc2 =      cpspch(kpch2)

;     If the slide is turned on then slide up to the next step otherwise 
;don't.
      if (p9 = 0) goto skipslide
        kfqc  linseg i(kfqc1), i(kdur1)-.04, i(kfqc1), .04, i(kfqc2)
        goto nxtslide
      skipslide:
        kfqc  = kfqc1
      nxtslide:

;     When the time runs out go to the next step of the sequence and 
;reinitialize the envelopes.
      timout 0, i(kdur1), cont1
        kstep   = frac((kstep + 1)/8)*8
        knxtstp = frac((kstep + 1)/8)*8

        reinit loop1
  cont1:

; Start with my low pass resonant filter.

; This relationship attempts to separate Freq. from Res.
    ka1    = 100/irez/sqrt(kfco)-1
    kta1   = 100/sqrt(kfco)-1
    ka2    = 1000/kfco

; Oscillator
  kxn oscil iamp, kfqc, itabl1

; Replace the differential eq. with a difference eq.
  kyn = ((ka1+2*ka2)*kynm1-ka2*kynm2+kxn)/(1+ka1+ka2)
  ktyn = ((kta1+2*ka2)*ktynm1-ka2*ktynm2+kxn)/(1+kta1+ka2)

; Extract the resonance from the filtered signal.
  koldrez = knewrez
  knewrez = kyn-ktyn

; This section determines current peak and valley values and the range.
; As long as the signal rises it tracks peak.  When it falls it updates
; peak and tracks valley.

  if (koldrez>=knewrez) goto next1
    if (knewval != 1) goto next2
      knewval = 0
      knewpk  = 1
      kvalley = ksaveval
next2:
    ksavepk = knewrez

next1:
  if (koldrez<=knewrez) goto next 3
    if (knewpk != 1) goto next4
      knewpk  = 0
      knewval = 1
      kpeak   = ksavepk
next4:
    ksaveval = knewrez

next3:
; The current range is calculated and low pass filtered.
  krangen = abs(kpeak-kvalley)
  kfrangen = ((kta1+2*ka2)*kfrangenm1-ka2*kfrangenm2+krangen)/(1+kta1+ka2)

; The filtered range is used to envelope the resonance then distortion is 
;added.
  kclip1 = knewrez*kfrangen/irez/120000000
  kclip tablei kclip1, 7, 1, .5
  kout = ktyn + kclip*40000

; Update everything for the next pass.
  kynm2 = kynm1
  kynm1 = kyn
  ktynm2 = ktynm1
  ktynm1 = ktyn
  kfrangenm2 = kfrangenm1
  kfrangenm1 = kfrangen

; Convert to Audio Rates
  aout = kout

; Amp envelope, Pan and Output
  outs kaenv*kpanleft*aout, kaenv*kpanright*aout

endin

; Instrument in the style of the TB303 with built in sequencer.

f10 0  1024   8  1  256 .2  128 0 256 -.2 256  -1

; Distortion Table
;----------------------------------------------------------------------
f7 0 1024   8 -.8 42 -.78  200 -.74 200 -.7 140 .7  200 .74 200 .78 42 .8

; 8 Step Sequencer
;----------------------------------------------------------------------
; Step         1     2     3     4     5     6     7     8
; Pitch Table
f20  0   8  -2  7.00  7.00  7.00  7.00  7.05  7.00  7.00  7.00
f20  3   8  -2  7.00  8.00  7.00  8.00  7.05  8.00  7.05  8.00

; Dur Table
f21  0  8  -2  1     1     1     1     1     1     1     1

; Panning Amplitude Table  22=Left 23=Right
f22  0  8  -2  1     0     1     1     1     0     1     1
f23  0  8  -2  0     1     1     0     1     1     1     0

; Score
;----------------------------------------------------------------------
; Enveloped Distortion Filter
;        Dur  Amp     Dur   Fco   Res  Wave  Slide(1=On, 0=Off)
i15  0   6   4000    .125   2000  50   10    1

|    |    |  \   |     /      Hans P. Mikelson
|  __     |  __/ |  \    |    hljmm@discover-net.net
|__  |__  |__    |__ \_  |__  http://discover-net.net/~hljmm/




Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28973;
          26 May 97 5:20 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id ab16289;
          26 May 97 5:20 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 26 May 1997 05:20:17 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (FAA25149);
          Mon, 26 May 1997 05:16:49 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Mon, 26 May 97 05:16:42 +0100
Received: from sun1.fabaris.it [194.91.204.1] by hermes via ESMTP (FAA25142);
          Mon, 26 May 1997 05:16:28 +0100
Received: from sun1.fabaris.it by fabaris.it (SMI-8.6/SMI-SVR4)	id GAA01963;
          Mon, 26 May 1997 06:12:22 +0200
Message-Id: <33890F16.4AD3@fabaris.it>
Date: Mon, 26 May 1997 06:18:30 +0200
From: Riccardo Bianchini 
Reply-To: rb@fabaris.it
X-Mailer: Mozilla 3.01 (Win95; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: xunirand bug
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi Csounders,
I experienced a (light) bug in xunirand ugen: it seems that a *printf*
debugging statement has been left in the code, so that when it runs, it
printfs a lot of useless lines like
> r1=.67867687 r2=.34535
a line each generated value.
It's all right when you use iunirand (that printfs that line only once),
but worse when you use kunirand and horrible with aunirand, that fills
your console output with lines.

Can someone fix it? (Gabriel Maldonado is already doing it).

Bye.

Riccardo

----------------------------------------
Riccardo Bianchini
Conservatorio "S.Cecilia" - Roma (Italy)
----------------------------------------




Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29376;
          26 May 97 10:47 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa17742;
          26 May 97 10:47 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Mon, 26 May 1997 10:46:58 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (KAA02142);
          Mon, 26 May 1997 10:44:24 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Mon, 26 May 97 10:44:15 +0100
Received: from relay-7.mail.demon.net [194.217.242.9] by hermes 
          via SMTP (KAA02135); Mon, 26 May 1997 10:44:14 +0100
Received: from dingy.demon.co.uk ([194.222.18.29]) 
          by punt-1.mail.demon.net           id aa0617931; 26 May 97 10:36 BST
From: Dave Perry 
To: csound@maths.ex.ac.uk
Mmdf-Warning:  Parse error in original version of preceding line at 
              punt-1.mail.demon.net
Subject: Visual Orchestra update
Date: Wed, 21 May 1997 14:46:23 +0100
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <864639365.0617931.0@dingy.demon.co.uk>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

If you have previously downloaded the Visual Orchestra ZIP file with the
'Invalid Property Value,  380" bug,  a new working executable VISORC2.EXE
is now at my website:



and should replace the file of the same name in your installation directory

Please also D/L the file 'LITEON.ICO" (1K) and put it in the /ICO
subdirectory.

The Installation document is now available in both standard README.TXT and
Word 6.0 README.DOC formats.

------------------
David Perry
MA Electro Acoustic APU Cambridge UK
dave@dingy.demon.co.uk
http://www.anglia.ac.uk/hae/music/home.htm
------------------