Csound Csound-dev Csound-tekno Search About

Re: Query from the Summer Solstice

Date1998-12-21 13:41
FromBob Douglas
SubjectRe: Query from the Summer Solstice
John,

> Other work to be done of which I know:
>     ADSR with exponential shapes
>      gabriel's sliders
>      better interpolation
> Are there any others?
 
Sounds like you had a very productive weekend!

I have Csound 3.49, (only recently) mounted on a 7200/90 PPC, 48Mb RAM, OS 8.1
and work exclusively  in the non-real-time  area. 

Is there a way of reading data into a function table directly from a
pre-existing external ASCII file ?
If  not, would you add it to your list please ? 

Merry Winter Solstice to you,

Bob Douglas


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14937;
          21 Dec 98 13:48 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zs5h2-0006JU-00; Mon, 21 Dec 1998 13:48:16 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (NAA10680); Mon, 21 Dec 1998 13:43:57 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 21 Dec 1998 13:43:44 GMT
Received: from extra.ucc.su.oz.au [129.78.64.4] by hermes via ESMTP (NAA13053); Mon, 21 Dec 1998 13:43:37 GMT
Received: from mail.usyd.edu.au (mp-13-7.mp.usyd.edu.au [129.78.58.131])
	by extra.ucc.su.OZ.AU (8.9.1a/8.9.1) with ESMTP id AAA11202;
	Tue, 22 Dec 1998 00:42:48 +1100 (EST)
Message-ID: <367E4FF1.2CE2AC3F@mail.usyd.edu.au>
Date: Tue, 22 Dec 1998 00:41:10 +1100
From: Bob Douglas 
Reply-To: rdouglas@mail.usyd.edu.au
Organization: Sydney Conservatorium
X-Mailer: Mozilla 4.03 (Macintosh; I; PPC)
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk
CC: CSound list 
Subject: Re: Query from the Summer Solstice
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

John,

> Other work to be done of which I know:
>     ADSR with exponential shapes
>      gabriel's sliders
>      better interpolation
> Are there any others?
 
Sounds like you had a very productive weekend!

I have Csound 3.49, (only recently) mounted on a 7200/90 PPC, 48Mb RAM, OS 8.1
and work exclusively  in the non-real-time  area. 

Is there a way of reading data into a function table directly from a
pre-existing external ASCII file ?
If  not, would you add it to your list please ? 

Merry Winter Solstice to you,

Bob Douglas


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15050;
          21 Dec 98 14:08 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zs60u-0006Kv-00; Mon, 21 Dec 1998 14:08:48 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA18269); Mon, 21 Dec 1998 14:06:38 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 21 Dec 1998 14:06:26 GMT
Received: from smtp4.erols.com [207.172.3.237] by hermes via ESMTP (OAA17868); Mon, 21 Dec 1998 14:06:25 GMT
Received: from VX900 (207-172-75-8.s8.tnt3.man.erols.com [207.172.75.8])
	by smtp4.erols.com (8.8.8/smtp-v1) with SMTP id JAA29761
	for ; Mon, 21 Dec 1998 09:06:17 -0500 (EST)
Message-ID: <367E8096.4B4@erols.com>
Date: Mon, 21 Dec 1998 09:08:38 -0800
From: Jeffrey John Hall 
X-Mailer: Mozilla 2.01KIT (Win95; U; 16bit)
MIME-Version: 1.0
To: csound 
Subject: logical operators
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello, and Merry Christmas, Happy Solstice, and
        Happy Humbug to All,

          I am an M360 troglodyte now in Csound.
          All goes rather well except I have found that the
          logical operators:    '||' for logical 'or'
                                       and
                                '&&' for logical 'and'
   
              are rejected as illegal by the compiler.

          These apparently have been changed from the codes in 
          the 1993 Manual in my possession.

                 On another topic, I noticed that the "soundin"
          MACRO only is able to fetch a file typed "AIFF".
          When I ask for it as a "WAV" file, it can't find it, so
          something I'm doing is wrong.
                 Enough for now, and Luck to all,
                                                 Jeff Hall


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15064;
          21 Dec 98 14:13 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zs65u-0006LB-00; Mon, 21 Dec 1998 14:13:58 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA00928); Mon, 21 Dec 1998 14:11:48 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 21 Dec 1998 14:11:35 GMT
