Results 1 to 6 of 6

Thread: Playing Sound Or adding Sound to OpenGl file

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2014
    Posts
    3

    Playing Sound Or adding Sound to OpenGl file

    hie every 1 ... I am new to OpenGL ... m a beginner ... I wanted to add a background sound to my code .... Can Any1 tell me .. what function i should be using to achieve it and weathr i need to include some headerfile wen i use tat function.. Please reply Soon .. i hav to submit my project by monday ... Thank you

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2013
    Posts
    186
    The Open Graphics Library does not have any capabilities for sounds.
    You should be looking for a different library for that.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2014
    Posts
    3
    is it not possible to play short sound file .. ?? .. actually my project is on Musical Keyboard tutorial .. ryt aftr the key gets Clicked i want some music file to be played .. that too for a shortwhile .. .. aftr much of googling i found that there is a Playsound function .. but i hav no idea how it works .. can u help on this ?

  4. #4
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,214
    There is a plenty of ways to play the sound, but OpenGL has noting with that. This is a wrong place to ask for the help for your task.

  5. #5
    Junior Member Newbie
    Join Date
    Apr 2014
    Posts
    3
    so which is the ryt place to ask my doubt

  6. #6
    Senior Member OpenGL Guru
    Join Date
    Oct 2004
    Posts
    4,649
    Quote Originally Posted by GangaPatil View Post
    so which is the ryt place to ask my doubt
    You might try on Gamedev in "The Technical Side : General Programming" or "The Technical Side : Game Programming".

    For instance, here are a few hits from there:

    * A good sound library with C?
    * [C++] Sound library selection
    * Sound Library with OpenGL?
    * Absolutely FREE Sound Library

Similar Threads

  1. Playing sound in OpenGL
    By Creative Mind in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 08-23-2009, 11:35 PM
  2. sound in opengl
    By popapez in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-07-2009, 02:55 PM
  3. OpenGL and Sound.
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-23-2002, 06:47 AM
  4. inserting sound file...
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-26-2001, 08:23 AM
  5. Wanna displaying text and/or playing sound ?
    By Leyder Dylan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-05-2001, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean