Package samer.units

Class Oscillator

  • java.lang.Object
    • samer.units.Oscillator
  • All Implemented Interfaces:
    Generator


    public class Oscillator
    extends java.lang.Object
    implements Generator
    • Constructor Detail

      • Oscillator

        public Oscillator(double f)
    • Method Detail

      • getFrequencyModel

        public DoubleModel getFrequencyModel()
      • reset

        public void reset()
      • setFrequency

        public void setFrequency(double f)
      • dispose

        public void dispose()
        Specified by:
        dispose in interface Generator
      • next

        public double next()
        Specified by:
        next in interface Generator
      • next

        public void next(double[] x)
        Specified by:
        next in interface Generator
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object