Received: from f140.hotmail.com [207.82.251.19] by hermes via SMTP (OAA00387); Mon, 21 Dec 1998 14:11:34 GMT
Received: (qmail 21682 invoked by uid 0); 21 Dec 1998 14:11:01 -0000
Message-ID: <19981221141101.21681.qmail@hotmail.com>
Received: from 193.74.7.170 by www.hotmail.com with HTTP;
	Mon, 21 Dec 1998 06:11:00 PST
X-Originating-IP: [193.74.7.170]
From: david ds 
To: csound@maths.ex.ac.uk
Subject: Sound of math systems 
Date: Mon, 21 Dec 1998 06:11:00 PST
Mime-Version: 1.0
Content-Type: text/plain
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I wanted to know wich dynamical / chaotic / behavorial system in theory 
and reallife sounds like harmonic/atonal noise/pads

example of what i mean:  cd "Primal Image" made by Alan Lamb...

He recorded the movement of telephone wires in the desert....

David


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Received: from xenakis.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15265;
          21 Dec 98 15:41 GMT
From: jpff@maths.bath.ac.uk
To: gmetford@qubit.demon.co.uk
CC: csound@maths.ex.ac.uk
In-reply-to: <$L9X6WAoTaf2Ewe$@qubit.demon.co.uk> (message from Gareth Metford
	on Mon, 21 Dec 1998 01:31:20 +0000)
Subject: Re: newbie query - csound having difficulty locating sound files
BCC: jpff@maths.bath.ac.uk
References:  <$L9X6WAoTaf2Ewe$@qubit.demon.co.uk>
Date: Mon, 21 Dec 98 15:41:45 GMT
Sender: jpff@maths.bath.ac.uk
Source-Info:  From (or Sender) name not authenticated.

Try using \\ or / for file name separators.  Just a thought


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa15273;
          21 Dec 98 15:43 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zs7UO-0006Px-00; Mon, 21 Dec 1998 15:43:20 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA16043); Mon, 21 Dec 1998 15:42:03 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 21 Dec 1998 15:41:49 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (PAA11837); Mon, 21 Dec 1998 15:41:48 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 0zs7SU-0005bG-00; Mon, 21 Dec 1998 15:41:22 +0000
From: jpff@maths.bath.ac.uk
To: gmetford@qubit.demon.co.uk
CC: csound@maths.ex.ac.uk
In-reply-to: <$L9X6WAoTaf2Ewe$@qubit.demon.co.uk> (message from Gareth Metford
	on Mon, 21 Dec 1998 01:31:20 +0000)
Subject: Re: newbie query - csound having difficulty locating sound files
References:  <$L9X6WAoTaf2Ewe$@qubit.demon.co.uk>
Date: Mon, 21 Dec 98 15:41:45 GMT
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Try using \\ or / for file name separators.  Just a thought


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa16293;
          21 Dec 98 17:26 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zs95x-0006V6-00; Mon, 21 Dec 1998 17:26:14 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA10762); Mon, 21 Dec 1998 17:25:20 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 21 Dec 1998 17:25:08 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (RAA09833); Mon, 21 Dec 1998 17:25:07 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
	id 0zs94T-0005j2-00; Mon, 21 Dec 1998 17:24:41 +0000
From: jpff@maths.bath.ac.uk
To: rdouglas@mail.usyd.edu.au
CC: csound@maths.ex.ac.uk
In-reply-to: <367E4FF1.2CE2AC3F@mail.usyd.edu.au> (message from Bob Douglas on
	Tue, 22 Dec 1998 00:41:10 +1100)
Subject: Re: Query from the Summer Solstice
References:  <367E4FF1.2CE2AC3F@mail.usyd.edu.au>
Date: Mon, 21 Dec 98 17:25:01 GMT
Source-Info:  From (or Sender) name not authenticated.
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

One can read an audio file direct into a table with GEN 23, one of
Gabriel's enhancements.  Added in v3.49
==John


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17672;
          21 Dec 98 23:23 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zsEfQ-00062Q-00; Mon, 21 Dec 1998 23:23:12 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA14429); Mon, 21 Dec 1998 23:22:34 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 21 Dec 1998 23:22:21 GMT
