123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|52|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> JSE - Sound Stress Test

Mon, 30 Dec 2024, 06:41
Jayenkai

JSE - Sound Stress Test


Been fiddling with "Sound" functionality for the past few days.

Vague explanation of the functionality
> Reveal 🔎

Stress Test


I've written a quick stress tester. The engine "should" be pretty OK with it, but I'd like everyone to give it a whirl and let me know how it does.
On my MacBook, the FPS is fine, and I'm getting the %age value up as high as 12%.
On the Quest 3, the FPS is still fine, but the %age is hitting about 30%.

> Reveal 🔎

But ...
For sanity's sake, can we all give it a go, and let me know how your system copes with it.
Hold K for a bit, (maybe hold your ears, too!) and watch the lower of the two values. (and the FPS, if that drops!)
Gimme a nice average for the lower number. Maybe even a peak value if you can catch it.

If you can, you can test the sound function here
Ta all

-=-=-
''Load, Next List!''
Mon, 30 Dec 2024, 08:05
Dan
All test ran fine but one:
Holding the V button (gamepad.x) on the keyboard, the sound starts, but then it stops abruptly.
It takes a while before the other sounds can be played again (after it stops), and it can be fastened by switching the (chrome) tabs

Here is the audial representation of what is happening:
File.io file sharing the link expires in 2~3 days.
Mon, 30 Dec 2024, 08:12
Jayenkai
Yeah, that's the audio buffer being overloaded. I need to find a way to avoid that. But the code's still slaving away in the background, so it's good to know it's running full speed

-=-=-
''Load, Next List!''
Mon, 30 Dec 2024, 09:50
Krakatomato
Pretty much always 63 / 0 on the M4Pro. It blips up to 6 and I *think* I may have seen a 12? Not sure. Top number never changes
Tue, 31 Dec 2024, 05:36
Jayenkai
Had to faff about with extra audio "nodes". It was the constant creation+deletion of the nodes that was causing the audio-glitches. I thought I'd blown out the audiobuffer, but that wasn't the case.

So, instead I've made some permanent nodes for output, and hopefully that should help alleviate the "cut out" issue.

Here's the Newer Version of the Sound Stress Test.
It now plays an MP3, and a JMTrackr file in the background, as well as adding panning and mixing in some "normal" audio, too. Honestly, turn your volume down before starting this one!!! (but loud enough that you can still hear it)

Importantly I'm after that "blackout" thing. If you see that, let me know.
The FPS and Stress%age should be pretty stable, I think.

-=-=-
''Load, Next List!''
Tue, 31 Dec 2024, 08:07
Dan
So far it is running ok on my windows (chromealike) web browser.