Jump to content
  • Advertisement
Sign in to follow this  
mc30900

2 questions in MCI

This topic is 4459 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello all i got a few questions: how do i change the volume? (so i'll hear louder or whatever) how do i change the speed of the playing song? thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
Changing the tempo of a song is a pretty complicated operation - MCI won't do it.

Setting the volume, however, should be possible with the setaudio command string - see MSDN. Be warned though that this looks like a master system-wide volume control; fiddling with that is Bad style and may annoy users. It also won't work like a nice mixer if you're playing more than one audio source (e.g. music and sound effects). For that I'd recommend a proper audio library such as OpenAL.

Share this post


Link to post
Share on other sites
Quote:
Original post by ApochPiQ
Changing the tempo of a song is a pretty complicated operation - MCI won't do it.

Setting the volume, however, should be possible with the setaudio command string - see MSDN. Be warned though that this looks like a master system-wide volume control; fiddling with that is Bad style and may annoy users. It also won't work like a nice mixer if you're playing more than one audio source (e.g. music and sound effects). For that I'd recommend a proper audio library such as OpenAL.


thanks for your help.
i dont think i am going to use OpenAL right now..
its too hard reading few type of files..
mci plays mp3 , wav and everything i need..
but in OpenAL i need to make my own, long code in order to read that.

Share this post


Link to post
Share on other sites
Quote:
Original post by mc30900
Quote:
Original post by ApochPiQ
Changing the tempo of a song is a pretty complicated operation - MCI won't do it.

Setting the volume, however, should be possible with the setaudio command string - see MSDN. Be warned though that this looks like a master system-wide volume control; fiddling with that is Bad style and may annoy users. It also won't work like a nice mixer if you're playing more than one audio source (e.g. music and sound effects). For that I'd recommend a proper audio library such as OpenAL.


thanks for your help.
i dont think i am going to use OpenAL right now..
its too hard reading few type of files..
mci plays mp3 , wav and everything i need..
but in OpenAL i need to make my own, long code in order to read that.


Then use something simpler, like Audiere.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!