[Date Index] [Thread Index] [Author Index]
Re: Creating a Random Function to Select an Irrational
I want to thank everyone who replied and who I've otherwise replied to privately. The problem solutions offered were as interesting, to me, as he problem definitions <g>. The randomness of the irrational set of numbers is not really the emphasis, but having a virtural set of infinite length is, for them, to be used as "seeds" for the RealDigits' function to convert them to any number base from 2 thru 12 (for music scales) of any length (for music melodies) for use in algorithmic musical compostion. Hopefully I can constrain the results sufficiently with "arbitrary" rules to make such melodies as "tonal" (or not) as desirable. Wolfram Research might consider creating a new function called perhaps "RandomIrrational" the uses from none to three parameters, (1) if none, it would return an irrational number between 0 and 1 exclusive; (2) if one (an integer only greater than 1), then it would return an irrational number from 1 to that integer exclusive; and (3) if 2, then it would return an irrational number between the two integers exclusive, and finally (4) if 3 oarameters are included, it would be like number (2) except that it would be specific to the definition used to create it (as from those defined on the webpage mentioned.