Uses of Interface
com.softsynth.jmsl.SequenceGenerator

Packages that use SequenceGenerator
Package Description
com.softsynth.jmsl.util  
  • Uses of SequenceGenerator in com.softsynth.jmsl.util

    Classes in com.softsynth.jmsl.util that implement SequenceGenerator
    Modifier and Type Class Description
    class  HailstoneSequence
    Generate "Hailstone Sequence" based on an article in Scientific American FIXME - find reference.
    class  Oof
    One over F distribution after R.F.
    class  RandomSequence
    Generate evenly distributed pseudo-random sequence of integers within a given inclusive range.
    class  RandomWalkSequence
    Generate pseudo-random sequence of integers within a given inclusive range.
    class  SequencerGeneratorAdapter
    SequenceGenerator with reusable random driver implementation Contains its own RandomDriver which can be used to make random choices.
    class  WeightedIntegerSequence
    Define an array of weights where the weight of int i is associated with the value weights[i]
    next() chooses an int 0..weights.length-1, following a weighted distribution


    For example, the weight array { 1.0, 1.0 } will generate values 0 and 1 with a 50/50 distribution
    The weight array { 1, 2, 1 } will generate ints 0, 1, 2, with the probability of 1 being chosen twice as high as the probability of 0 or 2 being chosen.