florian-grond / SC-HOA

HOA wrapper classes for SuperCollider based on https://github.com/sekisushai/ambitools
GNU General Public License v3.0
32 stars 7 forks source link

Inconsistent azimuths #41

Open patrickdupuis opened 4 years ago

patrickdupuis commented 4 years ago

Some classes behave inversely to others when moving azimuth.

(
x = { |az|
    HOADecLebedev50.ar(
        order: 3,
        in: HOAEncoder.ar(3, WhiteNoise.ar, az.degrad.lag(0.2)),
        hrir_Filters: 1
    ) * 0.1
}.play
)

x.free
x.set(\az, 90) // left

(
x = { |az|
    HOABinaural.ar(
        order: 3,
        in: HOAEncoder.ar(3, WhiteNoise.ar, az.degrad.lag(0.2))
    ) * 0.1
}.play
)

x.free
x.set(\az, 90) // right
ariutti commented 2 years ago

I confirm, I also have noticed this inconsistency working for the first time with the binaural decoder HOABinaural.