Now that we mentioned how related mono-to-stereo expertise is, you is likely to be questioning the way it works below the hood. Turns on the market are completely different approaches to tackling this downside with AI. Within the following, I need to showcase 4 completely different strategies, ranging from conventional sign processing to generative AI. It doesn’t function a whole record of strategies, however slightly as an inspiration for a way this activity has been solved during the last 20 years.
Conventional Sign Processing: Sound Supply Formation
Earlier than machine studying turned as fashionable as it’s at this time, the sphere of Music Info Retrieval (MIR) was dominated by sensible, hand-crafted algorithms. It’s no surprise that such approaches additionally exist for mono-to-stereo upmixing.
The elemental concept behind a paper from 2007 (Lagrange, Martins, Tzanetakis, [1]) is easy:
If we will discover the completely different sound sources of a recording and extract them from the sign, we will combine them again collectively for a sensible stereo expertise.
This sounds easy, however how can we inform what the sound sources within the sign are? How can we outline them so clearly that an algorithm can extract them from the sign? These questions are tough to resolve and the paper makes use of quite a lot of superior strategies to realize this. In essence, that is the algorithm they got here up with:
- Break the recording into brief snippets and establish the height frequencies (dominant notes) in every snippet
- Establish which peaks belong collectively (a sound supply) utilizing a clustering algorithm
- Determine the place every sound supply must be positioned within the stereo combine (handbook step)
- For every sound supply, extract its assigned frequencies from the sign
- Combine all extracted sources collectively to type the ultimate stereo combine.
Though fairly complicated within the particulars, the instinct is sort of clear: Discover sources, extract them, combine them again collectively.
A Fast Workaround: Supply Separation / Stem Splitting
So much has occurred since Lagrange’s 2007 paper. Since Deezer launched their stem splitting instrument Spleeter in 2019, AI-based supply separation programs have grow to be remarkably helpful. Main gamers resembling Lalal.ai or Audioshake make a fast workaround doable:
- Separate a mono recording into its particular person instrument stems utilizing a free or business stem splitter
- Load the stems right into a Digital Audio Workstation (DAW) and blend them collectively to your liking
This system has been utilized in a analysis paper in 2011 (see [2]), but it surely has grow to be far more viable since as a result of current enhancements in stem separation instruments.
The draw back of supply separation approaches is that they produce noticeable sound artifacts, as a result of supply separation itself continues to be not with out flaws. Moreover, these approaches nonetheless require handbook mixing by people, making them solely semi-automatic.
To completely automate mono-to-stereo upmixing, machine studying is required. By studying from actual stereo mixes, ML system can adapt the blending type of actual human producers.
Machine Studying with Parametric Stereo
One very artistic and environment friendly method of utilizing machine studying for mono-to-stereo upmixing was introduced at ISMIR 2023 by Serrà and colleagues [3]. This work relies on a music compression approach referred to as parametric stereo. Stereo mixes encompass two audio channels, making it arduous to combine in low-bandwidth settings resembling music streaming, radio broadcasting, or phone connections.
Parametric stereo is a method to create stereo sound from a single mono sign by specializing in the essential spatial cues our mind makes use of to find out the place sounds are coming from. These cues are:
- How loud a sound is within the left ear vs. the correct ear (Interchannel Depth Distinction, IID)
- How in sync it’s between left and proper when it comes to time or part (Interchannel Time or Section Distinction)
- How comparable or completely different the indicators are in every ear (Interchannel Correlation, IC)
Utilizing these parameters, a stereo-like expertise will be created from nothing greater than a mono sign.
That is the strategy the researchers took to develop their mono-to-stereo upmixing mannequin:
- Acquire a big dataset of stereo music tracks
- Convert the stereo tracks to parametric stereo (mono + spatial parameters)
- Prepare a neural community to foretell the spatial parameters given a mono recording
- To show a brand new mono sign into stereo, use the skilled mannequin to infer spatial parameters from the mono sign and mix the 2 to a parametric stereo expertise
At present, no code or listening demos appear to be out there for this paper. The authors themselves confess that “there may be nonetheless a niche between skilled stereo mixes and the proposed approaches” (p. 6). Nonetheless, the paper outlines a artistic and environment friendly strategy to accomplish absolutely automated mono-to-stereo upmixing utilizing machine studying.
Generative AI: Transformer-based Synthesis
Now, we are going to get to the seemingly most straight-forward strategy to generate stereo from mono. Coaching a generative mannequin to take a mono enter and synthesizing each stereo output channels straight. Though conceptually easy, that is by far essentially the most difficult strategy from a technical standpoint. One second of high-resolution audio has 44.1k information factors. Producing a three-minute track with stereo channels due to this fact means producing over 15 million information factors.
With todays applied sciences resembling convolutional neural networks, transformers, and neural audio codecs, the complexity of the duty is beginning to grow to be managable. There are some papers who selected to generate stereo sign by way of direct neural synthesis (see [4], [5], [6]). Nonetheless, solely [5] prepare a mannequin than can resolve mono to stereo technology out of the field. My instinct is that there’s room for a paper that builds a devoted for the “easy” activity of mono-to-stereo technology and focuses 100% on fixing this goal. Anybody right here searching for a PhD matter?