Thread: Music files to a program

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    18

    Music files to a program

    How can I incorporate a music files on my hard drive into a computer program. Can I just call up any files in the algorithm so that it plays or is it more complicated than that?

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Check out GameTutorials.com.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    18
    How does this help me?

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Must we do everything for you? It took me I think my first 4 clicks on the page to find what I was looking for, and I had never ever been there before!

    Click "tutorials".
    Click "C"
    Click "page 2"
    Click "page 3"
    Click "page 4"
    ... see the pattern?

    Oh my god! What's this!?! "Playing a WAV file."

    Quzah.
    Hope is the first step on the road to disappointment.

  5. #5
    Registered User
    Join Date
    Mar 2002
    Posts
    18
    Ok give me a break here, I'm looking for all this and all this code is lashed in my face. All I need to know is hwo I open a music file and run it through the game that is playing

  6. #6
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    > Ok give me a break here, I'm looking for all this and all this
    > code is lashed in my face. All I need to know is hwo I open a
    > music file and run it through the game that is playing

    So what exactly do you want? You don't want sample code. What
    exactly is it you want? There is no standard function that will just
    let you play a music file. You can't just:

    #include <stdio.h>
    playmusic( "myfile.wav" );

    There is nothing this simple with ANSI C. You are given sample
    code which tells how to do it, but you apparently don't want
    that? So again, what exactly do you expect to have happen?
    What is it you're asking for if you don't want "all this code"?

    Quzah.
    Hope is the first step on the road to disappointment.

  7. #7
    Unregistered
    Guest
    Don't you just hate 1st year Computers at UofT Engineering?

    Hope it works out all right for you!

  8. #8
    Registered User
    Join Date
    Mar 2002
    Posts
    18
    "Don't you just hate 1st year Computers at UofT Engineering?
    Hope it works out all right for you"


    Who is this?

  9. #9
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Originally posted by y2jasontario
    Ok give me a break here, I'm looking for all this and all this code is lashed in my face. All I need to know is hwo I open a music file and run it through the game that is playing
    Look at the site, and do what quzah said. It ain't that hard. *Sheeeeshhhh.....*

  10. #10
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    if you want to DIY, www.wotsit.org is a good place to start...
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  2. Mutiple source files for one program
    By earth_angel in forum C Programming
    Replies: 7
    Last Post: 06-08-2005, 09:47 AM
  3. Multi - File Program not finding files
    By johnh444 in forum C++ Programming
    Replies: 2
    Last Post: 07-03-2004, 01:48 AM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM