package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Node.PannerSource

Panner nodes.

Sourcemodule Panning_model : sig ... end

Panning model type enumeration.

Sourcemodule Distance_model : sig ... end

Distance model type enumeration.

Sourcetype opts

The type for PannerOptions.

Sourceval opts : ?channel_count:int -> ?channel_count_mode:Channel_count_mode.t -> ?channel_interpretation:Channel_interpretation.t -> ?panning_model:Panning_model.t -> ?distance_model:Distance_model.t -> ?position_x:float -> ?position_y:float -> ?position_z:float -> ?orientation_x:float -> ?orientation_y:float -> ?orientation_z:float -> ?ref_distance:float -> ?max_distance:float -> ?rolloff_factor:float -> ?cone_inner_angle:float -> ?cone_outer_angle:float -> ?cone_outer_gain:float -> unit -> opts

opts () are panner node options with given parameters.

Sourcetype t

The type for PannerNode objects.

Sourceval create : ?opts:opts -> context -> t

create ~opts c creates a panner node.

Sourceval as_node : t -> node

as_node n is n as an audio node.

Sourceval panning_model : t -> Panning_model.t

panning_model n is the panning model of n.

Sourceval set_panning_model : t -> Panning_model.t -> unit

set_panning_model n v sets the panning_model of n to v.

Sourceval distance_model : t -> Distance_model.t

distance_model n is the distance model of n.

Sourceval set_distance_model : t -> Distance_model.t -> unit

set_distance_model n v sets the distance_model of n to v.

Sourceval position_x : t -> Param.t

position_x n is the x position of n.

Sourceval position_y : t -> Param.t

position_y n is the y position of n.

Sourceval position_z : t -> Param.t

position_z n is the z position of n.

Sourceval orientation_x : t -> Param.t

orientation_x n is the x orientation of n.

Sourceval orientation_y : t -> Param.t

orientation_y n is the y orientation of n.

Sourceval orientation_z : t -> Param.t

orientation_z n is the z orientation of n.

Sourceval ref_distance : t -> float

ref_distance n is the reference distance of n.

Sourceval set_ref_distance : t -> float -> unit

set_ref_distance n v sets the ref_distance of n to v.

Sourceval max_distance : t -> float

max_distance n is the maximal distance of n.

Sourceval set_max_distance : t -> float -> unit

set_max_distance n v sets the max_distance of n to v.

Sourceval cone_inner_angle : t -> float

cone_inner_angle n is the cone inner angle of n.

Sourceval set_cone_inner_angle : t -> float -> unit

set_cone_inner_angle n v sets the cone_inner_angle of n to v.

Sourceval cone_outer_angle : t -> float

cone_outer_angle n is the cone outer angle of n.

Sourceval set_cone_outer_angle : t -> float -> unit

set_cone_outer_angle n v sets the cone_outer_angle of n to v.

Sourceval cone_outer_gain : t -> float

cone_outer_gain n is the cone outer gain of n.

Sourceval set_cone_outer_gain : t -> float -> unit

set_cone_outer_gain n v sets the cone_outer_gain of n to v.