Csound Csound-dev Csound-tekno Search About

tuning examples

Date1999-10-11 15:17
FromJosep M Comajuncosas
Subjecttuning examples
Hi all,
I´m looking for a orchestra to show the differences between the most
commonly studies scales (Pytagorean, Zarlino, 12ET and so on)... I need
it for my class. I wonder if someone has already done that, so I
wouldn´t need to code them again...it´s enough to play all the scales
with a sine wave.
Tnx.,
Josep M

--
Josep M Comajuncosas
C/ Circumval.lacio 75  08790 Gelida - Penedes
Catalunya - SPAIN tel. 93 7792243
e-mail:          gelida@intercom.es
ET Informatica de Sistemes
e-mail: jcomajuncosas@campus.uoc.es
  http://members.tripod.com/csound/




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa08571;
          11 Oct 99 17:01 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11aht9-0000Dd-00
	for jpff@maths.bath.ac.uk; Mon, 11 Oct 1999 17:01:27 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA403061); Mon, 11 Oct 1999 16:57:45 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 11 Oct 1999 16:57:31 +0100
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (QAA337098); Mon, 11 Oct 1999 16:57:29 +0100 (BST)
Received: from agora.stm.it (rm1-6.tiscalinet.it [212.123.77.134]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id RAA14541 for ; Mon, 11 Oct 1999 17:57:17 +0200 (ITADST)
Message-ID: <38020788.29D7E50B@agora.stm.it>
Date: Mon, 11 Oct 1999 17:51:36 +0200
From: Gabriel Maldonado 
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound Mailing List 
Subject: I want you (again!)
References: <37FDAC3A.F6C243BE@agora.stm.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Dear fellows,
the Team is growing:

1. Michael Gogins ---> Win95/98 (?)
2. Rich Weisgerber ---> Win98SE, NT 4 SP5 (soon SP6), BeOS R4.5.2, Red Hat Linux 2.2.x
3. Krzysztof Foltman --->?
4. Richard Bowers --->?
5. Grant Covell (?)...
6. Karim Haddad  --> Mac PPC 7600/120
7. Michael Rhoades
8. Ken Locarnini (Nunativs) --->?
9. Rasmus Ekman ---> Win95, Mac
10. Tohm Judson --->?
11. Roman Shkwarok --->?
12. Bruce Petherick --->?

Please specify the platform(s) you are using Csound with.

And let's join to the Team! I want you!

Thanks all people who already joined.

Gab

P.S. I quote part of a message from Rasmus Ekman that contain some
useful suggestions:

> To say that we have "tested" an opcode, I suppose we're
> talking about the combinatorial sum of MINIMUM:
> (1) sr = 22050, D100, H000, 96000
> (2) kr = sr, kr = sr/2, = sr/10, = sr/100
> (3) mono, stereo, 4-chan, 8-chan (in applicable cases)
> (4) Linux, Mac, DOS (console), Win95, WinNT, SGI, Irix...
> 
> The only thing not automatable is running orcs on the
> different OS's. There should be at least 2-3 people using
> each OS to share the workload and pass around all the
> problematic cases.
> So as you said we'll wait until there are some more people,
> then start a small private mailing list to negotiate
> the coding standards and divide the labor etc.




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa08758;
          11 Oct 99 17:57 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11ailg-0000El-00
	for jpff@maths.bath.ac.uk; Mon, 11 Oct 1999 17:57:48 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA476470); Mon, 11 Oct 1999 17:54:45 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 11 Oct 1999 17:54:31 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (RAA458046); Mon, 11 Oct 1999 17:54:30 +0100 (BST)
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11ahnS-0000Ob-00
	for csound@maths.ex.ac.uk; Mon, 11 Oct 1999 16:55:34 +0100
