Ship
Pending review
The concept came to me when I realised how dramatic the difference between stereo and mono audio was. How the intruments separated, opened up, and details could he heard really well, while mono sounded like noise. I thought about what would happen if instruments were literally separated and opened up, as if placed around the listener like a band. ReMix separates the stems of a song and spatialises them individually to create perception of a room and placement of instruments around you.
Demo of output songs. (listen with headphones)
What was challenging
- While the code itself was moderately challenging, understanding all the different psychoacoustic cues (covered in more detail in README and devlogs), how they work and what they do, and the maths behind them, required a ton of deliberation. Though it was very rewarding and interesting.
- I also spent a lot of time trying to analyse the HRIR curves themselves, trying to make sense of what frequencies getting altered and where and why. I used a lot of graphs and intuition to try to understand them. I now have a deep understanding of them, which would be helpful for future versions, for optimising them (which I also attempted, though naïvely).
- Near the end, making the audio sound natural was challenging too where I had to try tweaking some things (mainly room absorbence/size and reverb)
What I’m proud of
- I love that the concept I had thought of in theory actually works. When I first played a song, I couldn’t stop grinning because of how good it sounded, and the trippy illusion of it coming from around me. I’ve listened to 8D audio (a simpler version of this where the audio as a whole moves, less realistic, no band-like feeling, distracting and somewhat gimmicky), but it coming from something I created myself, and using code and maths; not some software. And something I could actually experience, I think that makes me very proud. I also had my friends listen to it, which got a lot of positive reactions. In the end, I’m also happy about how deep of an understanding I have about psychoacoustics now.
What you need to know to test it out
- headphones are a must pls the effect breaks completely on speakers.
- You can try it out from the repo, but here’s a demo
- The song spatialisation concept is a demo for the concepts behind it, which can be used in a lot of applications like video games, movies, producers who can’t afford a studio, etc.
- This is a very initial version. Updates may make the effects even more realistic, or optimise the program to make it suitable for running in real time (or applied on hundreds of elements for games).
- 4 devlogs
- 26h