Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Creating a Random Function to Select an Irrational

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102239] Re: Creating a Random Function to Select an Irrational
  • From: BenT <brtubb at pdmusic.org>
  • Date: Sun, 2 Aug 2009 06:00:03 -0400 (EDT)
  • References: <h50sss$743$1@smc.vnet.net>

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.


  • Prev by Date: A Sum-like notation for iteration
  • Next by Date: Creating a Demo Project for Convenient Database Access
  • Previous by thread: Re: Re: Creating a Random Function to Select an Irrational
  • Next by thread: Re: Re: Creating a Random Function to Select an Irrational