$insong
From Scriptwiki
(Redirected from $inmidi)
Return $true if the specified sound type is playing, $false otherwise.
$inwave $inmidi $insong
- These functions have no parameters.
Properties
- fname - returns the filename of the currently playing song
- pos - returns the position in the currently playing song
- length - returns the length of the currently playing song
- pause - returns $true if a song is paused, $false otherwise
Example
$insong.fname returns the filename of the currently playing song
$inmidi.length returns the length of the currently playing midi file