ZYLIA - 3D AUDIO RECORDING & POST-PROCESSING
  • Solutions
    • Live rehearsal recording
    • 360 VR recording
    • Field recording
    • Audio recording for Dolby Atmos
    • Navigable Audio for VR
    • 3D audio streaming
  • Products
    • ZYLIA PRO
    • ZYLIA 6DOF
    • Software >
      • Applications >
        • ZYLIA Studio
        • ZYLIA Ambisonics Converter
        • ZYLIA Streaming Application
        • ZYLIA 6DoF Recording Application
      • Plugins >
        • ZYLIA Studio PRO
        • ZYLIA Ambisonics Converter Plugin
        • ZYLIA 6DoF HOA renderer
    • Hardware >
      • ZYLIA ZM-1 microphone
      • ZYLIA ZM-1S microphone
      • ZYLIA ZR-1 Portable Recorder
    • Technology Licensing
  • Support
    • Get Started
    • Register
    • Downloads
    • Tutorials
    • Help Center
    • Contact support
    • Demo
    • Testimonials
    • Referral
  • Blog
  • Company
    • About
    • R&D
    • Jobs
    • Press
    • Distributors
    • Contact
  • Shop

Record and use spatial audio impulse responses in Ambisonics format

7/6/2022

4 Comments

 
ZYLIA ZM-1 is a 3rd order Ambisonics microphone. That is excellent information if you want to capture and use 3D audio Impulse Responses (IR). In this case, you get a recorded 3rd order Ambisonics IR (3AIR).

​Below is a short introduction to the recording and using 3AIR with your podcast, film, or game production.​
Picture
​Recording of Ambisonics (spatial audio) Impulse Responses
What do you need?
  • ZYLIA ZM-1
  • A balloon
​The process:

1. Start recording in the ZYLIA Studio application or your favorite DAW.
2. Pop the balloon where you want to have a source. We did this about 1 meter in front of ZM-1.
3. Stop the recording and export the raw 19-channel file.
4. Convert 19 channels A-format to Ambisonics B-format (3AIR) with the ZYLIA Ambisonics Converter plugin.
​Zylia Ambisonics Reverb by multichannel convolution
The next step is a convolution of your 3AIR with your mono or multichannel signal to which you would like to add a reverberation effect.
Requirments:
​
  • Example configuration files, sample IR and REAPER project
  • MCFX plugins
  • ZYLIA Ambisonics Converter plugin
n​The process:

1. Create folder named "mcfx" in C://Users/your-name/AppData/Roaming/ (~/Library/ on macOS).
2. Create folder named "convolver_presets" in C://Users/your-name/AppData/Roaming/mcfx (~/Library/mcfx on macOS).
3. Start recording in the ZYLIA Studio application.
4. Pop the balloon in a place where you want to have a source. We did this about 1 meter in front of ZM-1.
5. Stop the recording and export the raw 19-channel file.
6. Open the file in DAW (e.g., Audacity) and process the IR recording in the following way:
  • Identify the reference channel - that is the one in which the IR main peak appears earlier than in other media,
  • Trim all the channels in that way that the maximum amplitude value of the registered IR in the reference channel will be positioned precisely at the 100th sample. You can also shorten the recording by cutting out the samples for which the value of IR amplitude is close to 0,
  • Once the recording is trimmed, read its length expressed in samples.
7. Go to the end of the project and read the length of one channel in the samples.
8. Export the file from DAW as 19 channel.
9. Open ZYLIA Ambisonics Converter and convert the 19 channel file to 3-rd order Ambisonics with SN3D normalization and ACN channel ordering.
10. Save the file to C://Users/your-name/AppData/Roaming/mcfx/convolver_presets (~/Library/mcfx/colvolver_presets on macOS)​.
In case you want to apply 3AIR to a mono file:
  • Open the notepad application.
  • Copy/Paste this text to notepad:
#               in out  gain  delay  offset  length  chan      file
# ---------------------------------------------------------------------
#
/impulse/read 1 1 0.1 0 0 IR_length 1 16_channel_IR.wav
 
/impulse/read 1 2 0.1 0 0 IR_length 2 16_channel_IR.wav
/impulse/read 1 3 0.1 0 0 IR_length 3 16_channel_IR.wav
/impulse/read 1 4 0.1 0 0 IR_length 4 16_channel_IR.wav
 
