public class SoundSampleIO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SOUNDSAMPLEEXTENSION |
Constructor and Description |
---|
SoundSampleIO() |
Modifier and Type | Method and Description |
---|---|
SoundSample |
readSample(java.io.InputStream is)
read a sample from a stream
|
SoundSampleMetadata |
readSoundSampleMetadata(java.io.InputStream is)
Read metadata informations about a sample
|
void |
saveSample(SoundSample s,
SoundSampleMetadata metadata,
java.io.OutputStream os)
save a sample in a stream
|
public static final java.lang.String SOUNDSAMPLEEXTENSION
public void saveSample(SoundSample s, SoundSampleMetadata metadata, java.io.OutputStream os) throws java.lang.Exception
s
- metadata
- the soundsample metadataos
- java.lang.Exception
public SoundSample readSample(java.io.InputStream is) throws java.lang.Exception
is
- java.lang.Exception
public SoundSampleMetadata readSoundSampleMetadata(java.io.InputStream is) throws java.lang.Exception
java.lang.Exception