ServerConfiguration/Calla/Calla-Lib/js/src/audio/spatializers/sources/PannerNew.js
/**
     * Performs the spatialization operation for the audio source's latest location.
     * @param {Pose} loc
     */
Performs the spatialization operation for the audio source's latest location.
@param {Pose} loc
Performs the spatialization operation for the audio source ' s latest location . @param { Pose } loc
update(loc) {
        super.update(loc);
        const { p, f } = loc;
        this.inNode.positionX.setValueAtTime(p.x, 0);
        this.inNode.positionY.setValueAtTime(p.y, 0);
        this.inNode.positionZ.setValueAtTime(p.z, 0);
        this.inNode.orientationX.setValueAtTime(f.x, 0);
        this.inNode.orientationY.setValueAtTime(f.y, 0);
        this.inNode.orientationZ.setValueAtTime(f.z, 0);
    }
update ( loc ) { super . update ( loc ) ; const { p , f } = loc ; this . inNode . positionX . setValueAtTime ( p . x , 0 ) ; this . inNode . positionY . setValueAtTime ( p . y , 0 ) ; this . inNode . positionZ . setValueAtTime ( p . z , 0 ) ; this . inNode . orientationX . setValueAtTime ( f . x , 0 ) ; this . inNode . orientationY . setValueAtTime ( f . y , 0 ) ; this . inNode . orientationZ . setValueAtTime ( f . z , 0 ) ; }
Performs the spatialization operation for the audio source's latest location.
Performs the spatialization operation for the audio source ' s latest location .