Date: Mon, 11 Oct 1999 17:54:26 +0100
Message-Id: <7458-Mon11Oct1999175426+0100-jpff@maths.bath.ac.uk>
X-Mailer: emacs 20.4.1 (via feedmail 8 I)
From: jpff@maths.bath.ac.uk
To: csound@maths.ex.ac.uk
Subject: v3.59
Source-Info:  From (or Sender) name not authenticated.
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I placed the sources (in tgz and zip formats) and binaries (for SGI,
Windows, DOS, and Linux/GNU) for version 3.59 on the server this morning.
Now if you can actually access that machine you will find that 3.59 is
mainly a set of bug fixes.  There are changes to masdr which are not
yet verified, and are so undocumented.  There is an additional
optional argument to vpvoc to give a f-table rather than use the
previous tableseg.  

Sun and M68K versions to follow as soon as I have time

=John

Release Notes for 3.59
===========

These are the release notes for version 3.59

Bug Fixes
---------

Fixed a typing error in fgens
MIDI file sin .csd files now work


Language Changes
----------------

a-rate^p-rate expressions allowed

Opcode Fixes
------------

pluck: Error check for kcps exceeding sample rate
posc family: allow negative frequencies
Phasor: use double internally for better precision
poweroftwo -- also works at a-rate
logbasetwo -- also works at a-rate
repluck, nreverb, grain, cross2, nlfilt -- no longer change constants
linseg -- h-rate version rewritten to remove various bugs
tone, tonex, atone, atonex -- better initialisation
mxdsr, madsr -- new optional argument to give release time.
linesegr, expsegr -- bugs corrected
vpvoc -- new optional argument to give a table for controls rather than 
previous tableseg/tablexseg
slider* -- fixed so work


New Opcodes 
-----------

phasorbnk -- bank of phasors
schedkwhen -- k-rate adding of score events

Other Changes:
-------------

Better treatment of score events

Windows GUI Changes
-------------------

Correction in MIDI files selected

----------------------------------------------------------------------


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09063;
          11 Oct 99 19:57 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11ajiZ-0000RQ-00
	for jpff@maths.bath.ac.uk; Mon, 11 Oct 1999 18:58:39 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (TAA487062); Mon, 11 Oct 1999 19:50:08 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 11 Oct 1999 19:49:57 +0100
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (TAA478848); Mon, 11 Oct 1999 19:49:56 +0100 (BST)
Received: (qmail 25854 invoked from network); 11 Oct 1999 18:49:53 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.57)
  by jaguars with SMTP; 11 Oct 1999 18:49:53 -0000
Message-ID: <380231D9.4E8F22B0@cableinet.co.uk>
Date: Mon, 11 Oct 1999 19:52:09 +0100
From: Richard Dobson 
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Josep M Comajuncosas 
CC: csound@maths.ex.ac.uk
Subject: Re: tuning examples
References: <3801F16C.5776C9D3@intercom.es>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id TAA478848
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Are you really sure sinewaves would be enough? Sinewaves are notoriously
difficult to tune to precise intervals, because there are no clashing
harmonics to guide the ear - this is the clue we use to judge tuning,
most of the time. Even a triangle wave would make the intonation
differences much more vivid.

Richard Dobson


Josep M Comajuncosas wrote:
> 
> Hi all,
> I´m looking for a orchestra to show the differences between the most
> commonly studies scales (Pytagorean, Zarlino, 12ET and so on)... I need
> it for my class. I wonder if someone has already done that, so I
> wouldn´t need to code them again...it´s enough to play all the scales
> with a sine wave.
> Tnx.,
> Josep M
> 


-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 17th September 1999)
CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 14th June 1999)


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09461;
          12 Oct 99 0:10 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11anfD-0000WK-00
	for jpff@maths.bath.ac.uk; Mon, 11 Oct 1999 23:11:27 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (AAA497822); Tue, 12 Oct 1999 00:04:14 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 00:04:01 +0100
