Package adams.data.audio
Class WaveContainer
- java.lang.Object
-
- adams.data.container.AbstractSimpleContainer<T>
-
- adams.data.audio.AbstractAudioContainer<com.musicg.wave.Wave>
-
- adams.data.audio.WaveContainer
-
- All Implemented Interfaces:
adams.core.CloneHandler<adams.data.container.AbstractSimpleContainer<com.musicg.wave.Wave>>
,adams.core.UniqueIDHandler
,RawAudioDataSupporter
,adams.data.MutableNotesHandler
,adams.data.NotesHandler
,adams.data.report.MutableReportHandler<adams.data.report.Report>
,adams.data.report.ReportHandler<adams.data.report.Report>
,Serializable
public class WaveContainer extends AbstractAudioContainer<com.musicg.wave.Wave> implements RawAudioDataSupporter
Container for WAV data.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.audio.AbstractAudioContainer
FILE, URL
-
-
Constructor Summary
Constructors Constructor Description WaveContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.musicg.wave.Wave
cloneContent()
Returns a clone of the content.byte[]
getRawData()
Returns the raw data.-
Methods inherited from class adams.data.audio.AbstractAudioContainer
getAudio, setAudio
-
-
-
-
Method Detail
-
cloneContent
protected com.musicg.wave.Wave cloneContent()
Returns a clone of the content.- Specified by:
cloneContent
in classadams.data.container.AbstractSimpleContainer<com.musicg.wave.Wave>
- Returns:
- the clone
-
getRawData
public byte[] getRawData()
Returns the raw data.- Specified by:
getRawData
in interfaceRawAudioDataSupporter
- Returns:
- the raw data
-
-