/impulse/read 1 5 0.1 0 0 IR_length 5 16_channel_IR.wav
/impulse/read 1 6 0.1 0 0 IR_length 6 16_channel_IR.wav
/impulse/read 1 7 0.1 0 0 IR_length 7 16_channel_IR.wav
/impulse/read 1 8 0.1 0 0 IR_length 8 16_channel_IR.wav
/impulse/read 1 9 0.1 0 0 IR_length 9 16_channel_IR.wav
 
/impulse/read 1 10 0.1 0 0 IR_length 10 16_channel_IR.wav
/impulse/read 1 11 0.1 0 0 IR_length 11 16_channel_IR.wav
/impulse/read 1 12 0.1 0 0 IR_length 12 16_channel_IR.wav
/impulse/read 1 13 0.1 0 0 IR_length 13 16_channel_IR.wav
/impulse/read 1 14 0.1 0 0 IR_length 14 16_channel_IR.wav
/impulse/read 1 15 0.1 0 0 IR_length 15 16_channel_IR.wav
/impulse/read 1 16 0.1 0 0 IR_length 16 16_channel_IR.wav
# -----------------------end of file -----------------------------------
  • Replace "16_channel_IR" with your IR file name.
  • Replace "IR_length" with the length of your IR in samples.
  • Click on File/Save As...
  • Change "Save as type:" to "All files (*.*).
  • Change "File name:" to: "zylia-rir-mono-configuration.conf".
  • Save the file to C://Users/your-name/AppData/Roaming/mcfx/colvolver_presets (~/Library/mcfx/colvolver_presets on macOS).
  • Create a new session in REAPER.
  • Insert your mono file.
  • Add mcfx_convolver16 plugin.
  • Click "open/open from file" and choose your configuration file ("zylia-rir-mono-configuration.conf").
  • Add some Ambisonics to the Binaural converter (we recommend IEM plugin).
In case you want to apply IR to 19 channel file:​
  • Open the notepad application.
  • Copy/Paste this text to notepad:
#               in out  gain  delay  offset  length  chan      file
# ---------------------------------------------------------------------
#
/impulse/read 1 1 0.1 0 0 IR_length 1 16_channel_IR.wav
 
/impulse/read 2 2 0.1 0 0 IR_length 2 16_channel_IR.wav
/impulse/read 3 3 0.1 0 0 IR_length 3 16_channel_IR.wav
/impulse/read 4 4 0.1 0 0 IR_length 4 16_channel_IR.wav
 
/impulse/read 5 5 0.1 0 0 IR_length 5 16_channel_IR.wav
/impulse/read 6 6 0.1 0 0 IR_length 6 16_channel_IR.wav
/impulse/read 7 7 0.1 0 0 IR_length 7 16_channel_IR.wav
/impulse/read 8 8 0.1 0 0 IR_length 8 16_channel_IR.wav
/impulse/read 9 9 0.1 0 0 IR_length 9 16_channel_IR.wav
 
/impulse/read 10 10 0.1 0 0 IR_length 10 16_channel_IR.wav
/impulse/read 11 11 0.1 0 0 IR_length 11 16_channel_IR.wav
/impulse/read 12 12 0.1 0 0 IR_length 12 16_channel_IR.wav
/impulse/read 13 13 0.1 0 0 IR_length 13 16_channel_IR.wav
/impulse/read 14 14 0.1 0 0 IR_length 14 16_channel_IR.wav
/impulse/read 15 15 0.1 0 0 IR_length 15 16_channel_IR.wav
/impulse/read 16 16 0.1 0 0 IR_length 16 16_channel_IR.wav

# -----------------------end of file -----------------------------------
  • Replace "16_channel_IR" to your IR file name.
  • Replace "IR_length" with the length of your IR in samples.
  • Click on File/Save As...
  • Change "Save as type:" to "All files (*.*).
  • Change "File name:" to: "zylia-rir-16-configuration.conf".
  • Save the file to C://Users/your-name/AppData/Roaming/mcfx/colvolver_presets (~/Library/mcfx/colvolver_presets on macOS).
  • Create a new session in REAPER.
  • Insert your 19-channel file.
  • Add ZYLIA Ambisonics Plugin
  • Change configuration to 3-rd order, SN3D normalization, ACN ordering.
  • Add mcfx_convolver16 plugin
  • Click "open/open from file" and choose your configuration file ("zylia-rir-16-configuration.conf").
  • Add Ambisonics to the Binaural converter (we recommend IEM plugin).

​The theory behind Ambisonics Impulse Response measurement
A more detailed description you can find in here:
​
  • Room Impulse Responses as temporal and spatial filters
  • Recording Impulse Responses

