| This is an automatic reply. Feel free to send additional
mail, as only this one notice will be generated. The following
is a prerecorded message, sent for root
I am away from Bath again; OK so Boston is not Hawai'i, but it has its
moments. I expect to return on 18 September 1997. I hope to have
access to e-mail but in case of difficulty you could mail Audrey on
jpff=aff@maths.bath.ac if you think she could help.
The Computing Group secretary, Angela, can be reached on
amc@maths.bath.ac.uk and she may also know how to contact me.
==John ff
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa08128;
23 Aug 97 2:46 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa12924;
23 Aug 97 2:46 BST
Received: (qmail 16940 invoked from network); 23 Aug 1997 01:46:10 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 23 Aug 1997 01:46:10 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA20207); Sat, 23 Aug 1997 02:39:29 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Sat, 23 Aug 97 02:39:14 +0100
Received: from italy-c.it.earthlink.net [204.250.46.18] by hermes via ESMTP (CAA20038); Sat, 23 Aug 1997 02:39:12 +0100
Received: from [153.34.58.179] (1Cust51.max20.washington.dc.ms.uu.net [153.34.58.179])
by italy.it.earthlink.net (8.8.7/8.8.5) with SMTP id SAA18650
for ; Fri, 22 Aug 1997 18:39:47 -0700 (PDT)
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 22 Aug 1997 21:39:04 -0400
To: csound@maths.ex.ac.uk
From: Robert Tichacek
Subject: Question about GEN01 n'
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Having settled on as my weapon of choice in mutilating innocent lil'
samples, I have been vexed by said opcode's inability to use dynamically
allocated GEN01 tables. Why does get to have all the fun? Are
there any techniques in CSound that I can use to have the sample fill the
GEN01 table without nasty clicks or digital whitespace, or do I just
timestretch the sample to a power-of-two length and hope that I get a good
result?
Seeking Enlightenment
Robert Tichacek
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa08248;
23 Aug 97 3:31 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14721;
23 Aug 97 3:30 BST
Received: (qmail 17688 invoked from network); 23 Aug 1997 02:30:44 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
by pat.bath.ac.uk with SMTP; 23 Aug 1997 02:30:44 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (DAA20281); Sat, 23 Aug 1997 03:17:22 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Sat, 23 Aug 97 03:16:55 +0100
Received: from condor.CC.UMontreal.CA [132.204.2.103] by hermes via ESMTP (DAA18161); Sat, 23 Aug 1997 03:16:54 +0100
Received: from eole.ERE.UMontreal.CA (eole.ERE.UMontreal.CA [132.204.2.70]) by condor.CC.UMontreal.CA with ESMTP id WAA12123
(8.6.11/IDA-1.6); Fri, 22 Aug 1997 22:16:48 -0400
Received: from mistral.ERE.UMontreal.CA by eole.ERE.UMontreal.CA (951211.SGI.8.6.12.PATCH1042/5.17)
id WAA04954; Fri, 22 Aug 1997 22:16:47 -0400
Received: from GAP by mistral.ERE.UMontreal.CA (951211.SGI.8.6.12.PATCH1042/5.17)
id WAA14340; Fri, 22 Aug 1997 22:16:44 -0400
Message-Id: <33FE47B7.3359@ere.umontreal.ca>
Date: Fri, 22 Aug 1997 22:15:19 -0400
From: Jean Piche
X-Mailer: Mozilla 3.01SGoldC-SGI (X11; I; IRIX 6.3 IP32)
Mime-Version: 1.0
To: Robert Tichacek
Cc: csound@maths.ex.ac.uk
Subject: Re: Question about GEN01 n'
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Robert Tichacek wrote:
>
> Having settled on as my weapon of choice in mutilating innocent lil'
> samples, I have been vexed by said opcode's inability to use dynamically
> allocated GEN01 tables. Why does get to have all the fun? Are
> there any techniques in CSound that I can use to have the sample fill the
> GEN01 table without nasty clicks or digital whitespace, or do I just
> timestretch the sample to a power-of-two length and hope that I get a good
> result?
>
> Seeking Enlightenment
> Robert Tichacek
Robert,
You have to scale the length of your sample. An index going from 0 to 1
with the phasor and fog (I believe...) will scan the full function table
including empty space if there is any. the idea is to get the number of
frames in the sample you are using and scale your index accrodingly:
scale = no_of_frames_in_sample/Func_table_length
index = index*scale
You find the rough number of frames in a sound by multiplying its
duration by its sampling rate. Mono and multi-track files have the same
number of frames for the same size. Power-of-two function table sizes
are in frames.
--
________________________________________________________
Jean Piche
Universite de Montreal
http://mistral.ere.umontreal.ca/~pichej
http://www.musique.umontreal.ca/Org/CompoElectro/CEC/
|