pd-externals / earplug

binaural filter based on KEMAR impulse measurement for Pd
GNU General Public License v2.0
14 stars 1 forks source link

Clamping in DSP block #10

Closed chikashimiyama closed 3 years ago

chikashimiyama commented 3 years ago

https://github.com/pd-externals/earplug/blob/0ba02415bbbf6381083442d2f2c90b08cd8e744d/earplug~.c#L64-L69

Those lines just limit the range of input azimuth and elevation. It would be more efficient if this clamping is handled when the object receives a new value.

chikashimiyama commented 3 years ago

Check PR #12 and merge if you think it's appropriate @danomatika

danomatika commented 3 years ago

12 merged