static int spectro_clipLength(Clip clip) { ret clip.getFrameCount()*clip.getFrameTimeSamples(); }