Class WaveExporter
java.lang.Object
org.harctoolbox.irscrutinizer.exporter.Exporter
org.harctoolbox.irscrutinizer.exporter.CommandExporter
org.harctoolbox.irscrutinizer.exporter.WaveExporter
This class exports a (single) Command to a wave file.
-
Constructor Summary
ConstructorDescriptionWaveExporter
(int sampleFrequency, int sampleSize, int channels, boolean bigEndian, boolean omitTail, boolean square, boolean divideCarrier) WaveExporter
(AudioParametersBean exportAudioParametersBean) -
Method Summary
Methods inherited from class org.harctoolbox.irscrutinizer.exporter.CommandExporter
export, supportsEmbeddedFormats, supportsMetaData
Methods inherited from class org.harctoolbox.irscrutinizer.exporter.Exporter
export, export, export, exportFilename, getCharset, getCreatingUser, getDateFormatString, getDateString, getDocument, getDocument, getEncoding, getLastSaveFileOrCopy, parseToDocumentFragment, possiblyMakeExecutable, setCreatingUser, setDateFormatFileString, setDateFormatString, setEncoding
-
Constructor Details
-
WaveExporter
public WaveExporter(int sampleFrequency, int sampleSize, int channels, boolean bigEndian, boolean omitTail, boolean square, boolean divideCarrier) -
WaveExporter
-
-
Method Details
-
getFileExtensions
- Specified by:
getFileExtensions
in classExporter
-
getName
-
getPreferredFileExtension
- Specified by:
getPreferredFileExtension
in classExporter
-
considersRepetitions
public boolean considersRepetitions()- Overrides:
considersRepetitions
in classExporter
-
getDocumentation
- Specified by:
getDocumentation
in classExporter
-
export
public void export(org.harctoolbox.girr.Command command, String source, String title, int repeatCount, File file, String charsetName) throws org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException, FileNotFoundException - Specified by:
export
in classCommandExporter
- Throws:
org.harctoolbox.irp.IrpException
org.harctoolbox.ircore.IrCoreException
FileNotFoundException
-
export
public void export(org.harctoolbox.ircore.ModulatedIrSequence seq, File file) throws FileNotFoundException, org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException - Throws:
FileNotFoundException
org.harctoolbox.irp.IrpException
org.harctoolbox.ircore.IrCoreException
-