Csound Csound-dev Csound-tekno Search About

stereo random?

Date1997-07-25 09:40
Fromjames@maths.ex.ac.uk
Subjectstereo random?
owner-csound-outgoing wrote
>From owner-csound-outgoing Fri Jul 25 03:38:48 1997
From: owner-csound-outgoing
Date: Fri, 25 Jul 97 03:38:48 GMT
Message-Id: <9449.9707250338@maths.exeter.ac.uk>
To: owner-csound-outgoing
Subject: BOUNCE Csound: Non-member submission from [jthorpe@compusmart.ab.ca (Joshua Thorpe)]

>From jthorpe@compusmart.ab.ca Fri Jul 25 04:38:44 1997 remote from 
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 25 Jul 97 04:38:44 +0100
Received: from root@bernie.compusmart.ab.ca [199.185.130.34] by hermes via ESMTP (EAA09124); Fri, 25 Jul 1997 04:38:40 +0100
Received: from [207.34.71.55] (remote643.compusmart.ab.ca [207.34.71.55]) by bernie.compusmart.ab.ca (8.7.4/8.6.5) with SMTP id VAA00590 for ; Thu, 24 Jul 1997 21:56:46 -0600 (MDT)
X-Sender: jthorpe@mail.compusmart.ab.ca (Unverified)
Message-Id: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 24 Jul 1997 21:43:21 -0600
To: csound
From: jthorpe@compusmart.ab.ca (Joshua Thorpe)
Subject: stereo random?

I'm a c-sound beginner and I'm trying to make an instrument that will be
placed randomly in the stereo field each time it's initiated in my score.
I've just created a randi of .5, (+.5) and in my outs said asig * arand,
asig * (1 - arand).

What his does, is oscilate the signal stereophonically.  Any suggestions
out there?

joshua t.



-- 
James Andrews, maths CDO, ext.3977

Date1997-07-25 18:18
FromCharles Baker
Subjectstereo random?

> From: jthorpe@compusmart.ab.ca (Joshua Thorpe)
> Subject: stereo random?
>
> I'm a c-sound beginner
>
>
Welcome!!

> and I'm trying to make an instrument that will be
> placed randomly in the stereo field each time it's initiated in  
my score.
> I've just created a randi of .5, (+.5) and in my outs said asig *  
arand,
> asig * (1 - arand).
>
> What his does, is oscilate the signal stereophonically.  Any  
suggestions
> out there?
>
> joshua t.
>
Wellll... randi (the ending 'i' is important) "interpolates"  
between values...
this means it smoothly moves between values: your 'arand' variable will
produce output at the audio rate (the leading 'a' is the clue here), 
and this will smoothly change over the the duration of the note. A "pan".

Perhaps what you wanted was an "i" value? (i = "initialization"  
value: set only during
initialization pass) Try changing the 'arand' to 'irand'.


Again Welcome!

CharlieB

--
James Andrews, maths CDO, ext.3977