Advanced WinScript Programming
6-11
Ad
va
n
ce
d
P
ro
g
ramm
ing
This method is how I design shows.
MainShow
(Start Trigger: Input 9)
Label Time
Event
Data1
Data2 Data3 Comment
00:00.00 Search dvm1
1
Monkey Segment
00:02.00 Start
Monkey
00:02.02 Start
Elephant
00:02.04 Start
Tiger
00:02.06 Start
Democrat
00:02.08 Start
Summary
00:02.10 Search dvm1
1
Video Black-Done!
Monkey
Label Time
Event
Data1
Data2 Data3 Comment
00:00.00 Stop
MainShow
Freezes MainShow time
00:00.00 Search
dvm1
1
Monkey Segment
00:00.00 Play
dvm1
2
00:00.00 Start
MainShow
UnFreezes MainShow
Elephant
Label Time
Event
Data1
Data2 Data3 Comment
00:00.00 Stop
MainShow
Freezes MainShow time
00:00.00 Search
dvm1
2
Elephant Segment
00:00.00 Play
dvm1
3
00:00.00 Start
MainShow
UnFreezes MainShow
Tiger
Label Time
Event
Data1
Data2 Data3 Comment
00:00.00 Stop
MainShow
Freezes MainShow time
00:00.00 Search
dvm1
3
Tiger Segment
00:00.00 Play
dvm1
4
00:00.00 Start
MainShow
UnFreezes MainShow
Democrat
Label Time
Event
Data1
Data2 Data3 Comment
00:00.00 Stop
MainShow
Freezes MainShow time
00:00.00 Search
dvm1
4
Democrat Segment
00:00.00 Play
dvm1
5
00:00.00 Start
MainShow
UnFreezes MainShow
Summary
Label Time
Event
Data1
Data2 Data3 Comment
00:00.00 Stop
MainShow
Freezes MainShow time
00:00.00 Search
dvm1
5
Summary Segment
00:00.00 Play
dvm1
6
00:00.00 Start
MainShow
UnFreezes MainShow
Randomization
The only reasonable way to do randomization is to increment a state variable
once per frame, letting it wrap at 256, continuously, and then checking the value
when a random number is desired. Since the increment of a state variable once
per frame is predictable when you look at the value at normalized intervals (i.e.
the value is 34 at frame 0, and if you check again at frame 30 it’s 64), you will
only get truly random numbers if you check based upon a non-timed, random
event. For example, if you check the variable when an operator pushes a button,
Summary of Contents for V+ series
Page 2: ...User s Guide To Show Control by Alcorn McBride Inc...
Page 7: ...Third Party Equipment 18 3 Index 19 1...
Page 8: ......
Page 14: ...1 6 Welcome...
Page 28: ...3 14 Show Control Overview GoingToDayModeMsg ClearLine2Msg...
Page 38: ...3 24 Show Control Overview...
Page 82: ...4 44 WinScript User s Guide...
Page 118: ......
Page 144: ...6 26 Advanced WinScript Programming...
Page 170: ...7 26 Application Notes...
Page 220: ...13 8 DMX Machine Hardware Reference...
Page 236: ...14 16 SMPTE Machine Hardware Reference...
Page 254: ...15 18 Appendix A Adding User Defined Serial Protocols...
Page 264: ......