Received: from mailserver.ipf.net [195.211.211.33] by hermes via SMTP (AAA397865); Tue, 12 Oct 1999 00:04:01 +0100 (BST)
Received: (qmail 4048 invoked from network); 11 Oct 1999 23:03:58 -0000
Received: from dialin-147.berlin.okay.net (HELO f) (194.117.254.147)
  by mail.okay.net with SMTP; 11 Oct 1999 23:03:58 -0000
Message-ID: <003501bf143d$16752600$93fe75c2@f>
From: Fritz Hildebrandt 
To: csound@maths.ex.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Newbie questions ;-)
Date: Tue, 12 Oct 1999 01:05:15 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0032_01BF144D.D7C4CEE0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

This is a multi-part message in MIME format.

------=_NextPart_000_0032_01BF144D.D7C4CEE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi,

I'm absolutely new to Csound. I'm very interested in it because what I heard from it is very promising to me. 
I use Cubase VST for Midi work and I'm also intersted in live playing with Csound. 
There are several frontends and versions of Csound available (for Win95), which one should I use? 
Which manuals and/or tutorials should I read to get into Csound as fast as possible?
Last question: Is Csound free for commercial use also? What do I have to do?

Thanx a lot in advance.


Best wishes, Fritz




------=_NextPart_000_0032_01BF144D.D7C4CEE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








 
Hi,
 
I'm absolutely new to Csound. I'm very interested in it because what I heard from it is very promising to me.
I use Cubase VST for Midi work and I'm also intersted in live playing with Csound.
There are several frontends and versions of Csound available (for Win95), which one should I use?
Which manuals and/or tutorials should I read to get into Csound as fast as possible?
Last question: Is Csound free for commercial use also? What do I have to do?
 
Thanx a lot in advance.
 
 
Best wishes, Fritz
 
 
 
------=_NextPart_000_0032_01BF144D.D7C4CEE0--   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09600; 12 Oct 99 1:17 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 11apdd-0000Lf-00 for jpff@maths.bath.ac.uk; Tue, 12 Oct 1999 01:17:57 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (BAA330461); Tue, 12 Oct 1999 01:13:47 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 01:13:33 +0100 Received: from smtp6.mindspring.com [207.69.200.110] by hermes via ESMTP (BAA508329); Tue, 12 Oct 1999 01:13:32 +0100 (BST) Received: from Realizer (user-2ive4sf.dialup.mindspring.com [165.247.19.143]) by smtp6.mindspring.com (8.8.5/8.8.5) with SMTP id UAA09738; Mon, 11 Oct 1999 20:13:46 -0400 (EDT) From: Michael Gogins To: Fritz Hildebrandt , csound@maths.ex.ac.uk MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos Subject: RE: Newbie questions ;-) Date: Mon, 11 Oct 1999 20:16:42 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01BF1425.88CDD700" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal In-Reply-To: <003501bf143d$16752600$93fe75c2@f> Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BF1425.88CDD700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I can't answer all your questions. I myself have a version of Csound called AXCsound that is available on http://www.pipeline.com/"~gogins. Csound source code and executable programs are freely available for educational and research purposes, meaning you can adapt the code yourself for those purposes. I am reasonably certain that you can make music using Csound and sell the music or do whatever you like with it. You can't set yourself up to sell Csound source code or executable programs, that's all, or take the code and turn it into something to sell. The version of Csound you should use should be DirectCsound from Gabriel Maldonado, if you need realtime sound output (I use Gabriel's code in AXCsound), or you need to play Csound with a MIDI controller; otherwise you should probably use the canonical consound program from John ffitch because this is the "standard" csound insofar as there is one. All of this applies to Windows. There are other versions I know little of for Linux, BeOS, NeXTStep, various Unices, and the Macintosh. The best tutorial is to get ahold of a lot of Csound orchestras and scores from the Web and realize them and listen to them, then take the ones you like and try to make them do something slightly different. Csound is an incredibly deep instrument and takes time to learn. It's without doubt one of the most important musical instruments of the present time. -----Original Message----- From: owner-csound-outgoing@maths.ex.ac.uk [mailto:owner-csound-outgoing@maths.ex.ac.uk]On Behalf Of Fritz Hildebrandt Sent: Monday, October 11, 1999 7:05 PM To: csound@maths.ex.ac.uk Subject: Newbie questions ;-) Hi, I'm absolutely new to Csound. I'm very interested in it because what I heard from it is very promising to me. I use Cubase VST for Midi work and I'm also intersted in live playing with Csound. There are several frontends and versions of Csound available (for Win95), which one should I use? Which manuals and/or tutorials should I read to get into Csound as fast as possible? Last question: Is Csound free for commercial use also? What do I have to do? Thanx a lot in advance. Best wishes, Fritz ------=_NextPart_000_0005_01BF1425.88CDD700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I can't answer all your questions. I myself have a version of Csound called AXCsound that is available on http://www.pipeline.com/"~gogins. Csound source code and executable programs are freely available for educational and research purposes, meaning you can adapt the code yourself for those purposes. I am reasonably certain that you can make music using Csound and sell the music or do whatever you like with it. You can't set yourself up to sell Csound source code or executable programs, that's all, or take the code and turn it into something to sell.
 
