hi,
you can find simple abstractions for doing ambisonic encoding / decoding: http://wiki.dataflow.ws/PdMtlAbstractions
ambi.device.zoom2wxy~.pd ambi.device.zoom.read~.pd ambi.distance.7~.pd ambi.dominance.7~.pd ambi.mono2wxy~.pd ambi.mono2wxyuvpq~.pd ambi.mono2wxyz~.pd ambi.rotate.wxy~.pd ambi.rotate.wxyuvpq~.pd ambi.wxy2mono~.pd ambi.wxy2quad~.pd ambi.wxy2wxyuvpq~.pd ambi.wxyuvpq2mono~.pd ambi.wxyz2mono~.pd ...
pat