public static void timedRecord(String filename,long millis,AudioFormat audioFormat){
  File outputFile=new File(filename);
  timedRecord(outputFile,millis,audioFormat);
}

public static void timedRecord ( String filename , long millis , AudioFormat audioFormat ) { File outputFile = new File ( filename ) ; timedRecord ( outputFile , millis , audioFormat ) ; }
record a sound file with the recording being limited to a given amount of time
