Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

DirectMusic

From Wikipedia, the free encyclopedia

DirectMusic is a deprecated[1] component of the MicrosoftDirectX API that allows music and sound effects to be composed and played and provides flexible interactive control over the way they are played. Architecturally, DirectMusic is a high-level set of objects, built on top ofDirectSound, that allow the programmer to play sound and music without needing to get quite as low-level as DirectSound.DirectSound allows for the capture and playback of digital sound samples, whereas DirectMusic works with message-based musical data. Music can be synthesized either in hardware, in theMicrosoft GS Wavetable SW Synth, or in a custom synthesizer.

History

[edit]

DirectMusic was first released by Microsoft in 1996 as anActiveX control called Interactive Music Architecture (IMA).[2] It was introduced as part of the 6.1 version of theDirectX library in February 1999 and is included in allMicrosoft Windows operating systems starting with Windows 98 Second Edition. DirectMusic has since been deprecated, and is not available to 64-bit applications inWindows Vista.[1] InWindows 7, native 64-bit support is available for the core DirectMusic API related to timestamped MIDI but not for the performance component.[3]

Details

[edit]

DirectMusic provides a complete system for implementingdynamic soundtracks that take advantage ofhardware acceleration,Downloadable Sounds (DLS),DirectX Media Objects (DMOs), advanced 3D positioning effects and several other features. DirectMusic provides composition and playback of dynamic musical soundtracks based on stored compositional material. Rather than a static playback, the music is generated on the fly, and is played with variations, and can respond to flexible program events. Using DirectMusic, it is possible to:

  • Load and play sounds from files or resources inMIDI,WAV, or DirectMusic Producer run-time format. The small file size of DirectMusic soundtracks makes it very well suited for Web applications.
  • Schedule the timing of musical events with high precision. DirectMusic allows timestamping of MIDI input data at the moment of arrival to a system wide reference clock. Music or sound effects composed for DirectMusic can be very flexible and can change dynamically over time or in response to a user event. DirectMusic addresses the problems of Windows' legacyMidiOutAPI, which has shaky timing and limited real-time control.
  • Play from multiple sources simultaneously, each with separate timing and instrument sets.
  • Sendtempo changes, patch changes, and otherMIDI events programmatically.
  • Use Downloadable Sounds (DLS), an open standard by theMIDI Manufacturers Association, allowing developers to output'wavetable' sounds on audio hardware not equipped with 'wavetable'sample-based synthesis. The downloadable sounds can be extended to include new or customized instruments.
  • On computers with sound card which lack 'wavetable'sample-based synthesis, DirectSound'sSoftware Synthesizer ensures that message-based music such asMIDI files and DirectMusic segments sound identical on all hardware configurations rather than playing differently on different computers with different sound cards. An application can also play an unlimited variety of instruments and even produce unique sounds for individual notes and velocities.
  • Locate sounds in a 3D environment.
  • Easily applypitch changes,reverberation, and other effects.
  • Use more than 16MIDI channels. DirectMusic makes it possible for any number of voices to be played simultaneously, up to the limits of the synthesizer.
  • Play segments on different audio paths, so that effects orspatialization can be applied individually to each sound.
  • Capture MIDI data, or stream it from one port to another.
  • DirectMusic Producer can be used to create sound files that take full advantage of DirectMusic's interactive features.
  • Uses a portion of main memory as the buffer for sound card.[4]

To ensure DirectMusic functions such asMicrosoft GS Wavetable SW Synth work correctly, aWDM sound driver is recommended inWindows 98 orWindows Me. OnMicrosoftWindows Vista, DirectMusic uses onlysoftware synthesis. Also, the DirectMusic kernel mode synthesizer that supplies the DirectMusic components with a high-resolution timer has been removed.[5]

See also

[edit]

References

[edit]
  1. ^ab"64-bit programming for Game Developers".MSDN Library. Microsoft. April 2008. Retrieved2009-03-03.
  2. ^"DirectMusic Producer FAQ". Archived fromthe original on 2007-06-30. Retrieved2007-10-06.
  3. ^DirectX Frequently Asked Questions
  4. ^https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ee416820%28v=vs.85%29
  5. ^Timing jitter and clock drift when editing or playing MIDI in Windows Vista

External links

[edit]
Graphics and UI
Audio
Multimedia
Web
Data access
Networking
Communication
Administration and
management
Component model
Libraries
Device drivers
Security
.NET
Software factories
IPC
Accessibility
Text and multilingual
support
Retrieved from "https://en.wikipedia.org/w/index.php?title=DirectMusic&oldid=1283008530"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp