Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6145949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:52:15+00:00 2026-05-23T18:52:15+00:00

I have written a small game in ‘c’ that has 15 Levels. I am

  • 0

I have written a small game in ‘c’ that has 15 Levels. I am done with that work. But the thing I want is to add music to it. I am playing a song when the game starts using the

system("cmd /c start /min level1.mp3")

That is with the help of dos command.

It’s working fine, but it’s playing the file in its default player example like WMplayer or VLC player.But i want a separate player something like that plays music, something like that is hidden from user view but he should hear the sounds I wonder how the big games like EA sports and some Prince of Persia play the sounds . I believe they have their own sound drivers installed. Because their sounds wont be started in WMplayer or some other player.

I am satisfied to 90%. Now I’m more confident about me because writing a game in c and running music in the background. with some techniques i made it.But the drawback is, its played in the default player.So guys can anyone tell me how do i make it through? How do i play some music without the media player of computer? I mean how the sounds are added to games like some PS2 games.Thank you.I Just want to know the thing they do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:52:15+00:00Added an answer on May 23, 2026 at 6:52 pm

    I’d suggest building the music player into the C program itself.
    SDL_mixer is a good and fairly simple library for doing this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a small text game I've written in Java that utilizes System.out.print();
I have small game engine written in c++. I'm considering using some features of
I have written a small chat app that uses mysql + php to facilitate
I have written a small app that puts my bluetooth in discoverable mode for
I have written a small plugin to change the text size but it doesn't
I have written a small makefile for a few simple C programs that compiles
I have written a small function, which uses ElementTree to parse xml file,but it
I have created a small game in Java and I would like to add
I have written a small application which will be used in my work environment
I'm working on a small game written in Java (but the question is language-agnostic).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.