Re: [Csnd] Question re: FLOSS ex. 01D13
Date | 2022-08-20 06:53 |
From | amy universe |
Subject | Re: [Csnd] Question re: FLOSS ex. 01D13 |
what's happening is that the note randomness uses `rnd` which isn't affected by the seed. while the note duration uses `trandom` which is. i don't know much about rnd or how it works, but if you use `random(0, 1)` in its place (because rnd is unipolar) and use different seeds it will be affecting both the duration and notes oh there's even an opcode called `rndseed` which to `rnd` is like `seed` to the random family Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2022-08-20 13:59 |
From | Dave Seidel |
Subject | Re: [Csnd] Question re: FLOSS ex. 01D13 |
Good catch, I missed that. On Sat, Aug 20, 2022, 1:53 AM amy universe <nopenullnilvoid00@gmail.com> wrote: what's happening is that the note randomness uses `rnd` which isn't affected by the seed. while the note duration uses `trandom` which is. i don't know much about rnd or how it works, but if you use `random(0, 1)` in its place (because rnd is unipolar) and use different seeds it will be affecting both the duration and notes |