Received: from post-22.mail.demon.net [194.217.242.7] by hermes via ESMTP (XAA14982); Mon, 21 Dec 1998 23:22:21 GMT
Received: from [212.228.198.129] (helo=qubit.demon.co.uk)
	by post.mail.demon.net with smtp (Exim 2.10 #1)
	id 0zsEea-0001PP-00
	for csound@maths.ex.ac.uk; Mon, 21 Dec 1998 23:22:21 +0000
Message-ID: 
Date: Mon, 21 Dec 1998 22:33:17 +0000
To: csound@maths.ex.ac.uk
From: Gareth Metford 
Subject: thanks!
MIME-Version: 1.0
X-Mailer: Turnpike (32) Trial Version 3.05 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I'd just like to say thanks to everyone who posted replies to my query
about Csound locating files. That was one of the best responses I've
ever had from any mailing list! 

Regards

Gareth
-- 

Gareth Metford


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17764;
          22 Dec 98 0:07 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zsFM1-00065t-00; Tue, 22 Dec 1998 00:07:13 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA10721); Tue, 22 Dec 1998 00:06:29 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 22 Dec 1998 00:06:20 GMT
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (AAA17032); Tue, 22 Dec 1998 00:06:19 GMT
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
 by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #D3207)
 with ESMTP id <01J5LT26NZCO9PNIAV@THUBAN.AC.HMC.EDU> for
 csound@maths.ex.ac.uk; Mon, 21 Dec 1998 16:06:16 PST
Date: Mon, 21 Dec 1998 16:07:36 -0800
From: Erik Spjut 
Subject: Re: timout accuracy
In-reply-to: <0914230110/2098184957/1*@mailpac.pt>
X-Sender: spjut@thuban.ac.hmc.edu
To: Pedro Batista , csound@maths.ex.ac.uk
Message-id: 
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Most timing things in Csound run at k-rate not a-rate. Unless your timings
are always exact multiples of a k-frame you'll find inaccuracies. Try
running with kr=sr and see if the problem goes away.

At 8:48 AM +0000 12/21/98, Pedro Batista wrote:
>Hey all
>
>I've been working on a sequencer-like instr, and was using Pinkston's method
>with timeout and reinit for the individual 'notes'. I came accross a problem
>with the timout durations not being exactly those as the idur parameter
>specifies.
>As an example I've isolated the problem in the following orc/sco. This
>should play 2 bars at 135bpm (32 notes 16thnotes). The resulting audio file
>should last for 3.555 seconds, and loop perfectly. It doesnt!, instead I end
>up with a slighty longer file (chopped off at 3.555, the expected instr
>duration), with a tempo of 132.3 ...
>With a bit of gymnastics, I included a correction factor for the beat
>duration (in this case .98), which if you uncomment the line 'ibeat = ibeat
>* .98', will make things work as expected with this tempo. Other tempos
>require other corrections, with 60bpm being almost precise.
>and then if I call several instances of the instrument (thats what Im doing
>in the real instrument, something similar to Hans Mikelson's drummach) they
>wont be in synch, each own drifting its own  amount.
>
>So my question: am I missing something, or is there some uncontrolable
>timeout latency? I tryed several variations, two diff versions (v3.47 and
>v3.49 pc) without success.
>It seems to me that the timout interval is being delayed by some cents
>(maybe processing time within the instrument...?) If so, is there any work
>around or am I doomed to work at 60bpm?
>
>Thanks in advance
>pedro
>
>;ORCHESTRA
>sr   =    44100
>kr   =    441
>ksmps     =    100
>
>     instr     1
>iamptab   =    p4
>itempo    =    p5
>ibeat     =    60/itempo    ;this should be it..
>;ibeat    =    ibeat*.98    ; ..but
>iseq =    0
>
>ini:
>idur =    .25*ibeat    ;duration is 1/4th of beat
>
>;vary amps of consecutive notes to make it more interesting
>iamp table     iseq, iamptab, 0, 0, 1
>iseq =    iseq+1
>
>;just some sound burst
>kenv linseg    0, idur/8 , 1, idur/4, 1, idur/8, 0, idur/2, 0
>aout rand 10000
>     out  kenv*iamp*aout
>
>     timout    0, idur, cont
>
>     reinit    ini
>
>cont:     endin
>
>;SCORE
>f1 0 4 -2 1 .4 .3 .7 ; amp table for the four 16th notes within a beat
>
>;#  t   d   amptab tempo
>i1  0 3.555   1     135  ; output tempo is 132.3 !?


-------------------------------------------------------------------------------
Erik Spjut (spyoot, rhymes with cute) - Associate Professor of Engineering
and  Associate Director for Engineering Computing,  Center for Design Education
Harvey Mudd College, Claremont, CA 91711-5990  USA
Erik_Spjut@hmc.edu      Ph & Voice mail (909) 607-3890      Fax (909) 621-8967




Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18661;
          22 Dec 98 8:40 GMT
Received: from [195.163.107.4] (helo=gudrun.passagen.se)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zsNMl-0006X4-00; Tue, 22 Dec 1998 08:40:32 +0000
Received: from dumburk (dialup61-4-21.swipnet.se [130.244.61.213])
	by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id JAA17547;
	Tue, 22 Dec 1998 09:39:55 +0100 (MET)
Message-ID: <367F5D65.51BE@hem.passagen.se>
Date: Tue, 22 Dec 1998 09:50:45 +0100
From: rasmus ekman 
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Csound list 
CC: rdouglas@mail.usyd.edu.au, jpff@maths.bath.ac.uk
Subject: Gens 22 and 23 (Re: Query from the Summer Solstice)
References:  <367E4FF1.2CE2AC3F@mail.usyd.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 wrote:
> One can read an audio file direct into a table with GEN 23, one of
> Gabriel's enhancements.  Added in v3.49

That would have been Gen 22. But this has not been announced 
in the version notes, and it is not in the sources!

 wrote:
> Is there a way of reading data into a function table directly from a
> pre-existing external ASCII file ?

Gen 23, documented in Version3_49.Notes in Bath/Montreal 
subdirectory "dream/newest".


Regards,

	re


GEN23

This subroutine reads numeric values from an external ascii file
f# time size -23 "filename.txt"

The numeric values contained in "filename.txt" (which indicates 
the complete pathname of the character file to be read), can be 
separated by spaces, tabs, newline characters or commas. 
Also words that contains non-numeric characters can be used as 
comments since they are ignored. 
All characters following ';' (comment) are ignored until next 
line (numbers too).


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18676;
          22 Dec 98 8:44 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zsNQt-0007Dp-00; Tue, 22 Dec 1998 08:44:47 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA17442); Tue, 22 Dec 1998 08:40:43 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 22 Dec 1998 08:40:30 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (IAA17243); Tue, 22 Dec 1998 08:40:09 GMT
