Csound Csound-dev Csound-tekno Search About

Amsterdam tutorials

Date1997-09-14 22:03
FromStuart Dudley Dimond III
SubjectAmsterdam tutorials
I've been working my way through the Amsterdam tutorials this week.
Breaking in my new PowerCenter 240 and getting used to csound.ppc. I
have been able to get them all to work except one: 20_20_6 
double-carrier FM, dynamic spectral evolution. It compiles down to the
section labeled: vibrato generator.

 On the statement: kport     oscil1  0, iportdev, .2, ifport.

 It gives me an error and gives a message: too many input args. Reading
the fine manual shows me nothing I can detect as an error. Any help
would be appreciated.

								Stuart



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01264;
          15 Sep 97 10:33 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa13889;
          15 Sep 97 10:32 BST
Received: (qmail 8442 invoked from network); 15 Sep 1997 09:32:13 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Sep 1997 09:32:13 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (KAA14834); Mon, 15 Sep 1997 10:24:51 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Mon, 15 Sep 97 10:24:40 +0100
Received: from mb05.swip.net [193.12.122.209] by hermes via ESMTP (KAA22688); Mon, 15 Sep 1997 10:24:33 +0100
Received: from rasmus (dialup97-1-8.swipnet.se [130.244.97.8]) 
          by mb05.swip.net (8.8.6/8.8.6) with SMTP 
          id LAA10341 for ; 
          Mon, 15 Sep 1997 11:25:10 +0200 (MET DST)
Message-Id: <341CFF8D.5B3F@hexagon.se>
Date: Mon, 15 Sep 1997 11:27:41 +0200
From: rasmus ekman 
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Name collision in 3.46 / Amsterdam tutorials
References: <341C5129.25B4@io.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Stuart Dudley Dimond III wrote:
> 
> I've been working my way through the Amsterdam tutorials this week.
> Breaking in my new PowerCenter 240 and getting used to csound.ppc. I
> have been able to get them all to work except one: 20_20_6
> 
>  On the statement: kport     oscil1  0, iportdev, .2, ifport.
> 
> It gives me an error and gives a message: too many input args. 
> Reading the fine manual shows me nothing I can detect as an error. 

This is due to a name collision. The opcode kport was introduced
in Bath version 3.46, and Csound obviously gets confused.
I can run the example on my PC by editing the name of this variable:

(acccid/20/20_20_06.ORC, lines 62-63):
;*********
  ; ERROR v 3.46     *kport*    oscil1  0,iportdev,.2,ifport    ; initial portamento
  ; ERROR v 3.46      kv      =       1+kvib+kport+krand      ; vibrato factor ca. 1
        kerrfix   oscil1  0,iportdev,.2,ifport    ; initial portamento
        kv      =       1+kvib + kerrfix + krand      ; vibrato factor ca. 1

;*********

This seems bound to happen sometimes when introducing opcodes,
if they begin with 'i', 'k' or 'a'. Same problem reappears 
if you eg. rename the variable kport to kpow.

A problem here though, since ACCCI is counted among official
Csound sources. Should someone grep it and pass johnff a
"used names" list, or else how to handle? 
Think, Conan, think!

regards,

	re

Date1997-09-15 16:40
FromMike Berry
SubjectRe: Amsterdam tutorials
	Look closely through the orc for a comment that is not properly
commented (missing ;).  This is the most common cause of this error
message.

Mike Berry
mikeb@mills.edu





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03667;
          16 Sep 97 0:39 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa04916;
          16 Sep 97 0:38 BST
Received: (qmail 21387 invoked from network); 15 Sep 1997 23:38:20 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Sep 1997 23:38:20 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA07897); Tue, 16 Sep 1997 00:33:56 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 16 Sep 97 00:33:48 +0100
Received: from eos.arc.nasa.gov [128.102.118.20] by hermes via ESMTP (AAA16348); Tue, 16 Sep 1997 00:33:47 +0100
Received: (from jims@localhost)
          by eos.arc.nasa.gov (8.8.4/8.8.4)
	  id QAA09464; Mon, 15 Sep 1997 16:34:29 -0700
Date: Mon, 15 Sep 1997 16:34:29 -0700
From: "Jim Stevenson Ph.D" 
Message-Id: <199709152334.QAA09464@eos.arc.nasa.gov>
To: mikeb@mills.edu, sdimond@io.com
Subject: Re: Amsterdam tutorials
Cc: csound@maths.ex.ac.uk
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Where can I ftp these tutorials?

Thanks.



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03750;
          16 Sep 97 2:24 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa06077;
          16 Sep 97 2:23 BST
Received: (qmail 23865 invoked from network); 16 Sep 1997 01:23:46 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 16 Sep 1997 01:23:46 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA23196); Tue, 16 Sep 1997 02:16:29 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 16 Sep 97 02:16:21 +0100
Received: from root@mx2.io.com [199.170.88.90] by hermes via ESMTP (CAA20361); Tue, 16 Sep 1997 02:16:20 +0100
Received: from 206.224.83.70 (dialup-004-070.wc-aus.io.com [206.224.83.70])
	by mx2.io.com (8.8.7/8.8.5) with SMTP id UAA25533;
	Mon, 15 Sep 1997 20:17:50 -0500
Message-Id: <341D98A0.3A90@io.com>
Date: Mon, 15 Sep 1997 20:20:49 +0000
From: Stuart Dudley Dimond III 
Reply-To: sdimond@io.com
Organization: Metatron
X-Mailer: Mozilla 3.01 (Macintosh; I; 68K)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Amsterdam tutorials
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Thanks to all for the help! The problem was indeed a collision in
name-space. Changing the two occurances of kport to kporta got instant
results.

For those asking the location of the Amsterdam tutorials, try:

http://mars.let.uva.nl/gather/accci/index.html

or

ftp://mars.let.uva.nl/pub/accci


Stuart

Date1997-09-27 06:44
Fromsantiago pereson
SubjectRe: Amsterdam tutorials
At 21:03 +0000 14/9/97, Stuart Dudley Dimond III wrote:
>I've been working my way through the Amsterdam tutorials this week.
>Breaking in my new PowerCenter 240 and getting used to csound.ppc. I
>have been able to get them all to work except one: 20_20_6
>double-carrier FM, dynamic spectral evolution. It compiles down to the
>section labeled: vibrato generator.
>
> On the statement: kport     oscil1  0, iportdev, .2, ifport.
>
> It gives me an error and gives a message: too many input args. Reading
>the fine manual shows me nothing I can detect as an error. Any help
>would be appreciated.
>
>								Stuart

don't really know if it may be the source of your error, but the last
version of csound.ppc is called 'Csound' (alone, without the '.ppc' thing)
and it works much better than the previous one. i think there's a link to
it from the Csound front page at
http://www.leeds.ac.uk/music/Man/c_front.html (don't remember where i got
it from).

best,


        santiago

   music is dressed silence

          mailto:jaco@overnet.com.ar
     http://www.geocities.com/~yaco