Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


DirectMusic or DirectSound or both


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Endre   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 March 2000 - 11:34 PM

Hello all. I''m working on my first game and want to add music and sound effects to it. I''m coding the game in VB and DirectX. Can I use directMusic for the background music and then directSound for the sound effects or should I use only one of them? Thanks Endre

Sponsor:

#2 Spiff   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 March 2000 - 11:59 PM

Sure. As far as I know, there''s no problem using both since DirectMusic plays MIDI and DirectSound plays sounds like wav.

It depends on what kind of sound you will be using. You can have DirectSound playing sound effects while another DirectSound buffer streams a bigger music file from disk.

============================
Daniel Netz, Sentinel Design
"I'm not stupid, I'm from Sweden" - Unknown

#3 kieren_j   Members   -  Reputation: 100

Like
Likes
Like

Posted 18 March 2000 - 11:36 PM

In fact, if you want to use DirectMusic you need to use DirectSound.
Although DirectMusic can play midi files, the main idea behind it is the software synthesiser. It basically reads MIDI data and outputs as waves of instrumental notes.

cya






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS