Testing OpenGL and Bass (C language)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,782
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 16, 2008

Some C programming language testings with OpenGL + BASS sound library(http://www.un4seen.com/).

Its programmed in C using OpenGL + OpenGLUT graphics library. Texture is just a simple 16x16 C-Array (includes RGB values and pixeldata).

BASS library is handling the sound and channel analyzing. Channel peak data is passed to OpenGL translatef function which creates the jumping effect on the shroom.

Music is XM file I found on the net. (I couldnt find any author info so i cant give any credits. Filename was "SMB-X.XM").

I converted the XM file to C array which is played by BASSMOD. (No need for external music file although it still needs bass.dll).


Sound is bit out of sync and video aspect ratio is wrong (yeah i am lazy).

Actual executable works like charm. :d

UPDATE:

Here is the actual program.

http://tcfp.sourceforge.net/cool/smb_OpenGL.zip

Send mail or pm me if you want the sourcecode.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (tiiff1)

  • Hi!! Good job! Can you send me the link and the source code..?! I've got a project to integrate live sound and C#, and visual of course. Thank you!!

  • Yeah.. I just have to find the sources first.. :D

    I will send you a link to sourcecodes as soon as I find them.

  • Looks very nice and smooth, I've been thinking about learning openGL myself.

  • Thanks.

    OpenGL is really user frieandly library to use.

    Some basic knowledge of c/c++ and good tutorial is all you need.

    ps. I added link to actual program to video description. I can send the sourcecodes whoever wants to see them.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Hi, I know it has been a while since you posted it, but can you send me the source too ?

  • nice dude

  • D'oh! Didn't notice you posted a link to it. Thanks!

  • High, I'm very interested in how you did the channel level analyzing using BASS. Do you mind sending me the source?

    Thanks!

  • ok, thanks!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more