| I now have all the pieces to allow for strings to be translated into
other languages. I intend the final integration tonight (TaiChi
permitting) or over the weekend. The structure I have created allows
for no change (with one definition of the macro STR) or strings coming
from a structured file. This file is created by a C program, using a
raw text format as input, which I can create directly from teh source
with an emacs macro.
Apart from a person feeling of smugness I am now seeking people to
create translations to other languages -- I have heard requests for
Spanish, Portuguese and Japanese. Someone could do an
English/American version I suppose. Anyone want to try translating?
Direct e-mail to me would seem to be the best.
I do have one remaining problem, which is byte order; shoudl be
solvable. Advice on a header format accepted as well. Currently it
start
CSOUND STRINGS
English
....
but I will listen to representations of an XML-like format I suppose.
I do want it to remain binary though.
This will also encourage me to get a new version out as well.
==John
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24295;
13 May 99 15:42 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10hwh7-00071r-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 15:42:41 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA10942); Thu, 13 May 1999 15:37:50 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 15:37:40 +0100
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (PAA10926); Thu, 13 May 1999 15:37:34 +0100 (BST)
Received: from ccrma.stanford.edu ([207.97.74.35])
by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id HAA21831;
Thu, 13 May 1999 07:37:10 -0700 (PDT)
Message-ID: <373AE3F3.3C128898@ccrma.stanford.edu>
Date: Thu, 13 May 1999 10:38:43 -0400
From: Tobias Kunze
X-Mailer: Mozilla 4.05C-SGI [en] (X11; I; IRIX 6.5 IP22)
MIME-Version: 1.0
To: Riccardo Bianchini
CC: csound@maths.ex.ac.uk
Subject: Re: Bug in linseg (recent versions)
References: <3739B727.9959ACFC@fabaris.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> sr=44100
> kr=44100 ;<-----!
> ksmps=1
> nchnls=1
> instr 1
> aecc linseg 0,1/kr,1,2/k3,-1,1/k3,0,p3-4/kr,0
> out a1
> endin
This certainly is a hall of famer! Your orchestra causes
5 compilation errors in 2 lines of active code. That is
an mind-boggeling Sustained Error Rate of 2.5 per line...
Not bad for a public post!
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24402;
13 May 99 16:14 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10hxBk-000730-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 16:14:20 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA11833); Thu, 13 May 1999 16:07:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 16:07:42 +0100
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (QAA07830); Thu, 13 May 1999 16:07:38 +0100 (BST)
Received: by neptune.lyrick.com with Internet Mail Service (5.5.2448.0)
id ; Thu, 13 May 1999 10:07:33 -0500
Message-ID: <283AABB8FD0DD21187C200A0C995F5DEECAF7C@neptune.lyrick.com>
From: David Boothe
To: Riccardo Bianchini
Cc: csound@maths.ex.ac.uk
Subject: RE: Bug in linseg (recent versions)
Date: Thu, 13 May 1999 10:07:31 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01BE9D52.536C937A"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BE9D52.536C937A
Content-Type: text/plain;
charset="iso-8859-1"
Riccardo-
There seems to be some code missing in the orc. Could you supply the rest of
the instrument so that k3 and a1 are defined?
To get it to compile, I changed k3 to kr and a1 to aecc. Then multiply aecc
by 10000 to get a visible output. I say visible instead of audible, because
it looked like a control signal: a stair-stepped straight line decaying from
+25000 to 0 and taking 1 second to do so.
-David.
> -----Original Message-----
> From: Tobias Kunze [mailto:tkunze@ccrma.stanford.edu]
> Sent: Thursday, May 13, 1999 9:39 AM
> To: Riccardo Bianchini
> Cc: csound@maths.ex.ac.uk
> Subject: Re: Bug in linseg (recent versions)
>
>
> > sr=44100
> > kr=44100 ;<-----!
> > ksmps=1
> > nchnls=1
> > instr 1
> > aecc linseg 0,1/kr,1,2/k3,-1,1/k3,0,p3-4/kr,0
> > out a1
> > endin
>
> This certainly is a hall of famer! Your orchestra causes
> 5 compilation errors in 2 lines of active code. That is
> an mind-boggeling Sustained Error Rate of 2.5 per line...
>
> Not bad for a public post!
>
------_=_NextPart_001_01BE9D52.536C937A
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
RE: Bug in linseg (recent versions)
Riccardo-
There seems to be some code missing in the orc. Could =
you supply the rest of the instrument so that k3 and a1 are =
defined?
To get it to compile, I changed k3 to kr and a1 to =
aecc. Then multiply aecc by 10000 to get a visible output. I say =
visible instead of audible, because it looked like a control signal: a =
stair-stepped straight line decaying from +25000 to 0 and taking 1 =
second to do so.
-David.
> -----Original Message-----
> From: Tobias Kunze [mailto:tkunze@ccrma.stanford.e=
du]
> Sent: Thursday, May 13, 1999 9:39 AM
> To: Riccardo Bianchini
> Cc: csound@maths.ex.ac.uk
> Subject: Re: Bug in linseg (recent =
versions)
>
>
> > sr=3D44100
> > kr=3D44100 =
;<-----!
> > ksmps=3D1
> > nchnls=3D1
> > instr 1
> > aecc =
linseg 0,1/kr,1,2/k3,-1,1/k3,0,p3-4/kr,0
> > out a1
> > endin
>
> This certainly is a hall of famer! Your =
orchestra causes
> 5 compilation errors in 2 lines of active =
code. That is
> an mind-boggeling Sustained Error Rate of 2.5 =
per line...
>
> Not bad for a public post!
>
------_=_NextPart_001_01BE9D52.536C937A--
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24619;
13 May 99 17: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 10hyAy-0004BO-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 17:17:36 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA05542); Thu, 13 May 1999 17:14:26 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 17:14:12 +0100
Received: from root@sun1.fabaris.it [194.91.204.1] by hermes via ESMTP (RAA07698); Thu, 13 May 1999 17:14:08 +0100 (BST)
Received: from fabaris.it (ppp003.fabaris.it [194.91.204.73])
by sun1.fabaris.it (8.9.3/8.8.7) with ESMTP id SAA03806;
Thu, 13 May 1999 18:14:03 +0200
Message-ID: <373AFA57.783CCE8C@fabaris.it>
Date: Thu, 13 May 1999 18:14:15 +0200
From: Riccardo Bianchini
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Jon Christopher Nelson ,
csound@maths.ex.ac.uk
Subject: Re: Bug in linseg (recent versions)
References: <3739B727.9959ACFC@fabaris.it> <373AD39B.160EFF1A@sndart.cemi.unt.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Dear Jon,
Jon Christopher Nelson wrote:
> Your linseg has two "k3" arguments that appear to be undefined. I am
> guessing that you intended to have "kr" instead to create this impulse?? I
> cannot confirm if this works with such small segment lengths. There are
> other ways you can use Csound to create a single impulse each time you turn
> on an instrument. In particular, you can set up an a-rate loop structure
> that generates a 1 for audio sample number 1, -1 for sample number 2, and
> zero for everything following that point. Let me know if you would like me
> to send you example code for this.
sure k3 is a typo! In the original orchestra it is kr, as it should be!
Thanks for your suggestion, I know there are many other ways to generate a
single impulse (one can be by means of oscil1).
The fact is that I tried to avoid correcting an old piece orchestra that
worked veryu well with Csound versions up to 3.48.
Happy Csounding!
Riccardo
--
*************************************
Riccardo Bianchini, composer
Professor, Scuola di Musica Elettronica
Conservatorio "S.Cecilia", Roma
http://www.fabaris.it/bianchini
http://www.geocities.com/Heartland/Acres/4768
Conservatorio: http://space.tin.it/musica/ilipc
*************************************
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24644;
13 May 99 17:25 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10hyI9-0004BY-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 17:25:01 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA01172); Thu, 13 May 1999 17:21:58 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 17:21:44 +0100
Received: from root@sun1.fabaris.it [194.91.204.1] by hermes via ESMTP (RAA14927); Thu, 13 May 1999 17:21:39 +0100 (BST)
Received: from fabaris.it (ppp003.fabaris.it [194.91.204.73])
by sun1.fabaris.it (8.9.3/8.8.7) with ESMTP id SAA03817;
Thu, 13 May 1999 18:21:20 +0200
Message-ID: <373AFC0C.A39C6F69@fabaris.it>
Date: Thu, 13 May 1999 18:21:32 +0200
From: Riccardo Bianchini
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: David Boothe , csound@maths.ex.ac.uk
Subject: Re: Bug in linseg (recent versions)
References: <283AABB8FD0DD21187C200A0C995F5DEECAF7C@neptune.lyrick.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
David Boothe wrote:
Riccardo-
>There seems to be some code missing in the orc. Could you supply the
rest of
>the instrument so that k3 and a1 are defined?
>To get it to compile, I changed k3 to kr and a1 to aecc. Then multiply
aecc
>by 10000 to get a visible output. I say visible instead of audible,
because
>it looked like a control signal: a stair-stepped straight line decaying
from
>+25000 to 0 and taking 1 second to do so.
>-David.
Sure I put a lot of typos in this orc! The original orchestra is fairly
complex, so I "extracted" the fragment regarding the (supposed?) bug in
linseg.
The orchestra shoud be:
sr=44100
kr=44100 ;<-----!
ksmps=1
nchnls=1
instr 1
a1 linseg 0,1/kr,1,2/kr,-1,1/kr,0,p3-4/kr,0
out a1*10000
endin
;score
i1 0 1
As David Boothe reports, the result is not what the orchestra is
intended to produce.
I can confirm that it works well with Csound versions up to 3.48.
Sorry again for the typos.
Riccardo
--
*************************************
Riccardo Bianchini, composer
Professor, Scuola di Musica Elettronica
Conservatorio "S.Cecilia", Roma
http://www.fabaris.it/bianchini
http://www.geocities.com/Heartland/Acres/4768
Conservatorio: http://space.tin.it/musica/ilipc
*************************************
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24898;
13 May 99 18:55 BST
Received: from [209.30.0.41] (helo=ares.flash.net)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10hzha-0004EB-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 18:55:27 +0100
Received: from bigfoot.com (p239-150.atnt3.dialup.ftw1.flash.net [209.30.239.150])
by ares.flash.net (8.9.3/8.9.3) with ESMTP id MAA19441;
Thu, 13 May 1999 12:55:06 -0500 (CDT)
Message-ID: <373B1226.65D47EE3@bigfoot.com>
Date: Thu, 13 May 1999 12:55:50 -0500
From: pete moss
Organization: pete moss GmbH
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk
CC: csound@maths.ex.ac.uk
Subject: Re: Localisation of Csound
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Howdy Pardners!
I might could do the TEXAS translation for you and yours. Y'all hollar
at me and let me know.
(
<|8-)
(
^
|_____ (cowboy hat)
actually, i dont think we need an american english version. i havent
noticed any misspelled words coming from csound (except for my own
variable typos).
will the new language modules need to be compiled in? (not that
compiling is bad)
pete
jpff@maths.bath.ac.uk wrote:
> I am now seeking people to
> create translations to other languages -- I have heard requests for
> Spanish, Portuguese and Japanese. Someone could do an
> English/American version I suppose. Anyone want to try translating?
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24907;
13 May 99 18:59 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10hzlf-0007EJ-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 18:59:35 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (SAA07186); Thu, 13 May 1999 18:55:46 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 18:55:33 +0100
Received: from ares.flash.net [209.30.0.41] by hermes via ESMTP (SAA01420); Thu, 13 May 1999 18:55:32 +0100 (BST)
Received: from bigfoot.com (p239-150.atnt3.dialup.ftw1.flash.net [209.30.239.150])
by ares.flash.net (8.9.3/8.9.3) with ESMTP id MAA19441;
Thu, 13 May 1999 12:55:06 -0500 (CDT)
Message-ID: <373B1226.65D47EE3@bigfoot.com>
Date: Thu, 13 May 1999 12:55:50 -0500
From: pete moss
Organization: pete moss GmbH
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk
CC: csound@maths.ex.ac.uk
Subject: Re: Localisation of Csound
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Howdy Pardners!
I might could do the TEXAS translation for you and yours. Y'all hollar
at me and let me know.
(
<|8-)
(
^
|_____ (cowboy hat)
actually, i dont think we need an american english version. i havent
noticed any misspelled words coming from csound (except for my own
variable typos).
will the new language modules need to be compiled in? (not that
compiling is bad)
pete
jpff@maths.bath.ac.uk wrote:
> I am now seeking people to
> create translations to other languages -- I have heard requests for
> Spanish, Portuguese and Japanese. Someone could do an
> English/American version I suppose. Anyone want to try translating?
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa24933;
13 May 99 19:09 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10hzvR-0004EP-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 19:09:41 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (TAA02795); Thu, 13 May 1999 19:06:41 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 19:06:33 +0100
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (TAA12531); Thu, 13 May 1999 19:06:32 +0100 (BST)
Received: from ccrma.stanford.edu ([207.97.74.33])
by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id LAA23668;
Thu, 13 May 1999 11:05:45 -0700 (PDT)
Message-ID: <373B14B8.B1F292DD@ccrma.stanford.edu>
Date: Thu, 13 May 1999 14:06:48 -0400
From: Tobias Kunze
X-Mailer: Mozilla 4.05C-SGI [en] (X11; I; IRIX 6.5 IP22)
MIME-Version: 1.0
To: Riccardo Bianchini
CC: David Boothe , csound@maths.ex.ac.uk
Subject: Re: Bug in linseg (recent versions)
References: <283AABB8FD0DD21187C200A0C995F5DEECAF7C@neptune.lyrick.com> <373AFC0C.A39C6F69@fabaris.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> I can confirm that it works well with Csound versions up to 3.48
Not for me. Csound Version 3.473 (Mar 9 1998) has a linseg
opcode that resembles more an IIR filter than a line generator.
Set sr=kr=10 and amplify by 256:
; foo.orc
sr=10 ; just 10 samples
kr=10
ksmps=1
nchnls=1
instr 1
a1 linseg 0,1/kr,1,2/kr,-1,1/kr,0,p3-4/kr,0
out a1*256 ; easy to read in hex, not too small, not too large
endin
; foo.sco
i1 0 1
Then create a soundfile without header and check out the cool
impulse response (all numbers in hex):
% csound -h -s -o foo foo.orc foo.sco
ovarall amps: 640.0
result: 0000 0100 0200 0080 ff00 fd80 0000 0280 0215 01aa
decimal: 0 256 512 128 -256 -640 0 640 533 26
expected: 0000 0100 0000 ff00 0000 0000 0000 0000 0000 0000
decimal: 0 256 0 -256 0 0 0 0 0 0
Lowering kr does only worsen the problem:
% csound -h -s -o foo foo.orc foo.sco
ovarall amps: 1024.0
result: 0000 0080 0100 0180 0200 0080 ff00 fd80 fc00 fe00
decimal: 0 128 256 384 512 128 -256 -640-1024 -512
expected: 0000 0080 0100 0080 0000 ff80 ff00 ff80 0000 0000
decimal: 0 128 256 128 0 -128 -256 -128 0 0
The filter does not taper off (gets rounded off to 0) until
sr=kr=200. Also, note that it doesn't overshoot that much (only
269.1 instead of the expected 256 maxamp):
% csound -r 200 -k 200 -h -s -o foo foo.orc foo.sco
ovarall amps: 269.1
result: 0000 000c 0019 0026 0033 0040 004c 0059 0066 0073
0080 008c 0099 00a6 00b3 00c0 00cc 00d9 00e6 00f3
0100 010c 00ff 00f2 00e5 00d8 00cb 00be 00b0 00a3
0096 0089 007c 006f 0062 0055 0048 003a 002d 0020
0013 0006 fffa ffed ffe0 ffd2 ffc5 ffb8 ffab ff9e
ff91 ff84 ff77 ff69 ff5c ff4f ff42 ff35 ff28 ff1b
ff0e ff01 fef3 ff01 ff0e ff1c ff29 ff37 ff44 ff52
ff5f ff6c ff7a ff87 ff95 ffa2 ffb0 ffbd ffcb ffd8
ffe6 fff3 0000 000d 000d 000d 000d 000d 000c 000c
000c 000c 000c 000c 000c 000c 000b 000b 000b 000b
000b 000b 000b 000b 000b 000a 000a 000a 000a 000a
000a 000a 000a 000a 0009 0009 0009 0009 0009 0009
0009 0009 0009 0008 0008 0008 0008 0008 0008 0008
0008 0008 0007 0007 0007 0007 0007 0007 0007 0007
0007 0006 0006 0006 0006 0006 0006 0006 0006 0006
0005 0005 0005 0005 0005 0005 0005 0005 0005 0004
0004 0004 0004 0004 0004 0004 0004 0004 0003 0003
0003 0003 0003 0003 0003 0003 0003 0002 0002 0002
0002 0002 0002 0002 0002 0002 0001 0001 0001 0001
0001 0001 0001 0001 0001 0000 0000 0000 0000 0000
expected: you know what
As one might expect, this overshoot probably approaches 256 as
sr=kr goes towards infinity. Here are some values:
sr=kr= 400: 262.5
sr=kr= 2,000: 257.3
sr=kr= 4,000: 256.6
sr=kr= 20,000: 256.1
sr=kr= 40,000: 256.1
sr=kr= 200,000: 256.0 ; Bingo!
sr=kr= 400,000: 255.9
sr=kr=2,000,000: 256.3
sr=kr=4,000,000: 256.4
...
-Tobias
______________________________________________________________________
Tobias Kunze tkunze@ccrma.stanford.edu
CCRMA, Stanford University http://www-ccrma.stanford.edu/~tkunze
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25053;
13 May 99 19:58 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i0gJ-0007Ff-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 19:58:07 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (TAA12119); Thu, 13 May 1999 19:55:27 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 19:55:15 +0100
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (TAA15422); Thu, 13 May 1999 19:55:14 +0100 (BST)
Received: by neptune.lyrick.com with Internet Mail Service (5.5.2448.0)
id ; Thu, 13 May 1999 13:55:14 -0500
Message-ID: <283AABB8FD0DD21187C200A0C995F5DEECAF80@neptune.lyrick.com>
From: David Boothe
To: Riccardo Bianchini
Cc: csound@maths.ex.ac.uk
Subject: RE: Bug in linseg (recent versions)
Date: Thu, 13 May 1999 13:55:12 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01BE9D72.2203BFFA"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BE9D72.2203BFFA
Content-Type: text/plain;
charset="iso-8859-1"
Riccardo:
> > I can confirm that it works well with Csound versions up to 3.48
>
Tobias:
> Not for me. Csound Version 3.473 (Mar 9 1998) has a linseg
> opcode that resembles more an IIR filter than a line generator.
Csound v3.43 produces a single cycle spike.
-David.
------_=_NextPart_001_01BE9D72.2203BFFA
Content-Type: text/html;
charset="iso-8859-1"
RE: Bug in linseg (recent versions)
Riccardo:
> > I can confirm that it works well with Csound versions up to 3.48
>
Tobias:
> Not for me. Csound Version 3.473 (Mar 9 1998) has a linseg
> opcode that resembles more an IIR filter than a line generator.
Csound v3.43 produces a single cycle spike.
-David.
------_=_NextPart_001_01BE9D72.2203BFFA--
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25257;
13 May 99 21:43 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i2K1-0007IP-00
for jpff@maths.bath.ac.uk; Thu, 13 May 1999 21:43:13 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA07642); Thu, 13 May 1999 21:40:39 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 13 May 1999 21:40:28 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (VAA16590); Thu, 13 May 1999 21:40:27 +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 10i2HJ-0007II-00; Thu, 13 May 1999 21:40:25 +0100
Date: Thu, 13 May 99 21:40:22 BST
From: J P Fitch
To: pete moss
cc: csound@maths.ex.ac.uk
Subject: Re: Localisation of Csound
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
he strings aret not compiled in. there is an external 'database', one for
each language, which is read as needed.
I have not yet decided on a way of specifying the language, but I will
have a default.
The sources are still in English/American (that causes me more problem
that most of you :-) and I will provide the db generator.
btw the smugnes was because the getstring function worked first time, and
the makedb program only took 5 mins of debugging. Actually it was easier
than finding gettext and working out how to use it. Also will give
smaller binaries.
==John
h
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa25935;
14 May 99 3:40 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i7u3-0007Ru-00
for jpff@maths.bath.ac.uk; Fri, 14 May 1999 03:40:47 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (DAA00715); Fri, 14 May 1999 03:38:40 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 14 May 1999 03:38:29 +0100
Received: from popeye.latrobe.edu.au [131.172.4.60] by hermes via ESMTP (DAA11748); Fri, 14 May 1999 03:38:26 +0100 (BST)
Received: from [131.172.160.53] (hu2-322.media.latrobe.edu.au [131.172.160.53]) by popeye.latrobe.edu.au (8.8.6/8.6.9) with ESMTP id MAA23101 for ; Fri, 14 May 1999 12:38:24 +1000 (EST)
X-Sender: mustpm@pop.latrobe.edu.au
Message-Id:
In-Reply-To: <005801be9c92$27846960$252f02c8@luisjure>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 14 May 1999 12:40:33 +1000
To: luis jure
From: Terry McDermott
Subject: Re: ampdb (RE: oscil3 glitch problem)
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hate to be pedantic, but you have to remember that 6dB is not exactly a
factor of 2, but 6.0206 is. (20log2=6.0206...) So a change in 6 db is
slightly less than a factor of 2 in the linear amplitude. I assume that
this is the source of the 'discrepancy' of calibration.
>
>completely apart from this, it's true that ampdb is _not_ very well
>calibrated; for 90 it returns 31622.8 and not 32000 as the manual says.
>below is a table comparing what i and real values given by amdb:
>
>90 32000 31622.8
>89 28508.76 28183.8
>88 25398.43 25118.9
>87 22627.42 22387.2
>86 20158.75 19952.6
>85 17959.39 17782.8
>84 16000 15848.9
>83 14254.36 14125.4
>82 12699.2 12589.2
>81 11313.69 11220.2
>80 10079.36 10000.0
>79 8979.71 8912.5
>78 8000 7943.3
>
>and so on. as you see, deviations can be considered negligible.
>all that if i calculated well, that might not be the case.
Terry McDermott
Music Department
School of Arts & Media
Latrobe University
Bundoora, Victoria, 3083
Australia
email: T.McDermott@latrobe.edu.au
Telephone +61 3 9479 2167
Fax +61 3 9479 3651
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26016;
14 May 99 4:12 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i8OM-0004R2-00
for jpff@maths.bath.ac.uk; Fri, 14 May 1999 04:12:06 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (EAA18539); Fri, 14 May 1999 04:09:51 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 14 May 1999 04:09:34 +0100
Received: from angel.algonet.se [194.213.74.112] by hermes via SMTP (EAA17519); Fri, 14 May 1999 04:09:33 +0100 (BST)
Received: (qmail 1354 invoked from network); 14 May 1999 05:09:33 +0200
Received: from du171-26.ppp.algonet.se (HELO algonet.se) (195.100.26.171)
by angel.algonet.se with SMTP; 14 May 1999 05:09:33 +0200
From: Anders Andersson
To: The CSound mailinglist
Date: Thu, 13 May 1999 01:16:55 +0200
Message-ID:
X-Mailer: YAM 2.0Preview7 [020] - Amiga Mailer by Marcel Beck - http://www.yam.ch
Subject: Sinus calculation
MIME-Version: 1.0
Content-Type: text/plain
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello ppl!
Today I browsed the net for some amiga-stuff, and I found some
more info about the sine-stuff at "http://come.to/amiga".
Follow the link that says something about "Sinetable generator"
or something, and there will be some algos on how to calculate
a sine.
There's 2 that looks interesting..
(And come back after May 16:th and vote for my faked wood-laminate
in the 128 byte texture-compo ;D)
// Anders
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26022;
14 May 99 4:12 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i8Ok-0007TU-00
for jpff@maths.bath.ac.uk; Fri, 14 May 1999 04:12:30 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (EAA11897); Fri, 14 May 1999 04:09:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 14 May 1999 04:09:37 +0100
Received: from angel.algonet.se [194.213.74.112] by hermes via SMTP (EAA06103); Fri, 14 May 1999 04:09:37 +0100 (BST)
Received: (qmail 1360 invoked from network); 14 May 1999 05:09:36 +0200
Received: from du171-26.ppp.algonet.se (HELO algonet.se) (195.100.26.171)
by angel.algonet.se with SMTP; 14 May 1999 05:09:36 +0200
From: Anders Andersson
To: The CSound mailinglist
Date: Fri, 14 May 1999 05:05:01 +0200
Message-ID:
In-Reply-To:
X-Mailer: YAM 2.0Preview7 [020] - Amiga Mailer by Marcel Beck - http://www.yam.ch
Subject: Re: Localisation of Csound
MIME-Version: 1.0
Content-Type: text/plain
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> he strings aret not compiled in. there is an external 'database', one for
> each language, which is read as needed. I have not yet decided on a way of
> specifying the language, but I will have a default.
> The sources are still in English/American (that causes me more problem
> that most of you :-) and I will provide the db generator.
Hmm.. One problem is that then one would need multiple files,
and I just *LOVE* programs that's only one file! =)
// Anders
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26071;
14 May 99 4:58 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i972-0004UC-00
for jpff@maths.bath.ac.uk; Fri, 14 May 1999 04:58:16 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (EAA10161); Fri, 14 May 1999 04:56:00 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 14 May 1999 04:55:48 +0100
Received: from mailhub.dartmouth.edu [129.170.16.6] by hermes via ESMTP (EAA17229); Fri, 14 May 1999 04:55:46 +0100 (BST)
Received: from donner.Dartmouth.EDU (donner.dartmouth.edu [129.170.208.3])
by mailhub.dartmouth.edu (8.9.3+DND/8.9.3) with ESMTP id XAA21296
for ; Thu, 13 May 1999 23:55:46 -0400 (EDT)
Message-id: <23238796@donner.Dartmouth.EDU>
Date: 13 May 1999 23:55:46 EDT
From: "Peter M. Traub"
Subject: [ANNOUNCE]: bits & pieces: a sonic installation for the WWW
To: csound@maths.ex.ac.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
**************************************
http://music.dartmouth.edu/~peter/bits
"bits & pieces" is a Web installation that searches
the Web for sound files. Found sound is processed in
various ways, and the results broadcast back over=20
the Web via RealAudio. Thus you need RealPlayer
(available for free at http://www.real.com) to hear it.
http://music.dartmouth.edu/~peter/bits
**************************************
A Bit More About "bits & pieces."
"bits & pieces" is a Master's thesis project. The thesis
paper itself will be available on the Web (linked to from
the "b&p" site), on or shortly after June 1st.
"b&p" is written in a combination of PERL and Csound. PERL
scripts are used to drive the search and download processes,=20
and PERL generated Csound files are responsible for the sound=20
processing. New sound files are found every morning, and are
used as the sources for the day's various sound collages. A new
collage/piece is generated every 15 minutes. "bits & pieces"
will automatically play back the 10 most recent pieces through
your RealPlayer.
**************************************
A Note from the Author:
I apologize for any multiple copies of this mailing you may=20
receive from cross postings. Please forward this freely. If you =
would like more information about me or my other work (much of =
which
is available via RealAudio on my Website), please go to:
http://music.dartmouth.edu/~peter/pmt
Thank you and Enjoy!
peter m. traub
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26083;
14 May 99 5:02 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10i9Ae-0007YC-00
for jpff@maths.bath.ac.uk; Fri, 14 May 1999 05:02:00 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (EAA13613); Fri, 14 May 1999 04:59:29 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 14 May 1999 04:59:18 +0100
Received: from out5.ibm.net [165.87.194.243] by hermes via ESMTP (EAA04893); Fri, 14 May 1999 04:59:17 +0100 (BST)
Received: from ibm.net (slip-32-100-159-148.dc.us.ibm.net [32.100.159.148]) by out5.ibm.net (8.8.5/8.6.9) with ESMTP id DAA51816 for ; Fri, 14 May 1999 03:59:15 GMT
Message-ID: <373BA0AA.DDCF1B61@ibm.net>
Date: Fri, 14 May 1999 00:03:54 -0400
From: "Job M. van Zuijlen"
Reply-To: zuijlen@ibm.net
Organization: electona
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List
Subject: Re: ampdb (RE: oscil3 glitch problem)
References: <005801be9c92$27846960$252f02c8@luisjure>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
If you look at the value for 80 dB, you can see that ampdb returns the
correct result. If 0 dB corresponds to 1 (10^0), then 80 db corresponds
to 10^(80/20) = 10^4 = 10000. The manual is incorrect here, although
the difference is insignificant from the point of view of perception,
about 1% (0.2 dB).
Job van Zuijlen
luis jure wrote:
>
>
> completely apart from this, it's true that ampdb is _not_ very well
> calibrated; for 90 it returns 31622.8 and not 32000 as the manual says.
> below is a table comparing what i and real values given by amdb:
>
> 90 32000 31622.8
> 89 28508.76 28183.8
> 88 25398.43 25118.9
> 87 22627.42 22387.2
> 86 20158.75 19952.6
> 85 17959.39 17782.8
> 84 16000 15848.9
> 83 14254.36 14125.4
> 82 12699.2 12589.2
> 81 11313.69 11220.2
> 80 10079.36 10000.0
> 79 8979.71 8912.5
> 78 8000 7943.3
>
> [snip]
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26197;
14 May 99 6:11 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 10iAGG-0007c8-00
for jpff@maths.bath.ac.uk; Fri, 14 May 1999 06:11:52 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (GAA14438); Fri, 14 May 1999 06:09:47 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 14 May 1999 06:09:34 +0100
Received: from mail4.lig.bellsouth.net [205.152.0.32] by hermes via ESMTP (GAA11770); Fri, 14 May 1999 06:09:33 +0100 (BST)
Received: from bellsouth.net (host-209-215-23-40.gnv.bellsouth.net [209.215.23.40])
by mail4.lig.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id AAA23902
for ; Fri, 14 May 1999 00:59:16 -0400 (EDT)
Message-ID: <373BB02C.9B5255E5@bellsouth.net>
Date: Fri, 14 May 1999 01:10:04 -0400
From: Patrick Pagano
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List
Subject: Sample and hold
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi folks
can someone give me a basic sample and hold instr using an oscili?
the example in the manual is hard for me to figure out and the blue cube
one
is close to what i would like to use but I want it to have specific
frequencies
instr 4
krt=p6 ;this is the frq of the randh output & clk osc
isd=p4 ;p4 holds the value of the seed of randh UG
krn randh 1000,krt,isd ;noise input to S&H;;;;;;;;;;;;;;;;;;;i would
like to specify frequencies but when I change the p6 to say 512
kclk oscil
400,krt,1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;all I get
is noise
ksh samphold krn, kclk ;S&H
a2 oscil 450, ksh,1
a3 oscil a2,1/p3,1
kpan oscil 1,.04,1
this is the bluecube one
heres my full instrs
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
gasig init 0
garvbsig init 0
instr 1
ksig1 linen 300, .1, p3, .1
ksig2 linen 300, .2, p3, .2
ksig3 linen 300, .3, p3, .3
ksig4 linen 300, .4, p3, .4
asig2 oscili ksig1, p4, 1
asig5 oscili ksig2, p4, 1
asig3 oscili ksig3, p4*5, 1
asig4 oscili ksig4, p4*7, 1
amix=asig2+asig5+asig3+asig4
gasig =gasig+amix
garvbsig=garvbsig+amix
endin
instr 2;
kenv1 linen 300, .1,p3, .1
kenv2 linen 350, .2,p3, .2
kenv3 linen 375, .3,p3, .3
kenv4 linen 380, .4,p3, .4
kenv5 linen 385, .5,p3, .5
asig1 oscili kenv1, 1024, 1
asig3 oscili kenv2, 1334, 1
asig5 oscili kenv3, 1632, 1
asig2 oscili kenv4, 1152, 1
asig4 oscili kenv5, 1360, 1
amix=asig2+asig5+asig3+asig4+asig1
gasig =gasig+amix
garvbsig=garvbsig+amix
endin
instr 3;Begin: Untitled1
asig1 randh 300, 20000
kenv1 line 300, p3, 0
afilt1 reson asig1, kenv1, 75
amod1 balance afilt1, asig1
amod1 = amod1*2
outs amod1,amod1
endin
instr 4
krt=p6 ;this is the frq of the randh output & clk osc
isd=p4 ;p4 holds the value of the seed of randh UG
krn randh 1000,krt,isd ;noise input to S&H
kclk oscil 400,krt,1
ksh samphold krn, kclk ;S&H
a2 oscil 450, ksh,1
a3 oscil a2,1/p3,1
kpan oscil 1,.04,1
asig1 = a3*kpan
asig2 = a3*(1-kpan)
amix=asig1+asig2
garvbsig=garvbsig+(asig1+asig2)
endin
instr 99
kDelaydecay init .32
iDelaytime init 2.0
asig7 delayr iDelaytime
delayw kDelaydecay * (gasig+
asig7)
outs asig7 + gasig,asig7
+gasig
gasig = 0
endin
instr 98
a1 reverb2 garvbsig, p4, p5
outs a1,a1
garvbsig=0
endin
Thanks for any help as always
Pat Pagano
|