Package samer.units

Class LineIn

  • java.lang.Object
    • samer.units.LineIn
  • All Implemented Interfaces:
    Task


    public class LineIn
    extends java.lang.Object
    implements Task
    Manages sliding window audio input. Acts as a sort of envelope class for audio input, containing the source, the destination vector, and the associated reader task.
    • Constructor Detail

      • LineIn

        public LineIn(AudioSource src,
                      int N,
                      int m)
               throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • output

        public Vec output()
      • getStep

        public int getStep()
      • setStep

        public void setStep(int m)
      • dispose

        public void dispose()
        Specified by:
        dispose in interface Task
      • starting

        public void starting()
        Specified by:
        starting in interface Task
      • stopping

        public void stopping()
        Specified by:
        stopping in interface Task
      • run

        public void run()
                 throws java.lang.Exception
        Specified by:
        run in interface Task
        Throws:
        java.lang.Exception
      • toString

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