Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CALCULATE_DELAY flag #42

Open
3 of 4 tasks
flibitijibibo opened this issue Oct 9, 2018 · 1 comment
Open
3 of 4 tasks

Implement CALCULATE_DELAY flag #42

flibitijibibo opened this issue Oct 9, 2018 · 1 comment

Comments

@flibitijibibo
Copy link
Member

flibitijibibo commented Oct 9, 2018

For the first release of FAudio we focused on what FNA and XACT needed, but now that this is looking to go into a whole lot more games we should look at the rest of the X3DAudio features.

The stubs are here:

https://github.com/FNA-XNA/FAudio/blob/master/src/F3DAudio.c#L1538

Don't expect a whole lot of information out there - the MSDN docs are completely useless and many months of looking for existing research on this turned up completely and entirely empty. If you're working on this, it's because you REALLY know what you're doing (I certainly don't).

Checklist:

  • F3DAUDIO_CALCULATE_DELAY
  • F3DAUDIO_CALCULATE_LPF_DIRECT
  • F3DAUDIO_CALCULATE_LPF_REVERB
  • F3DAUDIO_CALCULATE_REVERB
@flibitijibibo flibitijibibo changed the title [F3DAudio] Implement DELAY/LPF/REVERB flags Implement DELAY/LPF/REVERB flags Oct 9, 2018
@flibitijibibo
Copy link
Member Author

I'm the biggest idiot ever. The emitter structure clearly shows all the curves together for volume as well as all the LPF/reverb calculation, so you just use the same attenuation process with different defaults:

eca6361

Delay is still a mystery to me, but it seems like it's only useful in stereo and only when you have a delay XAPO attached, which... I don't think applies to any of the built-ins, in the way that the delay times are laid out? I'd say it's useful for HRTF maybe but even the 2.9 HrtfApo doesn't seem to care about it. Kind of makes me wonder how much that feature is really worth.

@flibitijibibo flibitijibibo changed the title Implement DELAY/LPF/REVERB flags Implement CALCULATE_DELAY flag Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant