| Message written at 12 Jul 1998 21:37:11 -0400
--- Copy of mail to zarmzarm@hotmail.com ---
In-reply-to: <19980713065613.24126.qmail@hotmail.com> (message from Paul
Winkler on Sun, 12 Jul 1998 23:56:12 PDT)
References: <19980713065613.24126.qmail@hotmail.com>
The r score command needs TWO arguments. The first is a count, and
the second is the name of a macro which takes the value of the
iteration. Without the macro name it wikk fail. OK, there ought to
be better error checking. Will look at it.
==John ffitch
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20211;
15 Jul 98 18:30 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa18648;
15 Jul 98 18:30 BST
Received: (qmail 28782 invoked from network); 15 Jul 1998 17:30:16 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 17:30:16 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA11516); Wed, 15 Jul 1998 18:26:10 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 18:25:33 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (SAA21813); Wed, 15 Jul 1998 18:25:26 +0100 (BST)
Received: from [138.38.99.25] (helo=maths.Bath.AC.UK ident=mmdf)
by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
for csound@maths.ex.ac.uk
id 0ywVIx-00001k-00; Wed, 15 Jul 1998 18:25:23 +0100
Date: Wed, 15 Jul 98 18:25:27 BST
From: jpff@maths.bath.ac.uk
Subject: Random numbers
To: csound@maths.ex.ac.uk
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Message written at 12 Jul 1998 21:49:52 -0400
There does seem to be some confusions in the whole area of the random
number generators in Csound.
First, the rand, randh and randi opcodes have a simple (trivial) small
cycle pseudo randon number generator. They are not affected by the
seed opcode, but only the optional seed argumrnt. Each opcode is
independednt, and follows the same sequence.
The noise generators on the other hand use the ANSI C rand function,
and all share the SAME sequence, which is reasonably long cycled (30
bit typically).
It would help if people where clear as to which one they mean in these
discussions.
==John ffitch
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21883;
15 Jul 98 22:54 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa07522;
15 Jul 98 22:54 BST
Received: (qmail 11195 invoked from network); 15 Jul 1998 21:54:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 21:54:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA21860); Wed, 15 Jul 1998 22:51:03 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 22:50:48 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (WAA05669); Wed, 15 Jul 1998 22:50:40 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFM3HOO028WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 14:50:39 PDT
Date: Wed, 15 Jul 1998 14:51:35 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <35AD1F33.4ACCA3FF@ere.umontreal.ca>
X-Sender: spjut@thuban.ac.hmc.edu
To: jp
Cc: 'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
References:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 5:29 PM -0400 7/15/98, jp wrote:
>Erik proposes (but surely does not test):
>
>> k1 rand
>> k2 = 2*int(2*k1)-1
>
>
>k1 rand 1
>k2 = int(k1+1)-1
>
>on the other hand, works well.
>
>Erik goes to the corner...
>and stands in shame for the rest of the week.
>
>(Winks deemed unnecessary...)
Erik forgot that rand goes from -1 to +1 instead of the usual 0 to 1.
Erik's been busy programming things other than Csound (such as multimode
heat transfer). Hey, I spent all of 3 minutes on it.
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-ID: <19980715190822890.AAA51@turing.hogent.be>
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20601;
15 Jul 98 20:08 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25846;
15 Jul 98 20:08 BST
Received: (qmail 5513 invoked from network); 15 Jul 1998 19:08:21 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 19:08:21 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA26146); Wed, 15 Jul 1998 20:03:44 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 20:03:25 +0100
Received: from [193.121.99.70] by hermes via ESMTP (UAA01997); Wed, 15 Jul 1998 20:03:18 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List
Subject: rand has nasty audible cycle
Date: Wed, 15 Jul 1998 20:58:53 +0200
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19980715190822890.AAA51@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have found the rand,randh and randi opcodes very annoying when used for
a-rate signals, because in my humble opinion they don't have a "reasonably
long"
cycle as I can always hear the cyclic repetition ! It sounds like a looped
sample,
and not like a stream. However those other, non-uniform random generators
like gauss, weibull etc are very well suited for a seamless stream !
What is the technical difference between the cyclic rand and the
non-uniform generators ??
David.
> There does seem to be some confusions in the whole area of the random
> number generators in Csound.
>
> First, the rand, randh and randi opcodes have a simple (trivial) small
> cycle pseudo randon number generator. They are not affected by the
> seed opcode, but only the optional seed argumrnt. Each opcode is
> independednt, and follows the same sequence.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21037;
15 Jul 98 21:18 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa00932;
15 Jul 98 21:18 BST
Received: (qmail 7370 invoked from network); 15 Jul 1998 20:18:38 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 20:18:38 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA13116); Wed, 15 Jul 1998 21:15:34 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:15:14 +0100
Received: from [199.85.19.2] by hermes via ESMTP (VAA02647); Wed, 15 Jul 1998 21:15:07 +0100 (BST)
Received: by fw.osler.com id <20632>; Wed, 15 Jul 1998 16:19:33 -0400
Message-Id: <98Jul15.161933edt.20632@fw.osler.com>
From: "Ruston, Paul"
To: 'Csound group'
Subject: RANDOM NUMBERS
Date: Wed, 15 Jul 1998 11:43:11 -0400
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could anyone recommend a simple way to generate random +1's and -1's
(whole #'s - nothing in between and no zeros)? Maybe there's a simple
formula I could use with krnd without using if - then statements?
Thanks as always
Paul Ruston
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21324;
15 Jul 98 21:59 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa03701;
15 Jul 98 21:59 BST
Received: (qmail 9513 invoked from network); 15 Jul 1998 20:59:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 15 Jul 1998 20:59:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA19878); Wed, 15 Jul 1998 21:55:39 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 21:55:22 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (VAA09470); Wed, 15 Jul 1998 21:55:13 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFK5NGA148WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 13:55:07 PDT
Date: Wed, 15 Jul 1998 13:56:04 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <98Jul15.161933edt.20632@fw.osler.com>
X-Sender: spjut@thuban.ac.hmc.edu
To: "Ruston, Paul" ,
'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 11:43 AM -0400 7/15/98, Ruston, Paul wrote:
>Could anyone recommend a simple way to generate random +1's and -1's
>(whole #'s - nothing in between and no zeros)? Maybe there's a simple
>formula I could use with krnd without using if - then statements?
k1 rand
k2 = 2*int(2*k1)-1
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21883;
15 Jul 98 22:54 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa07522;
15 Jul 98 22:54 BST
Received: (qmail 11195 invoked from network); 15 Jul 1998 21:54:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 21:54:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA21860); Wed, 15 Jul 1998 22:51:03 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 22:50:48 +0100
Received: from Thuban.AC.HMC.Edu [134.173.53.8] (may be forged) by hermes via ESMTP (WAA05669); Wed, 15 Jul 1998 22:50:40 +0100 (BST)
Received: from [134.173.38.61] (Spjut.Eng.HMC.Edu)
by THUBAN.AC.HMC.EDU (PMDF V5.1-7 #28820)
with ESMTP id <01IZFM3HOO028WX185@THUBAN.AC.HMC.EDU> for
csound@maths.ex.ac.uk; Wed, 15 Jul 1998 14:50:39 PDT
Date: Wed, 15 Jul 1998 14:51:35 -0700
From: Erik Spjut
Subject: Re: RANDOM NUMBERS
In-Reply-To: <35AD1F33.4ACCA3FF@ere.umontreal.ca>
X-Sender: spjut@thuban.ac.hmc.edu
To: jp
Cc: 'Csound group'
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
References:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
At 5:29 PM -0400 7/15/98, jp wrote:
>Erik proposes (but surely does not test):
>
>> k1 rand
>> k2 = 2*int(2*k1)-1
>
>
>k1 rand 1
>k2 = int(k1+1)-1
>
>on the other hand, works well.
>
>Erik goes to the corner...
>and stands in shame for the rest of the week.
>
>(Winks deemed unnecessary...)
Erik forgot that rand goes from -1 to +1 instead of the usual 0 to 1.
Erik's been busy programming things other than Csound (such as multimode
heat transfer). Hey, I spent all of 3 minutes on it.
-------------------------------------------------------------------------------
Erik Spjut (rhymes with cute) - Acting Director,The Center for Design Education
and/or Associate Professor of Engineering
Harvey Mudd College, Claremont, CA 91711 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20559;
15 Jul 98 20:04 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa25497;
15 Jul 98 20:04 BST
Received: (qmail 4077 invoked from network); 15 Jul 1998 19:04:03 -0000
Received: from unknown (HELO hurricane.netgate.be) (193.121.99.70)
by mercury.bath.ac.uk with SMTP; 15 Jul 1998 19:04:03 -0000
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
(post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA51;
Wed, 15 Jul 1998 21:08:35 +0200
From: David Schuyeteneer
To: jpff@maths.bath.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.stork
Cc: Csound List |