SCRIPTING: Scripting Audio Stream Selection E-mail
(0 votes)
dsp_script_.jpg

 
TUTORIAL TOPIC: SCRIPTING
TUTORIAL TITLE: SCRIPTING AUDIO STREAM SELECTION

 

This tutorial shows how to Script the Selection of Audio Streams. This is similar to using a Button to set an audio stream, but does it using Scripts!  This tutorial is available for instant download as a fully assembled DVDSP project for site members. If you are a member, and logged in, use this link for download: Scripting Audio Scripting Audio Stream  6.75 Mb

Welcome visitor! Thanks for dropping by...
x-click-butcc.gifThe complete contents of this Tutorial are available to DVD Pro Club Members. 
If you'd like to enjoy the rest of the Tutorial, please login - or why not join today?

Scripting The Audio Stream Selection

Controlling the audio stream currently playing can be done a number of different ways, including directly from the Audio button on the DVD remote control.

DVD_remote_btn_audio.jpg

Scripts can contain a SetSystemStream command that sets the value of the Audio stream to be played.

Here's what it looks like in the Script Inspector:

1_script_insp_set_audio.jpg

 

The syntax is pretty simple:

Set System Stream St(Stream#) 

 

<< Select the Audio Stream to activate

 

When using Scripting, be sure to end every script with a Jump to some other element. Leaving this command off will cause the script to dead-end when the script execution is completed, thereby crashing the DVD player. 

 

 

 

 

 

 

  

That's It! - Enjoy this tutorial, and don't forget to rate it for others!

Bruce - "the Digital Guy" 

By the way - If you are logged in as a free member, but like this project and want to own it completely assembled and ready to go, visit the Recipe4DVD Downloads Store, where you can download it immediately To see details of the projects, visit "ProPack2 Details" for project 34 in the Pro-Packs Menu item.

 

Click to subscribe to my feed

Useful Links (a work in progress)
Stock Footage

Your text link could appear here!
email us to inquire