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

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=20;
  8. BoxY.1=255;
  9. BoxX.2=260;
  10. BoxY.2=27;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=220;
  15. Descr="Click a button to get information about it!";
  16. Picture("Scala:\help\graphics\soundopt.gif",UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810)));
  17. pagename="Sound Options dialog";
  18. pagedescr="Allows you to automatically or manually configure, adjust, and test settings related to sound.";
  19. Button(Normal(Box(499,82,20,26,Style(Norm))),Highlight(Box(499,82,20,26,Style(High))),Select(Box(499,82,20,26,Style(Sel)),Use(infobutton)));
  20. Button(Normal(Box(125,112,367,25,Style(Norm))),Highlight(Box(125,112,367,25,Style(High))),Select(Box(125,112,367,25,Style(Sel)),Use(sampletype)));
  21. Button(Normal(Box(125,140,367,25,Style(Norm))),Highlight(Box(125,140,367,25,Style(High))),Select(Box(125,140,367,25,Style(Sel)),Use(sampleaddr)));
  22. Button(Normal(Box(125,168,367,25,Style(Norm))),Highlight(Box(125,168,367,25,Style(High))),Select(Box(125,168,367,25,Style(Sel)),Use(sampleirq)));
  23. Button(Normal(Box(125,196,367,25,Style(Norm))),Highlight(Box(125,196,367,25,Style(High))),Select(Box(125,196,367,25,Style(Sel)),Use(sampledma)));
  24. Button(Normal(Box(125,224,367,25,Style(Norm))),Highlight(Box(125,224,367,25,Style(High))),Select(Box(125,224,367,25,Style(Sel)),Use(samplequality)));
  25. Button(Normal(Box(125,252,367,25,Style(Norm))),Highlight(Box(125,252,367,25,Style(High))),Select(Box(125,252,367,25,Style(Sel)),Use(miditype)));
  26. Button(Normal(Box(125,280,367,25,Style(Norm))),Highlight(Box(125,280,367,25,Style(High))),Select(Box(125,280,367,25,Style(Sel)),Use(midiaddress)));
  27. Button(Normal(Box(125,308,367,25,Style(Norm))),Highlight(Box(125,308,367,25,Style(High))),Select(Box(125,308,367,25,Style(Sel)),Use(midifonts)));
  28. Button(Normal(Box(125,336,367,25,Style(Norm))),Highlight(Box(125,336,367,25,Style(High))),Select(Box(125,336,367,25,Style(Sel)),Use(cdhwvolume)));
  29. Button(Normal(Box(125,367,109,25,Style(Norm))),Highlight(Box(125,367,109,25,Style(High))),Select(Box(125,367,109,25,Style(Sel)),Use(autodetect)));
  30. Button(Normal(Box(239,367,65,25,Style(Norm))),Highlight(Box(239,367,65,25,Style(High))),Select(Box(239,367,65,25,Style(Sel)),Use(testbutton)));
  31. Button(Normal(Box(309,367,65,25,Style(Norm))),Highlight(Box(309,367,65,25,Style(High))),Select(Box(309,367,65,25,Style(Sel)),Use(savebutton)));
  32. Button(Normal(Box(379,367,65,25,Style(Norm))),Highlight(Box(379,367,65,25,Style(High))),Select(Box(379,367,65,25,Style(Sel)),Use(okbutton)));
  33. Button(Normal(Box(449,367,65,25,Style(Norm))),Highlight(Box(449,367,65,25,Style(High))),Select(Box(449,367,65,25,Style(Sel)),Use(cancelbutton)));
  34. Wait();
  35. Sequence:
  36. Use(SetUp);
  37. Use(DrawBox);
  38. Resources:
  39. :infobutton
  40. {
  41. title="Information button";
  42. text[1]="Switches Scala into Help mode. ";
  43. descr=text[1];
  44. block=1;
  45. max=1;
  46. Use(SetPos);
  47. }
  48. :sampletype
  49. {
  50. title="Sample Type selector";
  51. text[1]="Sets the sample type by specifying the brand and/or model of your sound card.";
  52. descr=text[1];
  53. block=1;
  54. max=1;
  55. Use(SetPos);
  56. }
  57. :sampleaddr
  58. {
  59. title="Sample Address";
  60. text[1]="Sets the address of the sample playback device driver, one of eight values within the range 210 to 280.";
  61. descr=text[1];
  62. block=1;
  63. max=1;
  64. Use(SetPos);
  65. }
  66. :sampleirq
  67. {
  68. title="Sample IRQ";
  69. text[1]="Sets the IRQ (Interrupt Request Line) for sample playback, a value between 1 and 15.";
  70. descr=text[1];
  71. block=1;
  72. max=1;
  73. Use(SetPos);
  74. }
  75. :sampledma
  76. {
  77. title="Sample DMA";
  78. text[1]="Sets the DMA (Direct Memory Access) channel for sample playback, a value between 0 and 7.";
  79. descr=text[1];
  80. block=1;
  81. max=1;
  82. Use(SetPos);
  83. }
  84. :samplequality
  85. {
  86. title="Sample Quality selector";
  87. text[1]="Lets you select Low, Medium, or High sample playback quality.";
  88. descr=text[1];
  89. block=1;
  90. max=1;
  91. Use(SetPos);
  92. }
  93. :miditype
  94. {
  95. title="MIDI Type selector";
  96. text[1]="Lets you select the type of MIDI interface.";
  97. descr=text[1];
  98. block=1;
  99. max=1;
  100. Use(SetPos);
  101. }
  102. :midiaddress
  103. {
  104. title="MIDI Address";
  105. text[1]="Sets the address of the MIDI device driver. The address range and possible number of values available varies depending on the MIDI Type setting.";
  106. descr=text[1];
  107. block=1;
  108. max=1;
  109. Use(SetPos);
  110. }
  111. :midifonts
  112. {
  113. title="MIDI SoundFonts...";
  114. text[1]="Opens the File menu to allow you to pick a MIDI SoundFont file.";
  115. descr=text[1];
  116. block=1;
  117. max=1;
  118. Use(SetPos);
  119. }
  120. :cdhwvolume
  121. {
  122. title="CD: Hardware Volume?";
  123. text[1]="Determines whether Scala attempts to regulate volume for CD sound through the sound card's software or through a hardware control in the CD drive itself.";
  124. descr=text[1];
  125. block=1;
  126. max=1;
  127. Use(SetPos);
  128. }
  129. :autodetect
  130. {
  131. title="Auto Detect";
  132. text[1]="Attempts to automatically detect your sound card and make the proper settings for items in this dialog.";
  133. descr=text[1];
  134. block=1;
  135. max=1;
  136. Use(SetPos);
  137. }
  138. :testbutton
  139. {
  140. title="Test";
  141. text[1]="Runs a short script that allows you to test the basic functions of your sound card using the settings shown.";
  142. descr=text[1];
  143. block=1;
  144. max=1;
  145. Use(SetPos);
  146. }
  147. :savebutton
  148. {
  149. title="Save";
  150. text[1]="Saves the current settings as the default for Scala and exits the dialog. This has no effect on files or programs outside Scala.";
  151. descr=text[1];
  152. block=1;
  153. max=1;
  154. Use(SetPos);
  155. }
  156. :okbutton
  157. {
  158. title="OK";
  159. text[1]="Accepts the current settings and exits the dialog.";
  160. descr=text[1];
  161. block=1;
  162. max=1;
  163. Use(SetPos);
  164. }
  165. :cancelbutton
  166. {
  167. title="Cancel";
  168. text[1]="Exits the dialog, discarding any changes you made.";
  169. descr=text[1];
  170. block=1;
  171. max=1;
  172. Use(SetPos);
  173. }
  174. }
  175. Resources:
  176. }
  177.