Comments (4)
@grrrwaaa Do you encounter this issue when using IPL_HRTFINTERPOLATION_NEAREST
? At first glance, things seem to be configured correctly in your code.
from steam-audio.
Hi there, thanks for looking at this.
Using IPL_HRTFINTERPOLATION_NEAREST doesn't make any difference as far as I can tell.
I've taken some screenshots of the waveforms I'm seeing, uploaded here:
https://www.dropbox.com/sh/023oy5r1a2swy1m/AADgDfkgN73X1QASZ1ZgqALea?dl=0
This was captured by panning a source signal that is a 2000Hz sinewave, panning around the listener a little faster than once per second. The sampling rate is 44.1kHz, IPL_HRTFINTERPOLATION_BILINEAR is enabled. Some are taken with a framesize of 64, some with a framesize of 1024 (indicated in the filename). OSX 64-bit.
In the most zoomed out picture there's very clearly linear stepping of the position, not interpolation. These artifacts seem to occur about every 2048 samples (regardless of my framesize -- I'm speculating that this is a function of the HRTF size so there's nothing I can do about it?) Still, in the most zoomed pictures at 64 framesize there's a very abrupt cut in both amplitude and phase, causing the crackle. In the zoomed in pictures at 1024 framesize, this manifests instead as a wobble over around 200ish samples -- presumably a crossfade between signals at different phases.
It's clear that there's going to be some kind of approximation for motion, since the direction vector is only updated as a step signal, at most once per framesize. But is there any way I can reduce the crackle? If the HRTFs are only updated every 2048 samples (which seems to be the case), then perhaps I can run two HRTFs in parallel and crossfade their outputs (perhaps interlaced, so that I can achieve a maximum rate of motion frequency of samplerate/1024)?
Graham
from steam-audio.
I've updated to the beta 10, and I still hear the zipper noise. It seems like the interpolation is now working correctly (with interpolation disabled I hear stepping as before). However even with interpolation enabled I am still seeing abrupt cuts with a frame size less than 2048 samples, leading to crackle. The lower the frame size, the more the crackle.
Is this library not intended to be used with frame sizes other than 2048 samples?
from steam-audio.
This issue has been automatically marked stale, and will automatically be closed in 30 days if no activity occurs.
from steam-audio.
Related Issues (20)
- iplSimulatorAddProbeBatch throws exception, if simulator is created without enabling pathing or indirect effects
- FFT implementations other than IPP on macOS x86_64 HOT 2
- [UE 5.1] The following modules are missing or built with a different engine version HOT 5
- Curve driven reflection attenuation incorrect for logarithmic fall off HOT 1
- SteamAudioSource debug problem
- Minimum distance in inverse distance attenuation and reflection produces NaN or weird output buffers HOT 1
- Crashing iplSimulatorRunReflections with baking HOT 16
- Can SteamAudio plugin be used on visionOS? HOT 2
- Popping when using default HRTF HOT 4
- Segfault in phonon_test HOT 3
- Script need to handle dependency folder name "lib64" / or rename to "lib"
- adding djfft as another fft implementation
- Redundant CMake re-configures automatically triggering HOT 1
- Unreal Engine 5.4 fail to build HOT 1
- ArrayMath crashes on x86_64 macOS and Linux during HRTF creation HOT 2
- Steam audio spatializer does not work correctly. FMOD+UNITY HOT 11
- UE 5.4.3 Startup crash
- UE 5.4 - reverb at the listener position - crash HOT 1
- [C API] Compilation issues with flatbuffers - with solutions HOT 1
- How do I play sound at a new position immediately? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steam-audio.