Doing Visuals in C# like seen in Winamp - how?

Started by chuawenching, 27 Jul '03 - 17:07

chuawenching

Hi there.

I am using nbass and c#. I had tested the Streamtest that comes with it.

Cool!

But what if i want to do visuals (3D) like to been seen in Winamp players, Windows Media Player, and most of the music players?

Any idea how to get started with it?

I hope there are samples in c# rather than c++!

Any help?

Regards,
Chua Wen Ching :p

Led

Well, first of all you want something that looks nice.

So you better start using google to learn how to do some nice software-rendering, or learn to use Direct3D / OpenGL.

Once you know how to do graphics-stuff (after a year or so :)),
you want it to react to the music.

So you grab Bass's FFT- and Waveform-values and use'em as input-parameters for your graphical effects.

Easy as PI ;)

Chua Wen Ching

Hi there.

How do i grab this "Bass's FFT- and Waveform-values and use'em as input-parameters" ?

Any idea?

And what can it do?

Regards,
Chua Wen Ching :p

Led

Uh, you read the BASS-docs / examples on how to get the FFT data,
for ease of use you scale it down to floats in a range of 0.0f...1.0f, and then you start drawing lines with these values for example.

Come on, just grab the values and *do* something with them :)

Chua Wen Ching

Oh..

I thought it is a plugin or software!

Thanks.

Regards,
Chua Wen Ching :p

Led

Ofcourse they're plugins !

Can you try to be more clear about what you want ?
Do you want to load winamp-plugins in your own program,
do you want to create winamp-plugins yourself,
do you want to create a plugin-structure in your own program,
do you want to create visualizations in your own program...

*WHAT* do you want exactly ? :)