Difference between revisions of "Shell Commands/Play"

From MorphOS Library

< Shell Commands

(Undo revision 3603 by JPV (talk))
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
FILE/A, VOLUME/N, AHIUNIT/N, LOOP/S, QUIET/S
 
FILE/A, VOLUME/N, AHIUNIT/N, LOOP/S, QUIET/S
 
  <nowiki>
 
  <nowiki>
FILE    - File to play
+
FILE    - Audio file to play
VOLUME  - Audio volume
+
VOLUME  - Audio volume (0-65535)
AHIUNIT - AHI unit to output
+
AHIUNIT - AHI unit number to be used by Reggae
LOOP    - Plays the file in loop
+
LOOP    - Plays the file in a loop
QUIET  - Disables playing information displaying
+
QUIET  - Supresses any text output in the shell</nowiki>
</nowiki>
+
 
 +
Example:
 +
Play MOSSYS:Data/SoundEffects/Marvel.aiff

Latest revision as of 13:57, 29 June 2026

Play - Plays audio files supported by the Reggae multimedia framework

FILE/A, VOLUME/N, AHIUNIT/N, LOOP/S, QUIET/S

FILE    - Audio file to play
VOLUME  - Audio volume (0-65535)
AHIUNIT - AHI unit number to be used by Reggae
LOOP    - Plays the file in a loop
QUIET   - Supresses any text output in the shell

Example:

Play MOSSYS:Data/SoundEffects/Marvel.aiff