Class Highpass

  • All Implemented Interfaces:
    Serializable, OptionDataListener, org.zkoss.json.JSONAware
    Direct Known Subclasses:
    Lowpass

    public class Highpass
    extends Optionable
    Mapping options for the highpass filter.

    A highpass filter lets high frequencies through, but stops low frequencies, making the sound thinner.

    Since:
    11.2.0.0
    Author:
    Jamson Chan
    See Also:
    Serialized Form
    • Constructor Detail

      • Highpass

        public Highpass()
    • Method Detail

      • getFrequency

        public Object getFrequency()
        Returns the Frequency or Number or String object of frequency, depend on what was set.

        Map to filter frequency in Hertz from 1 to 20,000Hz.

        Frequency in Hertz of notes. Overrides pitch mapping if set.

      • setFrequency

        public void setFrequency​(Frequency frequency)
        Sets the Frequency object of frequency.

        Map to filter frequency in Hertz from 1 to 20,000Hz.

        Frequency in Hertz of notes. Overrides pitch mapping if set.

      • setFrequency

        public void setFrequency​(Number frequency)
        Sets the Number object of frequency.

        Map to filter frequency in Hertz from 1 to 20,000Hz.

        Frequency in Hertz of notes. Overrides pitch mapping if set.

      • setFrequency

        public void setFrequency​(String frequency)
        Sets the String object of frequency.

        Map to filter frequency in Hertz from 1 to 20,000Hz.

        Frequency in Hertz of notes. Overrides pitch mapping if set.

      • getResonance

        public Object getResonance()
        Returns the Resonance or Number or String object, depend on what was set.

        Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.

      • setResonance

        public void setResonance​(Resonance resonance)
        Sets the Resonance object of resonance.

        Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.

      • setResonance

        public void setResonance​(Number resonance)
        Sets the Number object of resonance.

        Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.

      • setResonance

        public void setResonance​(String resonance)
        Sets the String object of resonance.

        Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.