# Why does the seed seemingly get ignored?

**URL:** <https://in-thread.sonic-pi.net/t/why-does-the-seed-seemingly-get-ignored/6119>\
**Category:** Support, Help & Resources\
**Created:** [November 4, 2021, 12:49pm UTC](https://in-thread.sonic-pi.net/t/why-does-the-seed-seemingly-get-ignored/6119 "2021-11-04T12:49:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loopiloop](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/loopiloop/32/2094_2.png) [@Loopiloop](https://in-thread.sonic-pi.net/u/Loopiloop)\
**Post date:** [November 4, 2021, 12:49pm UTC](https://in-thread.sonic-pi.net/t/why-does-the-seed-seemingly-get-ignored/6119/1 "2021-11-04T12:49:53Z")

</div>

Try changing the seed. It won’t change the output for some unfortunate reason.  
How do I fix this?  
Do one\_in and choose even use the seed? If that’s the case, why don’t they and can I change this?

```ruby
use_random_seed = 7

block = (ring)

3.times do
  
  beat = (ring)
  
  4.times do
    
    beat = beat + (ring one_in 2)
    
  end
  
  puts beat
  
  block = block + (ring beat)
  
end

rythm = (ring)

8.times do
  
  rythm = rythm + block.choose
  
end

live_loop :main do
  
  sample :drum_snare_soft, on: rythm.tick
  
  puts range(0, 32).look
  
  sleep 0.25
  
end

```

---

<div class="post-metadata">

**Author:** ![Loopiloop](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/loopiloop/32/2094_2.png) [@Loopiloop](https://in-thread.sonic-pi.net/u/Loopiloop)\
**Post date:** [November 4, 2021, 12:51pm UTC](https://in-thread.sonic-pi.net/t/why-does-the-seed-seemingly-get-ignored/6119/2 "2021-11-04T12:51:37Z")

</div>

Nvm I just added a “=” where I shouldn’t have put one
