Ambisonics Encoding in Gen~ (from Order 0 to 7)

The main project is the Encoder in Ambisonics, written in Gen~. I prepared a simple patch that record in a multichannel file a noise encoded in Ambisonics ACN format, with SN3D Normalization. You can write the content of the buffer to a Multichannel Audio file and then listen in a DAW (you'll need a Decoder Plugin for Binaural Listening or any other format).

For any questions or suggests, you can write me at marcozziclaudio@gmail.com

Daniele Fabris's icon

Impressive! Bravo Claudio and thanks for sharing!

Claudio Marcozzi's icon

You're welcome 😄

Roman Thilenius's icon


you could have included 3rd, 2nd, 1st order and mono.

Claudio Marcozzi's icon

actually, you should be able to switch between different orders with this gen~ code. I made several codes for this kind of things time ago, if I'm not mistaken this was the one with the switch between orders. But even if it's not, you can just take the first out as the mono signal, the first 4 outlets as the 1st order signal, the first 9 outlets as the 2nd order signal, the first 16 outlets as the 3rd order signal and so on. The output signals are positioned so that you can take the outlets that way and use what you need.

there's a reason if I wrote " From 0 to 7 order " in the title, you can actually use every order from 0 to 7 with this one

Roman Thilenius's icon


oh i havent used it, i just had a look into the gen window and it seemed to start at 4!

next time i will read the title, i promise.

Claudio Marcozzi's icon

don't worry.
I checked now, as I said, there is a switch. I made the gen patch and the maxpatch to be included in other patches; the latter has a switch that allows you to choose between 0 - 1 -2 -3 etc. up to the 7th order :)

Year

2019

Location

Pesaro (Italy)