Thread: Music in console mode?

  1. #1
    Registered User blackwyvern's Avatar
    Join Date
    Jan 2002
    Posts
    60

    Music in console mode?

    Is there any way to play wav files or even mp3 files in console mode? I making this great text based RPG, well partial text based.. I already have a working map feature, so you can see where ou are going.. anyway I thought adding a simple background music would be a great idea and would be a nice programming expirience. It is possible, if so any tutorials on playing sound in the console window?

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    206
    Code:
    #include <process.h>
    
    system("path of music file here");

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 10-22-2008, 07:20 PM
  2. console mode and service mode
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 06-01-2008, 01:42 AM
  3. How to make console Mode apps like 'GNU less'?
    By gibsosmat in forum C Programming
    Replies: 4
    Last Post: 10-31-2007, 07:33 AM
  4. Console Functions Help
    By Artist_of_dream in forum C++ Programming
    Replies: 9
    Last Post: 12-04-2004, 03:44 AM
  5. How restricted am I by console mode
    By The Gweech in forum C++ Programming
    Replies: 2
    Last Post: 03-20-2002, 09:25 PM