コード例 #1
0
        void UpdateCoefficients()
        {
            Ambisonic.PolarCoord p = new Ambisonic.PolarCoord();
            p.FromCart(_position);

            lock (this)
            {
                float[] normaliseWeights = Ambisonic.GetNormalisationWeights(_normalisation);
                NativePlugin.UpdateAmbisonicWeights(_sourceInstance, p.azimuth, p.elevation, _order, _channelOrder, normaliseWeights);
            }
        }