MeteorStudioASU / lcc

LCC (Localization Cue Correction) is a solution for spatialized audio through stereo speakers. LCC is a lightweight implementation of crosstalk cancellation so your left ear hears the left channel of audio, and your right ear hears the right channel of audio while ensuring unwanted audio signal coloration is mitigated.
MIT License
180 stars 13 forks source link

Help understanding various parameters and what is achieved by tuning them? #15

Open grischard opened 4 years ago

grischard commented 4 years ago

The parameters to lcc_audio are {inputgain} {centergain} {endgain} {LCC_Decaygain} {LCC_Delay_in_microseconds}

I've already worked out that a larger LCC_Delay_in_microseconds makes the "stage" sound wider, and a smaller one narrower. https://news.ycombinator.com/item?id=23654578 says that Apple's cross-cancellation is "not as wide or flat as [lcc's]". Does "wide" mean that they use a shorter delay? What is "flat" in this context?

roblkw-asu commented 4 years ago

Width is generally about how far to the right/left the spatialization can be perceived: https://splice.com/blog/multi-channel-audio-stereo-image/

Flat is referring to the frequency response.

ionizer999 commented 4 years ago

FWIW, I use lcc on a MacBook Pro 16inch (which has already cross cancellation) and it just sounds wonderful.

I experiment a lot with HRTFs and the sound stage is so freakin' wide with LCC that I can literally hear left + right as if it was a few meters left or right. It's absolutely amazing.

Even if the default is already sounding perfect, but I'd like to tune it some more:

I think the space between speakers is 28 cm on the MacBook Pro by default and I think I sit 40-60 cm away from them (when using it as a "lap"-top), what values would I need then?

mattlane66 commented 4 years ago

Really glad to hear that. We talked about Apple's approach in brief here. Although, I would not recommend squaring cancelation (one on top of another), I am glad to hear it is still a pleasant experience for you. At least with LCC you can send it as an output to better speakers, which you cannot do with Apple's approach to crosstalk cancelation (an approach btw we feel is not as effective as ours).

ionizer999 commented 4 years ago

It sounds very wonderful to add both, but I'll do some experiments with some bluetooth speakers. Besides that I only have a soundbar, though I could mis-use the rear speakers (that I can position as I want) by sending output not to FL/FR, but to Rear-L/Rear-R to see how it sounds near together. (and compare with the MacBook)

I am really intrigued by your whole approach.

LCC has become my go-to software for audio listening.