Media Player#

Playback of audio files.

Play

Selection of playback type. Possible values:

  • "File" - plays the file specified in the "File Path" property;
  • other values play sounds from the current Windows sound scheme.
File Path

[Text] The name and path of the file to be played. All file formats containing an audio track are supported.

For example,

  • wav;
  • mp3;
  • mp4;
  • avi;
  • mkv
  • and others.
Play in BackgroundIf selected, the file will be played in the background, and the diagram will continue to operate without stopping. Otherwise, the operation will stop until the file has been fully played.
Error Handling Level

Selection of error handling level. Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Selection of the message level that blocks will output during operation. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's operation.