Package voltage.processors

# Class TubePreamp

java.lang.Object
voltage.processors.TubePreamp

public class TubePreamp extends Object
Tube distortion

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TubePreamp(double drive)`
  Construct a TubePreamp

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double`
  `Process(double input)`
  Process a sample
  `void`
  `SetDrive(double drive)`
  Set the drive (gain)

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### TubePreamp

    public TubePreamp(double drive)
    Construct a TubePreamp
    Parameters:
      `drive` - (0.0 to 1.0)

- ## Method Details

  - ### SetDrive

    public void SetDrive(double drive)
    Set the drive (gain)
    Parameters:
      `drive` - (0.0 to 1.0)

  - ### Process

    public double Process(double input)
    Process a sample
    Parameters:
      `input` - the input sample.
    Returns:
      returns the processed sample.