Class BandGate

All Implemented Interfaces:
LXComponent.Renamable, LXLoopTask, LXPath, LXSerializable, LXTriggerSource, LXOscComponent, LXNormalizedParameter, LXParameter, LXParameterListener

@LXCategory("Audio") @Global("Beat Detect") @Device("Beat Detect") public class BandGate extends BandFilter implements LXNormalizedParameter, LXTriggerSource, LXOscComponent
A frequency gate monitors a Graphic Meter for a particular frequency range and triggers when that range passes a certain threshold. Note that the beat detect does *not* respect the attack and release settings of the underlying meter, it merely shares the raw values. The BeatDetect applies its own time-band filtering.
  • Field Details

    • threshold

      public final BoundedParameter threshold
      The gate level at which the trigger is engaged. When the signal crosses this threshold, the gate fires. Value is in the normalized space from 0 to 1.
    • floor

      public final BoundedParameter floor
      The floor at which the trigger releases. Once triggered, the signal must fall below this amount before a new trigger may occur. This value is specified as a fraction of the threshold. So, a value of 0.75 means the signal must fall to 75% of the threshold value.
    • decay

      public final BoundedParameter decay
      The time the trigger takes to falloff from 1 to 0 after triggered, in milliseconds
    • gate

      public final BooleanParameter gate
      Gate parameter is set to true for one frame when the beat is triggered.
    • teachTempo

      public final BooleanParameter teachTempo
      Turn this parameter on to have this modulator tap the tempo system
    • average

      public final NormalizedParameter average
      Level parameter is the average of the monitored band
  • Constructor Details

    • BandGate

      public BandGate(LX lx)
    • BandGate

      public BandGate(String label, LX lx)
    • BandGate

      public BandGate(String label, GraphicMeter meter)
      Constructs a gate that monitors a specified frequency band
      Parameters:
      label - Label
      meter - GraphicEQ object to drive this gate
    • BandGate

      public BandGate(GraphicMeter meter, float minHz, float maxHz)
      Constructs a gate that monitors a specified frequency band
      Parameters:
      meter - Equalizer to monitor
      minHz - Minimum frequency band
      maxHz - Maximum frequency band
    • BandGate

      public BandGate(String label, GraphicMeter meter, int minHz, int maxHz)
      Constructs a gate that monitors a specified frequency band
      Parameters:
      label - Label
      meter - Equalizer to monitor
      minHz - Minimum frequency band
      maxHz - Maximum frequency band
  • Method Details