| Some question.
1) 'turnon' opcode activates an instrument with a different number of
the one of the note call. Why the following orc example does not
generate any sound?
Is it possible to use turnon as a subroutine call?
2) the new opcodes manual says turnon activates an instrument for an
indefinite time. Is the new instrument deactivated at the same time
(when the old one is deactivated)?
3) Is it possible to use 'ftgen' opcode in the header section of the
orchestra instead of within an instr body? If not, do the tables
allocated within an instr survive when the generating instr is turned
off?
thank you and happy new year!
;********** ftgen and turnon test.orc
sr = 44100
kr = 8820
ksmps = 5
nchnls = 1
instr 2
turnon 1,0
endin
instr 1
iafno ftgen 0,0,1024, 10, 1
a1 oscili 1000,440,iafno
out a1
endin
;********** score
i2 0 5
--
Gabriel Maldonado
mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm
http://www.geocities.com/SiliconValley/Way/7041/home2.htm
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20125;
30 Dec 97 11:16 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa04066;
30 Dec 97 11:16 GMT
Received: (qmail 28248 invoked from network); 30 Dec 1997 11:16:19 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 30 Dec 1997 11:16:19 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA02522); Tue, 30 Dec 1997 11:08:11 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 30 Dec 97 11:07:52 GMT
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (LAA02632); Tue, 30 Dec 1997 11:07:45 GMT
Received: from default (ppp03-03.stm.it [195.62.37.131]) by agora.stm.it (8.8.8/8.8.5) with ESMTP id MAA28396; Tue, 30 Dec 1997 12:11:02 +0100 (ITA)
Message-Id: <34A8C261.56FC5106@agora.stm.it>
Date: Tue, 30 Dec 1997 10:44:02 +0100
From: Gabriel Maldonado
X-Mailer: Mozilla 4.0 [en] (Win95; I)
Mime-Version: 1.0
To: J P Fitch
Cc: Csound Mailing List
Subject: 'ftgen' and 'turnon' opcodes in csound 3.47 beta
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Some question.
1) 'turnon' opcode activates an instrument with a different number of
the one of the note call. Why the following orc example does not
generate any sound?
Is it possible to use turnon as a subroutine call?
2) the new opcodes manual says turnon activates an instrument for an
indefinite time. Is the new instrument deactivated at the same time
(when the old one is deactivated)?
3) Is it possible to use 'ftgen' opcode in the header section of the
orchestra instead of within an instr body? If not, do the tables
allocated within an instr survive when the generating instr is turned
off?
thank you and happy new year!
;********** ftgen and turnon test.orc
sr = 44100
kr = 8820
ksmps = 5
nchnls = 1
instr 2
turnon 1,0
endin
instr 1
iafno ftgen 0,0,1024, 10, 1
a1 oscili 1000,440,iafno
out a1
endin
;********** score
i2 0 5
--
Gabriel Maldonado
mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm
http://www.geocities.com/SiliconValley/Way/7041/home2.htm
|