home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND4C.SCA < prev    next >
Encoding:
Text File  |  1996-05-14  |  6.2 KB  |  178 lines

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=37;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=249;
  15. Descr="Click a button to get information about it!";
  16. Picture("Scala:\help\graphics\soundbak.gif",UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810)));
  17. Clip(0,292,"Scala:\help\graphics\sound4C.gif",transparent(off));
  18.     title="";
  19. pagename="Sound Menu:Mixer panel";
  20. pagedescr="Selects the Mixer. Use the Panel pop-up to switch between the Volume and Pan functions.^n^nMixer: Pan^nApplies left/right balance settings to all current sound events.";
  21. Button(Normal(Box(620,292,19,25,Style(Norm))),Highlight(Box(620,292,19,25,Style(High))),Select(Box(620,292,19,25,Style(Sel)),Use(infobutton)));
  22. Button(Normal(Box(4,322,415,25,Style(Norm))),Highlight(Box(4,322,415,25,Style(High))),Select(Box(4,322,415,25,Style(Sel)),Use(soundtype)));
  23. Button(Normal(Box(426,322,209,25,Style(Norm))),Highlight(Box(426,322,209,25,Style(High))),Select(Box(426,322,209,25,Style(Sel)),Use(panelpopup)));
  24. Button(Normal(Box(4,450,100,25,Style(Norm))),Highlight(Box(4,450,100,25,Style(High))),Select(Box(4,450,100,25,Style(Sel)),Use(preview)));
  25. Button(Normal(Box(429,450,100,25,Style(Norm))),Highlight(Box(429,450,100,25,Style(High))),Select(Box(429,450,100,25,Style(Sel)),Use(okbutton)));
  26. Button(Normal(Box(534,450,101,25,Style(Norm))),Highlight(Box(534,450,101,25,Style(High))),Select(Box(534,450,101,25,Style(Sel)),Use(cancelbutton)));
  27. Button(Normal(Box(4,370,148,22,Style(Norm))),Highlight(Box(4,370,148,22,Style(High))),Select(Box(4,370,148,22,Style(Sel)),Use(mixerpanmaster)));
  28. Button(Normal(Box(157,370,149,22,Style(Norm))),Highlight(Box(157,370,149,22,Style(High))),Select(Box(157,370,149,22,Style(Sel)),Use(mixerpanmidi)));
  29. Button(Normal(Box(4,416,148,22,Style(Norm))),Highlight(Box(4,416,148,22,Style(High))),Select(Box(4,416,148,22,Style(Sel)),Use(mixerpancd)));
  30. Button(Normal(Box(157,416,149,22,Style(Norm))),Highlight(Box(157,416,149,22,Style(High))),Select(Box(157,416,149,22,Style(Sel)),Use(mixerpansample)));
  31. Button(Normal(Box(311,416,149,22,Style(Norm))),Highlight(Box(311,416,149,22,Style(High))),Select(Box(311,416,149,22,Style(Sel)),Use(mixerpanline)));
  32. Wait();
  33. Sequence:
  34. Use(SetUp);
  35. Use(DrawBox);
  36. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,BoxH,Style(Info))));
  37. Text(BoxX+BoxW+15,BoxY+5,"Sound Screens:",Style(Mid),Justify(Center,Top),Wrap(Off,Auto(340)));
  38. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+25,"Sample",Face(On,Pen(4)),Font("SHelveticaL",10))),Highlight(Text(BoxX+BoxW+17,BoxY+25,"Sample",Face(On,Pen(1)),Font("SHelveticaL",10))),Select(Text(BoxX+BoxW+17,BoxY+25,"Sample",Font("SHelveticaL",10)),goto(sub1a)));
  39. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Face(On,Pen(4)),Font("SHelveticaL",10))),Highlight(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Face(On,Pen(1)),Font("SHelveticaL",10))),Select(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Font("SHelveticaL",10)),goto(sub2a)));
  40. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+47,"CD",Face(On,Pen(4)),Font("SHelveticaL",10))),Highlight(Text(BoxX+BoxW+17,BoxY+47,"CD",Face(On,Pen(1)),Font("SHelveticaL",10))),Select(Text(BoxX+BoxW+17,BoxY+47,"CD",Font("SHelveticaL",10)),goto(sub3a)));
  41. Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(LayoutText));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+75,"Mixer: Volume",Face(On,Pen(4)),Font("SHelveticaL",10))),Highlight(Text(BoxX+BoxW+17,BoxY+75,"Mixer: Volume",Face(On,Pen(1)),Font("SHelveticaL",10))),Select(Text(BoxX+BoxW+17,BoxY+75,"Mixer: Volume",Font("SHelveticaL",10)),goto(sub4a)));
  43. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+86,"Mixer: None",Face(On,Pen(4)),Font("SHelveticaL",10))),Highlight(Text(BoxX+BoxW+17,BoxY+86,"Mixer: None",Face(On,Pen(1)),Font("SHelveticaL",10))),Select(Text(BoxX+BoxW+17,BoxY+86,"Mixer: None",Font("SHelveticaL",10)),goto(sub4b)));
  44. Text(BoxX+BoxW+17,BoxY+97,"Mixer: Pan",Style(LayoutText));
  45. Resources:
  46. :infobutton
  47. {
  48. title="Information button";
  49. text[1]="Switches Scala into Help mode. ";
  50. descr=text[1];
  51. block=1;
  52. max=1;
  53. Use(SetPos);
  54. }
  55. :soundtype
  56. {
  57. title="Sound type buttons";
  58. text[1]="Select a type of sound event - Sample, MIDI, CD or Mixer. Each sound type has its own set of control panels. Clicking on a Sound button in the Main or List menus opens the Sound menu and activates the Sound control panel that applies to that event. If no sound event has been defined, Sample is selected.";
  59. descr=text[1];
  60. block=1;
  61. max=1;
  62. Use(SetPos);
  63. }
  64. :panelpopup
  65. {
  66. title="Panel pop-up";
  67. text[1]="Lets you access the control panels for the selected sound type events. ^"None^" on this button indicates that no sound event of that type is defined for the current element or page.^n^nChanges made in the sound settings are not displayed on the column button until you accept them and return to the Main menu, or move to another page.";
  68. descr=text[1];
  69. block=1;
  70. max=1;
  71. Use(SetPos);
  72. }
  73. :preview
  74. {
  75. title="Preview";
  76. text[1]="Lets you test a sound event by viewing the page with the sound event(s) you have added.";
  77. descr=text[1];
  78. block=1;
  79. max=1;
  80. Use(SetPos);
  81. }
  82. :okbutton
  83. {
  84. title="OK";
  85. text[1]="Accepts changes and exits the Sound menu.";
  86. descr=text[1];
  87. block=1;
  88. max=1;
  89. Use(SetPos);
  90. }
  91. :cancelbutton
  92. {
  93. title="Cancel";
  94. text[1]="Returns to the Main or List menu without applying changes.";
  95. descr=text[1];
  96. block=1;
  97. max=1;
  98. Use(SetPos);
  99. }
  100. :mixerpanmaster
  101. {
  102. title="Master slider";
  103. text[1]="Adjusts the balance of all sound sources simultaneously. Default: centered.";
  104. descr=text[1];
  105. block=1;
  106. max=1;
  107. Use(SetPos);
  108. }
  109. :mixerpanmidi
  110. {
  111. title="MIDI slider";
  112. text[1]="Sets a new balance for the MIDI sound source. Default: centered.";
  113. descr=text[1];
  114. block=1;
  115. max=1;
  116. Use(SetPos);
  117. }
  118. :mixerpancd
  119. {
  120. title="CD slider";
  121. text[1]="Sets a new balance for the CD audio sound source. Default: centered.";
  122. descr=text[1];
  123. block=1;
  124. max=1;
  125. Use(SetPos);
  126. }
  127. :mixerpansample
  128. {
  129. title="Sample slider";
  130. text[1]="Sets a new balance for the Sample sound source, affecting all samples. Default: centered.";
  131. descr=text[1];
  132. block=1;
  133. max=1;
  134. Use(SetPos);
  135. }
  136. :mixerpanline
  137. {
  138. title="Line slider";
  139. text[1]="Adjusts the balance of the Line input. Default: centered.";
  140. descr=text[1];
  141. block=1;
  142. max=1;
  143. Use(SetPos);
  144. }
  145. }
  146. Resources:
  147. :sub1a
  148. {
  149. Group:
  150. SubNum="1a";
  151. Quit(1);
  152. }
  153. :sub2a
  154. {
  155. Group:
  156. SubNum="2a";
  157. Quit(1);
  158. }
  159. :sub3a
  160. {
  161. Group:
  162. SubNum="3a";
  163. Quit(1);
  164. }
  165. :sub4a
  166. {
  167. Group:
  168. SubNum="4a";
  169. Quit(1);
  170. }
  171. :sub4b
  172. {
  173. Group:
  174. SubNum="4b";
  175. Quit(1);
  176. }
  177. }
  178.