Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skratchdot/riff-wav-for-java

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.
https://github.com/skratchdot/riff-wav-for-java

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

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/)