Share via


Performance.Trace

Windows Media Encoder SDK banner art

The Trace method sends a lyrics message that displays text in the DirectMusic Producer message window. This method is useful for debugging and testing the script. Applications can also trap the messages by using tools.

[object.]Trace sOutput 

Parts

object

Optional. Object expression that resolves to a Performance Object. If omitted, the default performance is used.

sOutput

Required. Text to output. In AudioVBScript, this must be a single string. In Visual Basic Scripting Edition, it can be a numerical value or a concatenation.

Remarks

This method is implemented by sending a lyrics message. These messages are typically ignored outside of DirectMusic Producer, but an application could insert a tool into the performance toolgraph to capture the strings.