# seed
-
Custom Seed List
I wonder if it's possible to evaluate a function (that has a seed argument) a set number of times (using gen-loop) with a predefined, custom seed list applied to the function. Something that I'm trying to achieve in the example below. Thank you! (setf seeds (vector-round 1 100 (gen-white-noise 8 :seed 13))) (setf rhythm (gen-loop 8 (euclidean-rhythm 16 4 16 's :type 2 :seed seeds)))
- seed
- gen-loop
- euclidean
- vector-round
-
Tagged with:
- 7 comments
- 2,655 views
-
Strange behaviour with function reverse?
spuki ·Hallo, newbie here 🙂 I'm just starting with OM and playing around with the tutorials. I slightly changed tutorial #4 and run into something strange. If i run the script as posted below, all works as expected. But when i change the function reverse to nreverse (and nreverse is the oficially documented name of the function) the omn result will leave the right hand empty. Why ist that? And why does reverse work as i expect it to work? And, another thin
- resolved
- seed
- gen-retrograde
- nreverse
-
Tagged with:
- 3 comments
- 2,277 views
-
Seed numbers?
Andy ·Hello I'm new here. I'm on the demo and doing fine but for the life of me I can't figure out what the n integer does after :seed? I know seed fixes a random function so it is repeatable but what does that number do? I tried changing it in Tutorial 5 but I can't make sense of it! Thanks Andy
- 9 comments
- 3,654 views
-
Help with seed and semi-colons
Andy ·Hi I'm starting to loose the will to progress. So I just spent an hour trying to evaluate this and getting errors and thinking I'd got the wrong number of brackets and yet it looks fine. (setf motifx12 (rnd-order (gen-repeat 12 (list motif)))) :seed3) And then I realise that I have to place the cursor not on the final bracket but on the one before :seed3) Nowhere does it say this in the manual as far as I can tell. And why? I think it's something
- 14 comments
- 4,878 views
-
Posting seed value
EAIP ·Here is a suggestion for posting the random seed value used by a function. When using Open Music way back in time I remember that you could "lock" a random function if you liked the result, which IMO was a great workflow feature. Perhaps a similar thing could be achived in Opusmodus if the random seed used for a function was posted to the post window in addition to the result of the evaluation. If you like the result of a particular seed you could then manually "lock" the randomiz- 19 comments
- 7,029 views
-
Redo last random init seed and indexed outputs
When working with Opusmodus, it is very common to run many times a script containing some random process and you may want to keep and redo the last output for refine it or whatever. It can be also good to save multiples output from a script with an index number attached to the output name. In this post, i will show you how to achieve this two technics. 1.Seed record: The first operation is to generate randomly a seed value and bind it to a variable: (setf my-seed (r
- 4 comments
- 2,802 views
-
How to add a SEED into your own function
opmo ·To add a SEED to your own function and make it work you need to follow three simple rules: Add keyword SEED into the function arguments. (rnd-seed seed) should be placed at the beginning of the function. Nested functions that use seed need to use a (seed) function and not a seed argument. Example: (defun rnd-number (n low high &key seed) (do-verbose ("rnd-number")
- 1 comment
- 2,299 views