Received: from dumburk (dialup61-4-21.swipnet.se [130.244.61.213])
	by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id JAA17547;
	Tue, 22 Dec 1998 09:39:55 +0100 (MET)
Message-ID: <367F5D65.51BE@hem.passagen.se>
Date: Tue, 22 Dec 1998 09:50:45 +0100
From: rasmus ekman 
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Csound list 
CC: rdouglas@mail.usyd.edu.au, jpff@maths.bath.ac.uk
Subject: Gens 22 and 23 (Re: Query from the Summer Solstice)
References:  <367E4FF1.2CE2AC3F@mail.usyd.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

 wrote:
> One can read an audio file direct into a table with GEN 23, one of
> Gabriel's enhancements.  Added in v3.49

That would have been Gen 22. But this has not been announced 
in the version notes, and it is not in the sources!

 wrote:
> Is there a way of reading data into a function table directly from a
> pre-existing external ASCII file ?

Gen 23, documented in Version3_49.Notes in Bath/Montreal 
subdirectory "dream/newest".


Regards,

	re


GEN23

This subroutine reads numeric values from an external ascii file
f# time size -23 "filename.txt"

The numeric values contained in "filename.txt" (which indicates 
the complete pathname of the character file to be read), can be 
separated by spaces, tabs, newline characters or commas. 
Also words that contains non-numeric characters can be used as 
comments since they are ignored. 
All characters following ';' (comment) are ignored until next 
line (numbers too).


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18684;
          22 Dec 98 8:45 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zsNRH-0007Dr-00; Tue, 22 Dec 1998 08:45:11 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA10147); Tue, 22 Dec 1998 08:44:04 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 22 Dec 1998 08:43:52 GMT
Received: from renoir.mailpac.pt [194.65.21.2] by hermes via SMTP (IAA17736); Tue, 22 Dec 1998 08:43:49 GMT
Received: by renoir.mailpac.pt (SMI-8.6/SMI-SVR4)
	id IAA23283; Tue, 22 Dec 1998 08:42:55 GMT
