Jump to content

View more

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

DirectMusic or DirectSound or both

4: Adsense

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   

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

#2 Spiff   Members   

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   

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.