Show HN: LCC – Open-Source Spatial Audio from Stereo Speakers
github.com
github.com
1. Apply LCC to rear channel speakers to get it running on 4.0 channel systems. The rear channel speaker distance can be digitally positioned with an integrated millisecond delay control, which allows a user’s rear channels to be digitally placed at various perceived physical distances if there is no way to move rear speakers back physically (the speed of sound is roughly 1100 ft./second (depending on temperature and elevation); so, for example, if a user has a rear head to speaker (H2S) distance of 2’0", when the frontal H2S is 6’0", it may be desirable to delay the rear speakers by say 5’0" to avoid erroneous localization to the rear). The system calculates this optimizing distance, e.g., 5'0"/1100 = ~.0045 seconds or ~4.5 milliseconds, and thus allows the user to experience the rear channel speakers optimally as if they were at ~7’0" and not where they are physically located at 2’0". Could also use a 4.0 Bluetooth speaker setup for your VR system. Better than headphones, as you now use your own natural HRTFs in a free field space. Also, headphones cause fatigue and contribute to disorientation. If that is of interest to you, taking it one step further with head tracking would require additional access to LCC's parameters.
2. Rearrange car speakers (see white papers for guidance on placement requirements) and apply LCC to the driver and each passenger. Not only a great idea from an entertainment point of view but also as an auditory safety function as well.
3. Get LCC into a https://www.hifiberry.com and purify your home theater's sound system with the most effective spatial audio solution available.
This design may one day make things a lot easier: https://ifworlddesignguide.com/entry/273938-bo-for-ford-must...
If, like me, you didn't turn the sound up enough, you can switch back to 'Internal Speakers', then raise the volume, then back to 'Soundflower (2ch)'.
Thank you.
Any plans to make this work on other systems? RtAudio which you use here appears to also support Linux and Windows.
Curated videos (worth finding higher quality versions) to test LCC out with: https://www.youtube.com/playlist?list=PL-lzMEaJTl3p39jZC0iSD...
https://www.en.tech.aau.dk/news-events/news/new-lab-mimics-t...
It's nice to see it being rolled out into their products too!
https://github.com/ExistentialAudio/BlackHole
It works exactly the same.
That said, LCC is only concerned in solving psychoacoustic playback issues for loudspeakers.
Not sure we tried this with channel-based audio though...
Prerecorded material not recorded binaurally is not binaural content. I am a purest though. Note: LCC enables all loudspeaker listening experiences to be experienced binaurally, in the free field, acoustically speaking, regardless of the content (unless it is mono content).
g++ -O2 -march=native -mtune=native -D__LINUX_PULSE__ -D__LINUX_ALSA__ -D__UNIX_JACK__ \
lcc_rtaudio.cpp RtAudio.cpp -o lcc -pthread -ljack -lasound -lpulse-simple -lpulse
The above will give you a binary with the Jack, ALSA and PulseAudio backends baked in.