# Class ARIXP0SamplerFactory

java.lang.Object
com.io7m.aradine.instrument.sampler_xp0.ARIXP0SamplerFactory

All Implemented Interfaces:
  `ARI1InstrumentFactoryType`

public final class ARIXP0SamplerFactory extends Object implements ARI1InstrumentFactoryType
A factory of polyphonic samplers.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ARIXP0SamplerFactory()`
  A factory of polyphonic samplers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ARI1InstrumentType`
  `createInstrument(ARI1InstrumentContextType services)`
  Create a new instrument.
  `InputStream`
  `openInstrumentDescription()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ARIXP0SamplerFactory

    public ARIXP0SamplerFactory()
    A factory of polyphonic samplers.

- ## Method Details

  - ### openInstrumentDescription

    public InputStream openInstrumentDescription()
    Specified by:
      `openInstrumentDescription` in interface `ARI1InstrumentFactoryType`
    Returns:
      An input stream describing the instruments that will be created

  - ### createInstrument

    public ARI1InstrumentType createInstrument(ARI1InstrumentContextType services)
    Description copied from interface: `ARI1InstrumentFactoryType`
    Create a new instrument.
    Specified by:
      `createInstrument` in interface `ARI1InstrumentFactoryType`
    Parameters:
      `services` - The services
    Returns:
      A new instrument