Wallpaper Engine:壁纸引擎

Wallpaper Engine:壁纸引擎

Simple Audio Visualizer
Nick Everick 2018 年 10 月 15 日 上午 9:42
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
最后由 Nick Everick 编辑于; 2018 年 10 月 15 日 上午 9:43
< >
正在显示第 1 - 3 条,共 3 条留言
Nick Everick 2018 年 10 月 15 日 上午 9:55 
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  [开发者] 2018 年 10 月 15 日 下午 9:03 
Sorry I used javascript & html for my background so I don't know if anything is different for C#.

I followed this tutorial: https://psteamcommunity.yuanyoumao.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 2018 年 10 月 16 日 上午 10:28 
Yeah i already read this tutorial. And find only this method that i wrote higher. Anyway thx for response.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50