The version of Csound you should use should be DirectCsound from Gabriel Maldonado, if you need realtime sound output (I use Gabriel's code in AXCsound), or you need to play Csound with a MIDI controller; otherwise you should probably use the canonical consound program from John ffitch because this is the "standard" csound insofar as there is one. All of this applies to Windows. There are other versions I know little of for Linux, BeOS, NeXTStep, various Unices, and the Macintosh.
 
The best tutorial is to get ahold of a lot of Csound orchestras and scores from the Web and realize them and listen to them, then take the ones you like and try to make them do something slightly different. Csound is an incredibly deep instrument and takes time to learn. It's without doubt one of the most important musical instruments of the present time.
-----Original Message-----
From: owner-csound-outgoing@maths.ex.ac.uk [mailto:owner-csound-outgoing@maths.ex.ac.uk]On Behalf Of Fritz Hildebrandt
Sent: Monday, October 11, 1999 7:05 PM
To: csound@maths.ex.ac.uk
Subject: Newbie questions ;-)

 
Hi,
 
I'm absolutely new to Csound. I'm very interested in it because what I heard from it is very promising to me.
I use Cubase VST for Midi work and I'm also intersted in live playing with Csound.
There are several frontends and versions of Csound available (for Win95), which one should I use?
Which manuals and/or tutorials should I read to get into Csound as fast as possible?
Last question: Is Csound free for commercial use also? What do I have to do?
 
Thanx a lot in advance.
 
 
Best wishes, Fritz
 
 
 
