wrote java to break up wave source file