Microsoft DirectX 8.1 (Visual Basic) |
An audio script is a file containing variables and routines that can be accessed from within an application. It is written in a subset of Microsoft® Visual Basic® Scripting Edition called AudioVBScript. DirectMusic Producer includes an authoring environment for scripts and saves them in a special format that includes binary parameters as well as the text of the script.
Scripts implement some of the key DirectX Audio objects and can perform basic functions such as the following:
DirectX® for Visual Basic does not enable applications to load and call audio scripts through the API. However, a segment authored in DirectMusic Producer can contain a script track that triggers calls to routines in one or more scripts.