Csound Csound-dev Csound-tekno Search About

Re: 'ftgen' and 'turnon' opcodes in csound 3.47 beta

Date1997-12-31 17:02
Fromjpff@maths.bath.ac.uk
SubjectRe: 'ftgen' and 'turnon' opcodes in csound 3.47 beta
Message written at 31 Dec 1997 16:13:56 +0000
--- Copy of mail to g.maldonado@agora.stm.it ---
In-reply-to: <34A8C261.56FC5106@agora.stm.it> (message from Gabriel Maldonado
	on Tue, 30 Dec 1997 10:44:02 +0100)
References:  <34A8C261.56FC5106@agora.stm.it>

>>>>> "Gabriel" == Gabriel Maldonado  writes:

 Gabriel> Some question.

Some answer.

 Gabriel> 1)  'turnon' opcode activates an instrument with a different number of
 Gabriel> the one of the note call. Why the following orc example does not
 Gabriel> generate any sound?
 Gabriel> Is it possible to use turnon as a subroutine call?

One is expected to use turnon in the orchestra outside asny instrument.

 Gabriel> 2) the new opcodes manual says  turnon activates an instrument for an
 Gabriel> indefinite time. Is the new instrument deactivated at the same time
 Gabriel> (when the old one is deactivated)?

See above

 Gabriel> 3) Is it possible to use 'ftgen' opcode in the header section of the
 Gabriel> orchestra instead of within an instr body? If not, do the tables
 Gabriel> allocated within an instr survive when the generating instr is turned
 Gabriel> off?

One expects to see ftgen outside instruments.

 Gabriel> thank you and happy new year!

Humpf!  Depends on how many more errors are found in the new
version....

==John



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01188;
          2 Jan 98 22:53 GMT
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa27869;
          2 Jan 98 22:53 GMT
Received: (qmail 2647 invoked from network); 31 Dec 1997 17:06:16 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 31 Dec 1997 17:06:16 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA17222); Wed, 31 Dec 1997 17:00:16 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Wed, 31 Dec 97 16:59:56 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via SMTP (QAA11851); Wed, 31 Dec 1997 16:59:49 GMT
Received: from omphalos.maths.bath.ac.uk (maths.Bath.AC.UK) [138.38.99.25] (mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.80 #1)
	id 0xnRYA-0003NO-00; Wed, 31 Dec 1997 17:03:22 +0000
Date:     Wed, 31 Dec 97 17:03:22 GMT
From: jpff@maths.bath.ac.uk
Subject:  Re: Table read and k rate table numbers
To: csound@maths.ex.ac.uk, gelida@lix.intercom.es
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Message written at 31 Dec 1997 16:33:54 +0000
--- Copy of mail to rw@firstpr.com.au ---
In-reply-to: <199712270638.RAA11099@gair.firstpr.com.au> (message from Robin
	Whittle on Sat, 27 Dec 1997 18:43:33 +1000)
References:  <199712270638.RAA11099@gair.firstpr.com.au>

Just a few comments.

The code with which I was supplied did not define the opcodes tablekt
and tableikt.  Although there were lines in teh entry table for them,
they called for the existence of the functions tblsetkt, ktablekt,
tablekt, tblsetkt, ktablikt, and tablikt which are not in any of the C
files.  In this circumstance I removed the erroneous opcodes.

{ "tablekt",  S(TABLE),	7,	"s",  "xkooo",tblsetkt,	ktablekt, tablekt },
{ "tableikt", S(TABLE),	7,	"s",  "xkooo",tblsetkt,	ktablikt, tablikt },

Secondly, the function ftfindp has been in Csound since last March.

Thu Mar 20 22:17:00 1997  John Fitch  

	* entry.c: Put Whittle opcodes back

	* fgens.c (ftfindp): New function (Whittle)

Thirdly, the number of tables available has been arbitrary (not limit
to just 300 or 1000) since May, and version 3.46

Sun May  4 08:58:44 1997  John Fitch  

	* version.h: NEW VERSION 3.46
	
	* fgens.c (fgens): Expand the number of tables available
	dynamically. 

Lastly, I am not yet convinced that there are bugs in tables.

==John