Hi,
I have been trying to use "seed" for reproducibility. Examples 1, 2, and 3 below all provide different results from each other. That is what I would expect.
However, Examples 4 and 5 yield the same results as Example 2. That is not what I expect. I would expect Examples 4 and 5 to also each be different.
I would be grateful is someone would assist me on understanding this.
Thank you,
John
<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr = 48000
ksmps = 1
nchnls = 1
0dbfs = 1
seed 3348880584 ; <-- Replace this with the examples below.
; Example 1: 854106567
; Example 2: 4080063411
; Example 3: 1308476648
; Example 4: 3591223209 <-- Same as Example 2!
; Example 5: 3348880584 <-- Same as Example 2!
instr 10
itimes = 20
icnt = 0
loop:
inum random 0, 1000
print inum
loop_lt icnt, 1, itimes, loop
endin
schedule(10, 0, 10)
</CsInstruments>
<CsScore>
f0 10
</CsScore>
</CsoundSynthesizer>
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here