bin
Class Duration

java.lang.Object
  extended by bin.Duration

public class Duration
extends java.lang.Object


Field Summary
static java.lang.String SYNOPSIS
           
 
Constructor Summary
Duration()
           
 
Method Summary
static java.lang.String framesToTime(long frames, int sampleRate)
          Return a hh:mm:ss time stamp for a number of frames and given sampling rate
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNOPSIS

public static final java.lang.String SYNOPSIS
Constructor Detail

Duration

public Duration()
Method Detail

framesToTime

public static java.lang.String framesToTime(long frames,
                                            int sampleRate)
Return a hh:mm:ss time stamp for a number of frames and given sampling rate

Parameters:
frames - number of frames
sampleRate - sampling rate
Returns:
time stamp

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception