开发者

OpenGL audio waveform rendering

I am trying to figure out how to render a waveform from an audio file. Can I do that using OpenGL+OpenAL?

The mai开发者_开发百科n idea is that I need to draw a 3D scene (like a rollercoaster) based on audio data.


yes you can render anything with openGL, but it depend on your knowledge about 3d programming, you are new to openGL maybe you want to try using SDL or 3d engines like Ogre3D, if you want to render it in 2D but with GPU acceleration you might want to render it using cairo API using openGL render back-end as a render to texture.

you don't need openAL to get the audio data and to render from it, openAL is only useful if you want to play audio sample using 3D spatialization (like in game)


If your aim is mainly to render the waveform - without programming - you could take a look at vvvv tool. It surely have what you need.

If using existing librairies or concepts is not a problem, you could also take a look at processing (Java) or openframeworks (C++) that should offer building blocks for what you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