# riff-wav-for-java **Repository Path**: mirrors_skratchdot/riff-wav-for-java ## Basic Information - **Project Name**: riff-wav-for-java - **Description**: This EMF based project was created to allow the reading and writing of .wav files in Java. It attempts to read in well-known RIFF chunks, and provide an API for reading/manipulating those chunks. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README RIFF WAV for Java ================================== ### SUMMARY: ### This EMF based project was created to allow the reading and writing of .wav files in Java. It attempts to read in well-known RIFF chunks, and provide an API for reading/manipulating those chunks. Most of the information about various RIFF chunks were found on The Sonic Spot website and from links in the Wikipedia article on wave files. (For more info, see the links section). ### USAGE: ### Loading a wave file (preferred method using EMF): ```java File file = new File("C:\\my_sample.wav"); RIFFWave riffWave = WavFactory.eINSTANCE.createRIFFWave(file); ``` Loading a wave file (method 2): ```java File file = new File("C:\\my_sample.wav"); RIFFWave riffWave = new RIFFWaveImpl(file); ``` Saving a wave file: ```java // riffWave object was created elsewhere File file = new File("C:\\my_sample.wav"); riffWave.write(file); ``` ### Links: ### - [Javadocs](http://skratchdot.com/projects/riff-wav-for-java/javadocs/) - [Wikipedia: WAV](http://en.wikipedia.org/wiki/WAV) - [Wave File Format: The Sonic Spot](http://www.sonicspot.com/guide/wavefiles.html) - [Wave File Format: MMSP Lab, ECE, McGill University](http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html) - [Example Wave Files: MMSP Lab, ECE, McGill University](http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html) - [Eclipse Modeling Framework](http://www.eclipse.org/modeling/emf/)