Project

General

Profile

Splay » History » Revision 7

Revision 6 (Per Amundsen, 12/24/2019 12:54 PM) → Revision 7/10 (Per Amundsen, 04/05/2020 02:48 PM)

_Added in 1.9.0_ 
 _ 
 */splay -cmpqw [filename | stop | pause | resume | seek | skip] [pos]* 

 Plays the specified sound, which can be a .wav, .mid, or .mp3 file. 

 When a sound finishes playing, it triggers a [[On SONGEND|sound event]]. 

 _Playing mp3 files with large "ID3 tags":https://en.wikipedia.org/wiki/ID3 and/or album art, may not work._ 

 *Switches* 

 -c - Clears the song queue. 
 -m - Midi. 
 -p - Mp3. 
 -q - Queue song to play after current song. 
 -w - Wave. 

 *Parameters* 

 [filename | stop | pause | resume | seek | skip] - File to play or operation to perform on current song. 
 [pos] - If Is pos is defined, file will start playing at position pos. 

 *Example* 

 <pre> 
 ; Match on "play a song" then play "mysong.mp3" 
 on *:TEXT:play a song:*:splay c:\mysong.mp3 
 </pre>