These articles go deeper into the technics of recording an impulse response. Raw Impulse Response recorded with ZM-1 can be converted to B-format (Ambisonics) and used to add reverbs in Ambisonics encoding.

Please share your work on Record with Zylia Facebook page!
4 Comments
enrique
7/7/2022 20:55:53

Hi!
thanks!
why is it needed to arrange the IR amplitudes to the 100th sample as you explain?
thanks!

Reply
Zylia
7/8/2022 14:52:42

Dear Enrique,

You can say that at a sampling rate of 48000 Hz 100 samples are about 2 milliseconds which is enough to capture the width of the direct sound impulse but unnoticeable as an additional delay.

Regards
Zylia Team

Reply
Fred
7/11/2022 15:24:26

Dear Zylia,

Very exciting news! In step 10 of "The Process", I assume you mean "coNvolver_presets" and not "colvolver_presets" as it is stated above.

I did manage to get a mono speech file convolved with the IR recorded by the Zylia mic using the instruction; it does sound like a longer reverberation time than the room actually has but I will try the process again so it isn't due to a fault on my part.

To my question, what purpose does the final step "add ambisonics to the binaural converter" have? Is this to generate multichannel output from the kronlacher converter?

Thanks for a nicely written instruction!

Reply
Zylia link
7/12/2022 09:38:39

Dear Fred,

Thanks for pointing us to the typo!

The length of the reverberation time is also connected to how you cut and fade out the IR, I recommend playing with this, with regards to the binaural, just add an Binaural decoder after the HOA convolution processing.

Best regards

Zylia Team

Reply



Leave a Reply.

    Picture

    Categories

    All
    360 Recording
    6DOF
    Ambisonics
    Good Reading
    How To Posts
    Impulse Response
    Interviews
    Live Stream
    Product Review
    Recording
    Software Releases
    Tutorials

    Archives

    November 2022
    October 2022
    July 2022
    May 2022
    February 2022
    January 2022
    August 2021
    July 2021
    May 2021
    April 2021
    March 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    January 2019
    December 2018
    October 2018
    September 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016

    RSS Feed

    Authors

    Zylia Team

Picture
Picture

Company

About
R&D
News
Jobs
Press
​Contact

Products

ZYLIA ZM-1 microphone array
ZYLIA ZM-1S microphone array
ZYLIA ZR-1 portable recorder
ZYLIA Studio
ZYLIA Studio PRO plugin
ZYLIA Ambisonics Converter
ZYLIA Ambisonics Converter plugin
ZYLIA Streaming Application
ZYLIA 6DoF Navigable Audio

Shop

​Distributors

Downloads

Support

Blog

Community

Get ZYLIA products:
Picture
Picture
Picture
Picture
Picture
Picture
Picture

Connect with us

Subscribe to ZYLIA Newsletter

I acknowledge that by clicking „Subscribe” I give my permission to receive Zylia Newsletter about Zylia’s products and promotions. By submitting the form I agree with Zylia’s Privacy Policy. ​You can unsubscribe at any time using the link provided in a Newsletter.
Our brands:
Picture
Picture
Our engagement:
Picture
Picture
Terms & Conditions   |   Privacy Policy   |   Contact
© Zylia Sp. z o.o., copyright 2018. ALL RIGHTS RESERVED. 
  • Solutions
    • Live rehearsal recording
    • 360 VR recording
    • Field recording
    • Audio recording for Dolby Atmos
    • Navigable Audio for VR
    • 3D audio streaming
  • Products
    • ZYLIA PRO
    • ZYLIA 6DOF
    • Software >
      • Applications >
        • ZYLIA Studio
        • ZYLIA Ambisonics Converter
        • ZYLIA Streaming Application
        • ZYLIA 6DoF Recording Application
      • Plugins >
        • ZYLIA Studio PRO
        • ZYLIA Ambisonics Converter Plugin
        • ZYLIA 6DoF HOA renderer
    • Hardware >
      • ZYLIA ZM-1 microphone
      • ZYLIA ZM-1S microphone
      • ZYLIA ZR-1 Portable Recorder
    • Technology Licensing
  • Support
    • Get Started
    • Register
    • Downloads
    • Tutorials
    • Help Center
    • Contact support
    • Demo
    • Testimonials
    • Referral
  • Blog
  • Company
    • About
    • R&D
    • Jobs
    • Press
    • Distributors
    • Contact
  • Shop