Class RealTime

  • java.lang.Object
    • org.vamp_plugins.RealTime


  • public class RealTime
    extends java.lang.Object
    RealTime class, corresponding to the C++ Vamp::RealTime. Although the implementation is in native code, this class does not store a native object handle and has no dispose() method -- it can be garbage collected without prior disposal like any plain Java object.
    • Constructor Detail

      • RealTime

        public RealTime(int s,
                        int n)
    • Method Detail

      • sec

        public int sec()
      • nsec

        public int nsec()
      • usec

        public int usec()
      • msec

        public int msec()
      • toString

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

        public java.lang.String toText()
      • fromSeconds

        public static RealTime fromSeconds(double sec)
      • fromMilliseconds

        public static RealTime fromMilliseconds(int msec)
      • frame2RealTime

        public static RealTime frame2RealTime(long frame,
                                              int sampleRate)
      • realTime2Frame

        public static long realTime2Frame(RealTime r,
                                          int sampleRate)