Open Search
    Probe Class Reference

    #include <customgui_soundeffector.h>

    Detailed Description

    Represents a probe in a SoundData.

    Since
    R19

    Calculation Values

    Bool _clamp
     
    Int32 _colorMode
     
    Int32 _samplingMode
     
    Float _strength
     
    Vector _color
     
    GeData _gradient
     
    Float _fadePercentage
     
    Bool _freeze
     
    maxon::BaseArray< Float_freezeArray
     

    Constructor/Destructor

     Probe ()=default
     
    virtual ~Probe ()
     

    Right/left Bottom/Top Values

    Float GetRight () const
     
    Float GetLeft () const
     
    Float GetBottom () const
     
    Float GetTop () const
     
    Bool SetRight (Float right)
     
    Bool SetLeft (Float left)
     
    Bool SetTop (Float top)
     
    Bool SetBottom (Float bottom)
     

    Validate

    void ValidateDimensions ()
     

    Constructor & Destructor Documentation

    ◆ Probe()

    Probe ( )
    default

    Default constructor.

    ◆ ~Probe()

    virtual ~Probe ( )
    virtual

    Destructor.

    Member Function Documentation

    ◆ GetRight()

    Float GetRight ( ) const

    Retrieves the right value of probe in Hertz.

    Returns
    The probe right value in Hertz [1...22050].

    ◆ GetLeft()

    Float GetLeft ( ) const

    Retrieves the left value of probe in Hertz.

    Returns
    The probe left value in Hertz [1...22050].

    ◆ GetBottom()

    Float GetBottom ( ) const

    Retrieves the bottom value of probe as normalized ratio.

    Returns
    The probe bottom value [0...1].

    ◆ GetTop()

    Float GetTop ( ) const

    Retrieves the top value of probe in normalized ratio.

    Returns
    The probe top value [0...1].

    ◆ SetRight()

    Bool SetRight ( Float  right)

    Sets the right value of probe in Hertz [1...22050].

    Parameters
    [in]rightThe right value to set.
    Returns
    true if successful, otherwise false.

    ◆ SetLeft()

    Bool SetLeft ( Float  left)

    Sets the left value of probe in Hertz [1...22050].

    Parameters
    [in]leftThe left value to set.
    Returns
    true if successful, otherwise false.

    ◆ SetTop()

    Bool SetTop ( Float  top)

    Sets top value of probe as normalized ratio [0...1].

    Parameters
    [in]topThe top value to set.
    Returns
    true if successful, otherwise false.

    ◆ SetBottom()

    Bool SetBottom ( Float  bottom)

    Sets bottom value of probe as normalized ratio [0...1].

    Parameters
    [in]bottomThe bottom value to set.
    Returns
    true if successful, otherwise false.

    ◆ ValidateDimensions()

    void ValidateDimensions ( )

    Validates probe dimensions. Swaps Left/Right - Top/Bottom if values are inverted.

    Member Data Documentation

    ◆ _clamp

    Bool _clamp

    Set to true (default) to limit the output of the probe from 0.0 to 1.0 and ignore values outside of the range.

    ◆ _colorMode

    Int32 _colorMode

    The color mode.

    ◆ _samplingMode

    Int32 _samplingMode

    The probe mode.

    ◆ _strength

    Float _strength

    Overall strength multiplier for the probe.

    ◆ _color

    Vector _color

    Color of the probe used when the probe's color mode is Custom Color.

    ◆ _gradient

    GeData _gradient

    Gradient of the probe used when the probe's color mode is Custom Gradient.

    ◆ _fadePercentage

    Float _fadePercentage

    Fade percentage for decay.

    ◆ _freeze

    Bool _freeze

    Freeze state of the output.

    ◆ _freezeArray

    maxon::BaseArray<Float> _freezeArray

    Freeze values of the output.