immersive-audio-live / ADM-OSC

An OSC dictionary that implements the Audio Definition Model (ADM)
https://immersive-audio-live.github.io/ADM-OSC/
MIT License
68 stars 10 forks source link

Dealing with constants inside functions - the python way ? #15

Closed eviau-sat closed 1 year ago

eviau-sat commented 1 year ago

Bonjour hi hej,

I am trying to figure out what would be the best way to handle constants inside functions...

I am looking at this commit as an example - https://github.com/immersive-audio-live/ADM-OSC/commit/152806c81f7652a1bbce70c968983372eedead34

My fellow Pythonista Yannick G. inspired the following use, which is having a SOUTH constant instead of a 180.0 degree value.

I don´t have a strong opinion on this, as I am still quite new to spatial audio despite having worked on its docs for quite some time now...

I hope this will help start a productive and good discussion on audio standards.

Thanks,

Merci,

Édith