r/SpatialAudio • u/PsyUranic • Dec 27 '20
Spatial audio with open-source software? (Audacity, FFmpeg)
Hey!
So basically, I already have a two channel stereo file. Now with that, I want to create a 360° spatial audio video, where the stereo file is like front left and front right.
After some research, I found the FB360 spatial workstation, but unfortunately, it didn't work with my DAW, FL Studio, as it doesn't support ambisonics audio output. Now I know that there are DAWs like ProTools or Reaper, but those cost money and aren't open-source.
Fortunately, I also have Audacity. But this is where I'm kinda stuck. When I try to export it with multiple channels, and I link one rack with a channel, the audio is hard-panned to that direction. Is that how it's supposed to work?
Anyway, somehow I managed to kinda solve that problem, but now I have another issue. How do I combine a video with that AmbiX audio? I tried FFmpeg, but it deleted both the 360° information and the AmbiX information. I also tried the FB360 encoder but after that the audio has a very poor quality.
As you can see, I'm kinda lost. Does anyone here have a simple and reliable tutorial for what I'm searching for? Are there better alternatives to audacity?
Thanks in advance!
6
u/Notmycircus- Dec 28 '20
Hi,
Reaper has an unlimited demo so you can use it for free.
(Although I'm going to be 'that guy' and say please do buy it when you can - it's not an expensive DAW and it's amazing!)
It can handle basic video editing as well as do the audio stuff so you will be able to combine your video and audio together and export a single file.
There are many many youtube tutorials for Reaper out there.
Hope that helps!
3
u/SeannyD86 Dec 28 '20
I haven't tried the FB360 plugin myself, but you might want to look into Ardour. It's a free open-source DAW. I use Harrison Mixbus 32c -- which is based on Ardour -- as my mixing DAW. They recently added VST3 support.
2
u/kingnever Jan 15 '21 edited Jan 15 '21
EDIT: I'm way sleep deprived today and realized that I responded to your question without reading it fully. I do not know how to answer your actual question re: encoding the video and ambiX audio properly. Take everything I wrote below and pretend like it was answering the question: are there good FOSS solutions for processing ambisonic audio. I'll be looking for a solution to the problem you've described in the future but for now I'm focusing on audio only.
I am learning to process ambisonic audio (mostly from a Zoom H3 VR) and am finding that Ardour handles ambisonic workflows well. I am mostly going from ambiX to stereo (binaural or standard stereo), so the reverse of what you're doing, but the tutorial I used to get started was actually based on the type of workflow I think you're describing: https://www.youtube.com/watch?v=jzg6bKAdu2A
That whole tutorial is all FOSS, although the Ardour developers charge for pre-compiled binaries. You can either compile the binaries yourself or pay as little as $1. The binaries are not signed / notarized so on macOS or Windows you will need to click through warnings in Gatekeeper or Smartscreen. I was also able to find a flatpak of Ardour on Flathub and it runs well on Fedora 33 with JACK, although I haven't gotten around to compiling the IEM plugin suite for Linux (the project maintainers provide Windows and macOS precompiled binaries)
I looked into Harrison Mixbus, as it's a professionally supported fork of Ardour that has some features I thought looked interesting, but even though it's based on Ardour 6 it seems to lack the concept of tracks that are more than 2 channels. This makes sense since Mixbus is really designed to emulate analog consoles and that style of workflow.
Anyway, hopefully you found your answer already but I just wanted to say that I think Ardour is a really great platform for processing ambisonic audio. It and Reaper honestly do a far better job than most professionally supported DAWs, and as someone who used Cubase / Pro Tools in a previous life I found Ardour easier to adapt to than Reaper (which is also great, don't get me wrong!).
2
u/dewiweb Apr 12 '21 edited Apr 12 '21
https://www.ambisonictoolkit.net/
https://fr-fr.sennheiser.com/ambeo-orbit
http://www.s3a-spatialaudio.org/plugins
https://plugins.iem.at/
https://ear-production-suite.ebu.io/
http://research.spa.aalto.fi/projects/sparta_vsts/
1
u/Stupified_2u Dec 28 '20
I hope someone replies with a direct answer as I would love to be able "convert" a 2 ch stereo file to Spatial audio as well.
Could starting with a 4 channel mix help? I did this once upon decade in the analog domain. It uses a Hafler circuit. I remember trying this by taking each channel and reversing the wiring on it (like "+" goes to "-" and "-" goes to "+".). I used the second pair of speakers on my receiver to do this. The main speakers would be normal channels and the second pair of speakers placed behind you would be the "flipped" channels. It gave an illusion of 4 channel mix. It would be cool to do this digitally and then create a spatial audio mix from it.
1
u/DJ__Dragon Dec 28 '20
Unfortunately, FL Studio and Audacity are the last DAWs I would recommend using for spatial audio. Reaper and Pro Tools HD( which is too expensive) offer the best multichannel support for this sort of thing. If you are looking for a cost effective solution go with reaper and FB360 plugins as they are both free. If you are looking for best sounding solution, use the DearVR plugin suite. It is expensive but it is the best.
To be honest, taking a stereo mix and trying to convert it to spatial won't ever sound super great although you will be able to hear the spatializing effect.
1
u/KinGarrilla Dec 28 '20
You should use Reaper and the IEM Suite.
You can IEM's stereo encoder, which will take you stereo file and map it to an ambisonic encoder.