tapeutils.impl.zx81
Class ZX81SampleAnalyzerFactory

java.lang.Object
  extended bytapeutils.impl.zx81.ZX81SampleAnalyzerFactory
All Implemented Interfaces:
SampleAnalyzerFactory

public class ZX81SampleAnalyzerFactory
extends java.lang.Object
implements SampleAnalyzerFactory

This class analyzes a sampled sound to extract data.

It provides a ZX81-specific implementation.

Author:
hldswrth

Constructor Summary
ZX81SampleAnalyzerFactory(Sample sample, ZX81SampleAnalyzerParameters[] params)
          Constructor.
 
Method Summary
 SampleAnalyzer create(int index)
          Create a SampleAnalyzer for a section of a sample.
 void setDebugLevels(DebugLevels levels)
          Set debug levels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZX81SampleAnalyzerFactory

public ZX81SampleAnalyzerFactory(Sample sample,
                                 ZX81SampleAnalyzerParameters[] params)
Constructor.

Parameters:
sample -
params -
Method Detail

create

public SampleAnalyzer create(int index)
Create a SampleAnalyzer for a section of a sample.

Specified by:
create in interface SampleAnalyzerFactory
Parameters:
index - The index of the section.
Returns:
The SampleAnalyzer.

setDebugLevels

public void setDebugLevels(DebugLevels levels)
Set debug levels.

Parameters:
levels -