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
ConstructorsConstructorDescriptionWaveExporter(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, supportsMetaDataMethods 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:
getFileExtensionsin classExporter
-
getName
-
getPreferredFileExtension
- Specified by:
getPreferredFileExtensionin classExporter
-
considersRepetitions
public boolean considersRepetitions()- Overrides:
considersRepetitionsin classExporter
-
getDocumentation
- Specified by:
getDocumentationin 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:
exportin classCommandExporter- Throws:
org.harctoolbox.irp.IrpExceptionorg.harctoolbox.ircore.IrCoreExceptionFileNotFoundException
-
export
public void export(org.harctoolbox.ircore.ModulatedIrSequence seq, File file) throws FileNotFoundException, org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException - Throws:
FileNotFoundExceptionorg.harctoolbox.irp.IrpExceptionorg.harctoolbox.ircore.IrCoreException
-