Small music handling library.
Based on Love2D and Naev API
|play (filename, params)||Plays a music with fade-in and fade-out.|
|stop (m)||Stops a playing music (or all of them)|
|clear ()||Forcibly stops playing music and restarts Naev's game music.|
- play (filename, params)
Plays a music with fade-in and fade-out.
- filename string or file Name or file object to open.
- params tab Parameter table.
New music object.
- stop (m)
Stops a playing music (or all of them)
- m tab or nil Music to stop, or nil to stop all playing music.
- clear ()
- Forcibly stops playing music and restarts Naev's game music.