home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactif: Special Edition 1 / cd.iso / pc / PC / Demos / AAprodst / data1.cab / Program_Executable_Files / SampleScript.aaps < prev    next >
Encoding:
Text File  |  1999-01-29  |  5.6 KB  |  147 lines

  1. # ###############################
  2. # This is a sample Audioactive script read by Audioactive Production Studio.
  3. # It illustrates the commands that can be used in script files.
  4.  
  5. # Lines starting with the '#' character are considered as comments and are ignored.
  6. # Commands can be abbreviated as long as the abbreviation is not ambiguous.
  7. # Each command and file name must be listed on a separate line in the script file.
  8.  
  9. # ###############################
  10. # The LOG command causes program warnings and error messages to sent to the specified
  11. # file instead of displaying them for the user.  If you are using this command, make
  12. # sure it is the first command specified since error messages encountered before
  13. # this command may still be displayed.
  14. #
  15. # -log="C:\Temp\aaps.log"
  16.  
  17. # ###############################
  18. # The AUTO command is available in the PRO version only.  When specified the program
  19. # executes the script commands, encodes the specified files then exits.
  20. #
  21. # -auto
  22.  
  23. # ###############################
  24. # The BITRATE command sets the encode bitrate the files added after this command.
  25. # The units for this command are kbit/second.
  26. #
  27. # -bitrate=128
  28.  
  29. # ###############################
  30. # The SAMPLERATE command forces the encode sample rate to be the value you specify.
  31. # This command is not often used as the program automatically selects a compatible
  32. # sample rate based on the sample rate of the source file.  The units for this
  33. # command are samples/second.
  34. #
  35. # -samplerate=44100
  36.  
  37. # ###############################
  38. # The CHANNELS command forces the encode mode to mono or stereo.  This command is
  39. # seldom used as the program automatically selects the encode mode based on available
  40. # encode settings and the number of channels in the source file.
  41. #
  42. # -mono
  43. # -stereo
  44. # -channels=1
  45. # -channels=2
  46.  
  47. # ###############################
  48. # The FORMAT command specifies the output format for the encoded file.  You may choose
  49. # MP3 for a pure MP3 file, WAV for compressed wave (MP3 file with WAV header), SWA for
  50. # Shockwave compatible file, and ASF for Microsoft Netshow ASF.
  51. #
  52. # -format=MP3
  53. # -format=WAV
  54. # -format=SWA
  55. # -format=ASF
  56.  
  57. # ###############################
  58. # The FAST and HIGHQUALITY commands set the encode optimization for time or audio
  59. # quality.  These commands are only available in the PRO version.
  60. #
  61. # -fast
  62. # -highquality
  63.  
  64. # ###############################
  65. # The DELETEAFTERENCODE command deletes the source file after it is succesfully encoded.
  66. # Use this option with care as it deletes your original file!!!
  67. #
  68. # -deleteafterencode
  69. # -deleteafterencode=ON
  70. # -deleteafterencode=OFF
  71.  
  72. # ###############################
  73. # The INPUTDIR command specifies the directory where the source files are located.
  74. # If you use this command you no longer have to specify the full path for each file.
  75. #
  76. # -inputdir="C:\MyFiles"
  77.  
  78. # ###############################
  79. # The OUTPUTDIR command specifies the directory where the encoded files are saved.
  80. # Please note that if the specified directory does not exist the program will silently
  81. # create it for you if you specified the -LOG command but it will ask if you want
  82. # it created if you did not specified the -LOG command.
  83. #
  84. # -outputdir="C:\MyMP3s"
  85.  
  86. # ###############################
  87. # The following commands control the file overwrite mode.
  88. #
  89. # -prompt
  90. # -overwrite
  91. # -makeunique
  92. # -skip
  93.  
  94. # ###############################
  95. # The NAME command allows you to set the name for the output file.  The program
  96. # names the output files the same as the source file but with the appropriate extension.
  97. # For example when encoding File1.wav the program would select File1.mp3 for you.
  98. # If you don't like the default name use this command to change the name.
  99. # Please note that the NAME command affects only the preceding file added to the 
  100. # encoder.  The example below adds File1.wav to the encoder and then uses the NAME
  101. # command to set the name to Song1.mp3.
  102. #
  103. # File1.wav
  104. # -name="Song1.mp3"
  105.  
  106. # ###############################
  107. # The ONFILEDONE and ONDONE commands allow you to run external programs after each
  108. # file is encoded or after all files are encoded.  This feature is only available
  109. # in the PRO version.
  110. #
  111. # You may use the following special sequences in the command line passed to the
  112. # external program:
  113. #   $f or $F - Full file name
  114. #   $p or $P - Path (directory) part of the file name
  115. #   $n or $N - The file name only (without path or extension)
  116. #   $e or $E - The file extension (without the period)
  117. # Note that the lowercase versions refer to the source file while the uppercase
  118. # letters refer to the destination file.
  119. #
  120. # Example: Move the encoded files to the C:\Done directory after encoding.
  121. # -onfiledone="move $f C:\Done\$n.$e"
  122.  
  123. # ###############################
  124. # You can specify the files to be encoded either one at a time or using wildcards.
  125. # If you use the INPUTDIR command you do not need to specify the full path name
  126. # for each file.
  127. # Example: Add File1 specifying the full path:
  128. # C:\MyFiles\File1.wav
  129. #
  130. # Example: Add File2 using INPUTDIR command first:
  131. # -inputdir="C:\MyFiles"
  132. # File2.wav
  133. #
  134. # Example: Add all wave files in the C:\MyFiles directory that start with File.
  135. # C:\MyFiles\File*.wav
  136. #
  137. # Example: Add all wave files in the C:\MyFiles directory
  138. # C:\MyFiles\*.wav
  139.  
  140. # ###############################
  141. # Script files may include other script files. You can prefix the script file
  142. # name by the '@' character to include that script file.  Be careful to avoid
  143. # circular references where a file includes itself or a parent script file.
  144. #
  145. # Example: Include Script2.aaps into this script:
  146. # @Script2.aaps