!include once #1018630 // Spectro Edit // InputStream must supply big-endian 44.1kHz 16 bit mono samples static Clip spectro_clipFromMonoInputStream(InputStream in, int overlap default (Int) get(Clip.class, 'DEFAULT_OVERLAP)) { int frameSize = cast get(Clip.class, 'DEFAULT_FRAME_SIZE); ret spectro_clipFromMonoInputStream(in, frameSize, overlap); } static Clip spectro_clipFromMonoInputStream(InputStream in, int frameSize, int overlap) ctex { ret newInstance(Clip.class, "anonymous clip", in, frameSize, overlap); }