Wallpaper Engine

Wallpaper Engine

Simple Audio Visualizer
Nick Everick 15 Oct, 2018 @ 9:42am
How did you capture output audiostream
Hi! I am programming with C# and I need at lest a tip how to find a method "how to capture output audiostream with default libraries".

> So. How did u filled array with audio / spectrum data to work with after?

Thanks.
P.S.: Sorry for my english. <3
Last edited by Nick Everick; 15 Oct, 2018 @ 9:43am
< >
Showing 1-3 of 3 comments
Nick Everick 15 Oct, 2018 @ 9:55am 
In C# i canfill it up with this:
> float[] samples = new float[128];
> AudioListener.GetSpectrumData(samples, 0, FFTWindow.Hamming);

But it's just "local" sounds from the programm.
If i understoond correctly u used smth like this:
> window.wallpaperRegisterAudioListener( function( audioData )

And it's it? No more code for capture this. Or u add a new libraries?
Michael Fedora  [developer] 15 Oct, 2018 @ 9:03pm 
Sorry I used javascript & html for my background so I don't know if anything is different for C#.

I followed this tutorial: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=837435817

that's all I can help out with because I don't know the C# libraries for WPE, sorry!
Nick Everick 16 Oct, 2018 @ 10:28am 
Yeah i already read this tutorial. And find only this method that i wrote higher. Anyway thx for response.
< >
Showing 1-3 of 3 comments
Per page: 1530 50