Date: 22 Dec 98 08:42 GMT
X400-Received: by /ADMD=mailpac/C=pt/; 
	Relayed; 22 Dec 98 08:42 GMT
X400-Received: by /PRMD=gtw-ms/ADMD=mailpac/C=pt/; 
	Relayed; 22 Dec 98 08:42 GMT
Priority: normal
P1-Message-ID: pt*mailpac*gtw-ms;0914316175/2053676778/1
Original-Encoded-Information-Types: IA5-Text
MIME-version: 1.0
From: Pedro Batista 
To: csound@maths.ex.ac.uk
Message-ID: <0914316175/1715978947/1*@mailpac.pt>
Subject: Re: timout accuracy
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


Erik Spjut wrote:

>Most timing things in Csound run at k-rate not a-rate. Unless your timings
>are always exact multiples of a k-frame you'll find inaccuracies. Try
>running with kr=sr and see if the problem goes away.

It goes, in this example program (now tempo is 134.955), but unfortunately 
it does not fix the problem in the real program. I still cant run two 
instances of the sequencer instrument in synch... But Im using odd timings, 
which might lead to some sort of round-off problems. I'll replicate the 
situation in this example program, to see if that has something to do with 
it.
Thanks for the tip. I really was implicitly assuming an a-rate timing, and 
it was good for me that you pointed that out

pedro


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18908;
          22 Dec 98 11:09 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
	for jpff@maths.bath.ac.uk
	id 0zsPg6-0006gV-00; Tue, 22 Dec 1998 11:08:38 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (LAA11289); Tue, 22 Dec 1998 11:06:57 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Tue, 22 Dec 1998 11:06:44 GMT
Received: from extra.ucc.su.oz.au [129.78.64.4] by hermes via ESMTP (LAA15066); Tue, 22 Dec 1998 11:06:41 GMT
Received: from mail.usyd.edu.au (mp-9-41.mp.usyd.edu.au [129.78.57.165])
	by extra.ucc.su.OZ.AU (8.9.1a/8.9.1) with ESMTP id WAA12136;
	Tue, 22 Dec 1998 22:06:27 +1100 (EST)
Message-ID: <367F7CCC.3C63A2F@mail.usyd.edu.au>
Date: Tue, 22 Dec 1998 22:04:59 +1100
From: Bob Douglas 
Reply-To: rdouglas@mail.usyd.edu.au
Organization: Sydney Conservatorium
X-Mailer: Mozilla 4.03 (Macintosh; I; PPC)
MIME-Version: 1.0
To: rasmus ekman 
CC: CSound list 
Subject: Re: Gens 22 and 23 (Re: Query from the Summer Solstice)
References:  <367E4FF1.2CE2AC3F@mail.usyd.edu.au> <367F5D65.51BE@hem.passagen.se>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Thanks Rasmus. I wasn't actually after a GEN that read into a function table
from an audio file, because that has been possible for some time with GEN01.
GEN23 is perfect for my needs because it reads in from a plain ASCII text file.

Bob Douglas

rasmus ekman wrote:
> 
>  wrote:
> > One can read an audio file direct into a table with GEN 23, one of
> > Gabriel's enhancements.  Added in v3.49
> 
> That would have been Gen 22. But this has not been announced
> in the version notes, and it is not in the sources!
> 
>  wrote:
> > Is there a way of reading data into a function table directly from a
> > pre-existing external ASCII file ?
> 
> Gen 23, documented in Version3_49.Notes in Bath/Montreal
> subdirectory "dream/newest".
> 
> Regards,
> 
>         re
> 
> GEN23
> 
> This subroutine reads numeric values from an external ascii file
> f# time size -23 "filename.txt"
> 
> The numeric values contained in "filename.txt" (which indicates
> the complete pathname of the character file to be read), can be
> separated by spaces, tabs, newline characters or commas.
> Also words that contains non-numeric characters can be used as
> comments since they are ignored.
> All characters following ';' (comment) are ignored until next
> line (numbers too).

Date1998-12-21 17:25
Fromjpff@maths.bath.ac.uk
SubjectRe: Query from the Summer Solstice
One can read an audio file direct into a table with GEN 23, one of
Gabriel's enhancements.  Added in v3.49