Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Random

Date2011-12-14 21:00
From"Art Hunkins"
SubjectRe: [Csnd] Random
Thanks, Joachim and johnff, for your suggestions.

With seed 0 in the header in all instances, and for uniform distribution, 
I've gone with:
unirand x
when I need positive values only, and
rnd31 x, 0
for bipolar.

When I need a weighted/custom distribution, I use:
rnd31 x, y

Yes, I'm a fan of rnd31 too.

Art Hunkins

----- Original Message ----- 
From: "joachim heintz" 
To: 
Sent: Wednesday, December 14, 2011 7:36 AM
Subject: Re: [Csnd] Random


> i'd recommend rnd31.
> or random with seed 0 in the header.
>
> joachim
>
> Am 13.12.2011 19:57, schrieb Art Hunkins:
>> What is the most efficient opcode for generating bipolar, equally
>> distributed random numbers at i-time, and seeds from the system clock?
>>
>> Art Hunkins
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"