Package org.harctoolbox.irscrutinizer
Class InterpretString
java.lang.Object
org.harctoolbox.irscrutinizer.InterpretString
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.harctoolbox.ircore.IrSignal
interpretIrSequence
(org.harctoolbox.ircore.ModulatedIrSequence irSequence, boolean invokeRepeatFinder, boolean invokeCleaner, Double absoluteTolerance, Double relativeTolerance) If invokeRepeatFinder is true, tries to identify intro, repeat, and ending applying a RepeatFinder.static org.harctoolbox.ircore.IrSignal
interpretString
(String line, Double fallbackFrequency, Double dummyGap, boolean invokeRepeatFinder, boolean invokeCleaner, Double absoluteTolerance, Double relativeTolerance, Double minRepeatLastGap)
-
Method Details
-
interpretIrSequence
public static org.harctoolbox.ircore.IrSignal interpretIrSequence(org.harctoolbox.ircore.ModulatedIrSequence irSequence, boolean invokeRepeatFinder, boolean invokeCleaner, Double absoluteTolerance, Double relativeTolerance) throws org.harctoolbox.ircore.InvalidArgumentException If invokeRepeatFinder is true, tries to identify intro, repeat, and ending applying a RepeatFinder. If not, the sequence is used as intro on the returned signal. In this case, if invokeCleaner is true, an analyzer is first used to clean the signal.- Parameters:
irSequence
-invokeRepeatFinder
- If the repeat finder is invoked. This also uses the analyzer.absoluteTolerance
-relativeTolerance
-invokeCleaner
- If the analyzer is invoked for cleaning the signals.- Returns:
- IrSignal signal constructed according to rules above.
- Throws:
org.harctoolbox.ircore.InvalidArgumentException
-
interpretString
public static org.harctoolbox.ircore.IrSignal interpretString(String line, Double fallbackFrequency, Double dummyGap, boolean invokeRepeatFinder, boolean invokeCleaner, Double absoluteTolerance, Double relativeTolerance, Double minRepeatLastGap) throws org.harctoolbox.ircore.InvalidArgumentException - Throws:
org.harctoolbox.ircore.InvalidArgumentException
-