We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74c53a7 + 12d77c0 commit b0a1d8cCopy full SHA for b0a1d8c
app/server/ruby/lib/sonicpi/lang/core.rb
@@ -3669,11 +3669,11 @@ def use_random_source(noise_type, &block)
3669
3670
You can see the 'buckets' that the numbers between 0 and 1 fall into with the following code:
3671
3672
- rand_type :white
+ use_random_source :white
3673
puts 10000.times.collect { rand.round(1) }.tally.sort
3674
- rand_type :pink
+ use_random_source :pink
3675
3676
- rand_type :perlin
+ use_random_source :perlin
3677
3678
3679
",
0 commit comments