------=_NextPart_000_0005_01BF1425.88CDD700--   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10330; 12 Oct 99 8:53 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 11avpe-0000hk-00 for jpff@maths.bath.ac.uk; Tue, 12 Oct 1999 07:54:46 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (IAA529946); Tue, 12 Oct 1999 08:50:10 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 08:49:57 +0100 Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (IAA509616); Tue, 12 Oct 1999 08:49:55 +0100 (BST) Received: from agora.stm.it (rm1-243.tiscalinet.it [212.123.78.117]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id JAA05658 for ; Tue, 12 Oct 1999 09:38:17 +0200 (ITADST) Message-ID: <3802E788.137C3466@agora.stm.it> Date: Tue, 12 Oct 1999 09:47:20 +0200 From: Gabriel Maldonado X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Csound Mailing List Subject: Secondary buffer bug? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk Hi all, There is any other person in the list (with an SBLive!) which get the same error when running the 3D opcodes of DirectCsound? Richard Bowers wrote: > Below is the output when I run DirectCsound and the error message is: > > "Unable to open DirectSound device. > the DirectSound object just created is unable to play" > Thanks -- Gabriel Maldonado http://web.tiscalinet.it/G-Maldonado   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10336; 12 Oct 99 8:54 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 11awl5-0000VC-00 for jpff@maths.bath.ac.uk; Tue, 12 Oct 1999 08:54:07 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (IAA513144); Tue, 12 Oct 1999 08:51:35 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 08:51:24 +0100 Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (IAA408391); Tue, 12 Oct 1999 08:51:23 +0100 (BST) Received: from agora.stm.it (rm1-243.tiscalinet.it [212.123.78.117]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id JAA02195; Tue, 12 Oct 1999 09:27:09 +0200 (ITADST) Message-ID: <3802E4E1.4986F2A5@agora.stm.it> Date: Tue, 12 Oct 1999 09:36:01 +0200 From: Gabriel Maldonado X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: madgello@oz.net, Csound Mailing List Subject: Re: Liveware 3 web availability References: <199910112334.QAA18666@emerald.oz.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk The EAX 2.0 SDK can be downloaded at the following URL: http://developer.soundblaster.com/dev-resources/ good luck! Richard Weisgerber wrote: > What magic did you use to get EAX 2 SDK from Creative?   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10551; 12 Oct 99 10:31 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 11axMT-0000nE-00 for jpff@maths.bath.ac.uk; Tue, 12 Oct 1999 09:32:45 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (KAA547365); Tue, 12 Oct 1999 10:32:30 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 10:32:13 +0100 Received: from mail1.svr.pol.co.uk [195.92.193.18] by hermes via ESMTP (KAA545753); Tue, 12 Oct 1999 10:32:11 +0100 (BST) Received: from modem-57.protactinium.dialup.pol.co.uk ([62.136.45.57] heloÞfault) by mail1.svr.pol.co.uk with smtp (Exim 2.12 #2) id 11ayE0-0001un-00 for csound@maths.ex.ac.uk; Tue, 12 Oct 1999 10:28:04 +0100 Message-ID: <000801bf1495$869a3940$392d883e@default> From: Richard Bowers To: csound Subject: documentation: schedkwhen Date: Tue, 12 Oct 1999 10:38:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk Where can I find documentation for the new schedkwhen opcode? I can't find it in the release notes. Richard Bowers.   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10846; 12 Oct 99 12:43 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 11b0LL-0000bf-00 for jpff@maths.bath.ac.uk; Tue, 12 Oct 1999 12:43:47 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (MAA523416); Tue, 12 Oct 1999 12:43:32 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 12:43:19 +0100 Received: from grynet.passagen.se [195.163.107.36] by hermes via ESMTP (MAA591394); Tue, 12 Oct 1999 12:41:44 +0100 (BST) Received: from hem.passagen.se (z20-5-249.sbbs2.net [212.112.5.249]) by grynet.passagen.se (8.8.6/8.8.6) with ESMTP id NAA10525; Tue, 12 Oct 1999 13:37:21 +0200 (MDT) Message-ID: <38031F12.D902CBAF@hem.passagen.se> Date: Tue, 12 Oct 1999 13:44:18 +0200 From: rasmus ekman Organization: . X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Richard Bowers , Csound list Subject: Re: documentation: schedkwhen References: <000801bf1495$869a3940$392d883e@default> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk schedkwhen DOCUMENTATION: ------------------------ Ignite Instrument Events schedkwhen ktrigger, kmintime, kmaxinst, kinsnum, kwhen, kdur[, kp4, ... kpN] Generate new instrument events from orchestra at k-rate. This opcode may be useful eg for certain kinds of algorithmic composition. PERFORMANCE schedkwhen adds new instrument events to the Csound performance whenever the k-rate value ktrigger is non-zero. Event generation may be limited by the kmintime and kmaxinst arguments. ktrigger - when non-zero, signal that an instrument instance should be started. kmintime - controls the minimal time which is to elapse between generated events, in seconds. If kmintime <= 0, no time limit is used. If the kinstr instrument number is negative (to turn off an instrument), this test is bypassed. kmaxinst - ceiling for the number of simultaneous instances of instrument kinstr. If number of existant instances of kinstr is >= kmaxinst, no event is generated. If kmaxinst is <= 0, it is not used to limit event generation. If the kinstr instrument number is negative (to turn off an instrument), this test is bypassed. kinsnum, kwhen, kdur, ... - same arguments as in score i-statements. The kwhen start time (p2) is measured from the time of the triggering event, and must be a positive value (or zero). If an event is deferred by a p2 offset value, the instrument will not be initialized until the actual time when it should start performing. If kdur (p3) is zero the instrument will only do an initialization pass without performance. A negative kdur value will initiate a held note (see also ihold and i-statements). Note that while waiting for delayed events, the performance must be kept going, or Csound may quit if no score events are expected. To guarantee continued performance, the f0 statement may be used in score (same as eg when playing midi files, or to pad score sections with silence). EXAMPLES The offset value is useful for triggering multiple instruments in fixed relations. Here, two alternating metronomes: instr 5 ; tick-tock, tick-tock iBPM init p4 ; Instr's 6 and 7 could be eg simple sample players schedkwhen 1, 60/iBPM, 0, 6, 0, .5 schedkwhen 1, 60/iBPM, 0, 7, 30/iBPM, .5 endin ;Score ; Generate events at 150 BPM for 10 secs i1 0 10 150 e This example will create a strumming gesture of p5 notes in p6 seconds instr 10 ; Strummer ; Pass some values to the strummed instr koct init p4 iamp init 12000 ; Init strum delay so p5 events start in (roughly) p6 seconds iNumEvts init p5 knum init 0 iDelBase init (p6 / sqrt(iNumEvts)) * 1.7 kdel init 0 ; Generate p5 events in the first p5 k-cycles knum = knum + 1 ktrig = (knum <= iNumEvts ? 1 : 0) ; Strum instr 11, passing pitch and "intended pitch" to pluck ; for some spectral variation. (knum is also passed for diagnostics) schedkwhen ktrig, 0, 0, 11, kdel, .5, iamp, cpspch(koct), cpspch(koct) * (knum+2), knum ; Increase delay for next events kdel = kdel + iDelBase / (knum+1) ; and play a chord (just to do something) koct = koct +.03 ; Don't need this instr after the evts generated, so turn off if knum < iNumEvts kgoto continue turnoff continue: endin instr 11 ; Strummed instrument ; print p2, pchoct(octcps(p5)), p6, p7 kamp linseg p4, p3-.1, p4, .1, 0 ar pluck kamp, p5, p6, 0, 1 out ar endin ; Score i10 0 .1 6.10 6 .6 i10 1.5 .3 7.00 6 .7 i10 3 .3 6.03 11 1.5 f0 5 e This example uses xyin to provide gestural control of event generation: ; Orchestra sr = 22050 kr = 882 ksmps = 25 nchnls = 2 instr 9 ; Generate 1-50 events per sec (max 20 simultaneous) kX, kY xyin .03, .02, 1, 0, 3000, 1, 100 schedkwhen 1, kX/2, 20, 2, 0, .7, kY, kY/(kX*.5) endin instr 12 kamp linseg 15000, p3-.05, 15000, .05, 0 kcps line p4, p3, p5 ar pluck kamp, p4, p5, 0, 1 pan ; Random stereo distribution a1, a2 locsig ar, rnd(360), 1, 0 outs a1, a2 endin ; Score f1 0 8192 10 1 ; Sine i9 0 15 e   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10922; 12 Oct 99 13:08 BST Received: from [144.173.6.14] (helo=exeter.ac.uk) by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1) id 11azo3-0000vE-00 for jpff@maths.bath.ac.uk; Tue, 12 Oct 1999 12:09:23 +0100 Received: from noether [144.173.8.10] by hermes via SMTP (NAA549741); Tue, 12 Oct 1999 13:09:25 +0100 (BST) Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 12 Oct 1999 13:09:12 +0100 Received: from web1101.mail.yahoo.com [128.11.23.121] by hermes via SMTP (NAA607259); Tue, 12 Oct 1999 13:09:11 +0100 (BST) Message-ID: <19991012121452.13218.rocketmail@web601.yahoomail.com> Received: from [161.53.2.112] by web1101.mail.yahoo.com; Tue, 12 Oct 1999 05:14:52 PDT Date: Tue, 12 Oct 1999 05:14:52 -0700 (PDT) From: roberto zanata Subject: PVOC_R_EX To: csound@maths.ex.ac.uk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk ;It works with 24 files pvanal! ;PVOC_R_ex.orc--------------------------------------------- sr = 22050 kr = 110.250 ksmps = 200 nchnls = 1 massign 2,2 massign 3,3 massign 4,4 instr 1 ;k1, ... , k16 slider16f ichan, ictlnum1, imin1, imax1, init1, ifn1, icutoff1, .... , \ gktime0,gkfreq0,gktime1,gkfreq1,gktime2,gkfreq2,k7,k8 slider8f 1, 0,0,20,0,0,.5 ,1,-.2,.2,0,0,5,\ 2,0,20,0,0,.5 ,3,-.2,.2,0,0,5,\ 4,0,20,0,0,.5 ,5,-.2,.2,0,0,5,\ 6,0,1,0,0,5 ,7,0,1,0,0,5 endin ;kampshift0,kampshift1,kampshift2,kamp0,kamp1,kamp2,k7,k8 slider8 2, \ ; 0,0,10,0,0 ,1,0,10,0,0, \ ; 2,0,10,0,0 ,3,0,1,0,0, \ ; 4,0,1,0,0 ,5,0,1,0,0, \ ; 6,0,1,0,0 ,7,0,1,0,0 instr 2 ipvocnum0 notnum kampshift0 ctrl7 2,0,0,10 kamp0 ctrl7 2,1,0,1 ienv0 ctrl7 2,2,0,5 ktimedev0 ctrl7 2,3,.2,1.5 ktimeshift0 oscil kampshift0,1/kampshift0*ktimedev0,ienv0+1 asig0 pvoc gktime0+ktimeshift0,1+gkfreq0,ipvocnum0*.06+1 out asig0*kamp0 endin instr 3 ipvocnum1 notnum kampshift1 ctrl7 3,0,0,10 kamp1 ctrl7 3,1,0,1 ienv1 ctrl7 3,2,0,5 ktimedev1 ctrl7 3,3,.2,1.5 ktimeshift1 oscil kampshift1,1/kampshift1*ktimedev1,ienv1+1 asig1 pvoc gktime1+ktimeshift1,1+gkfreq1,ipvocnum1 out asig1*kamp1 endin instr 4 ipvocnum2 notnum kampshift2 ctrl7 4,0,0,10 kamp2 ctrl7 4,1,0,1 ienv2 ctrl7 4,2,0,5 ktimedev2 ctrl7 4,3,.2,1.5 ktimeshift2 oscil kampshift2,1/kampshift2*ktimedev2,ienv2+1 asig2 pvoc gktime2+ktimeshift2,1+gkfreq2,ipvocnum2 out asig2*kamp2 endin ;PVOC_R_ex.sco--------------------------------------------- f1 0 4096 7 0 4096 1 f2 0 4096 7 0 2048 .5 2048 0 f3 0 4096 7 1 4096 0 f4 0 4096 7 0 256 .07 256 .05 256 .1 256 .03 1024 0 512 .2 512 .3 512 .5 512 0 ;f5 0 4096 10 1 f0 3600 == __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com