Audio glitches on IRs (Hise 2.0)
-
Send me the IR then I'll take a look. Did you try switching off the background rendering?
-
IR-4.wav
Don't know how to turn off background rendering! -
There‘s a button on the convolution module.
-
@Christoph-Hart Oh, yes. Tried that! same results. trying to record a wav to show you.
If you cant hear it, use an EQ on high freqs -
@Christoph-Hart this is it! test1.mp3
-
What buffer size / samplerate are you using? Sounds like a buffer mismatch.
-
Loopback or Core audio output, same thing
-
@Christoph-Hart is this a hard thing to fix? Let me know. I can continue on 1.5 for projects using stereo IRs but need to translate scripts to old format
-
Can you send me the IR?
-
It'sposted above!!
https://forum.hise.audio/assets/uploads/files/1556830661843-ir-4.wav -
You can hear it, with a SinusGenerator with this IR:
ir-4.wav when playing a very low note.. think has something to do with shorter looped IRs.Question: When you shorten the IR to a certain minimum size, you can hear nothing. Is that the default behaviour? + after playing around with the knobs i also somehow got a freeze..
gd -
Ooops, didn't see the link.
I can reproduce the issue (nice tip with the lower notes, the artifacts appear just on the bottom 4 keys of my 88 keys) and it has something to do with the IPP FFT implementation. Switching to the slower fallback FFT (Ooura) the artifacts are gone.
I'll make a preprocessor directive that enables you to force usage of the slower FFT - you lose about 10% - 20% performance vs. IPP, but for such a small IR it shouldn't have a measurable impact, also your hundred thousand sine waves will eat up more CPU anyway :)
-
@Christoph-Hart thanks man!!! Really appreciate it. Will report cpu changes.
-
@Christoph-Hart have you seen Yamaha Reface??? Is going spectral modeling also. (Im not the only crazy dude)
-
Nope, but Reface is a weird name, like it will be a movie starring Nicholas Cage :)
Anyway, this is the commit that adds the fix:
https://github.com/christophhart/HISE/commit/4ab1ed006c79f99a02c5e65c4778a90e57e21610
and here is an example snippet:
HiseSnippet 1217.3oc2W0saaTDEd13rHrKshVJHtbUEWjfZSsaC+HpP0I9mhE4GqrlVPJRgw6dr8nN6LKyNqCVHtmWBdK3Rjf2AD7Lvcz2.3L6Zmc21kTiUnUpV4hLemyYluyuyr8UROHJRpHVUGLKDHVugs6LgdRqITlfzqMw5J16SizfxIEZ2YgznHvm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ed4pZmyqdhvXcdb7wT6hsAiU3qe7GLQAT+76WeE3CbZgy3yXsxsG+vu0rMMHjIFmWm42xU.hwm+gWuucqO4X7fUQG6MQwhNtszKN.mGGcLScqsOgKE37lsNkNkDX7XaKi8Azu07uc9YBgKkgXtRoWHy.zQ3uP9S+xsUub5HIljDi2mhCAMG+AwAt3iD7.rZRH.dj4HWybKS555KXjKH7SV723u4BaXVaMWXiEBek4LBndJ4IdoWIaZFd8DDL1JRR6UwO7GW6zfj7XCzN65aUGSw9rS77Lsk2pAgTtM2YEr4tqfMauB17AqfMe3JXyGsB17wmqMlutXmXsLH8pDDnemjmHYY0QXdiaxvHx+fGCCO.
I didn't want to expose this rather exotic parameter to a UI element, so in order to change it, you have to go into scripting.
BTW if you're trying to compile the current master branch, don't bother if it doesn't work. I've been migrating to the latest JUCE version for VST3 support and this breaks many things (I haven't checked macOS yet, but will later today). Now why I decided to do this on the master branch is another question.
-
@Christoph-Hart wow thanks!!! You just pushed to master for me :) that's an honor!!!!
Sadly, as you said, compilation failed :(
Can I copy paste this fix in any way to the previous commit? I compiled yesterday and works like a charm!
-
Pull again, I've just committed the fixes for macOS - but you need to rebuild everything (even resave the HISE Projucer file with the newest Projucer executable).
-
@Christoph-Hart Same thing. Also Projucer app bundled is not opening, I just used 5.4.3 build 22 Mar 2019
- pulled changes
- opened project with projucer 5.4.3
- Save and open IDE
- Build Failed
-
@Christoph-Hart WAIT!!! Just trashed the git folder and downloaded a fresh .zip and is compiling.... updating in minutes
-
Opened Hise and played a bunch of notes on a sinewave with mouse, and got hanging notes. Also Midi is not working. I see keys being pressed on onscreen keyboard but no sound. changed hise output a couple of times, but same thing.