# Class: music

Music playback, currently only for Ogg files. One file per time can be loaded and played. The playback is threaded and is only updated every 100ms. Thus, changes to the playback may lag behind for a small time period.

## Methods:

### Method overview:

- gain
- getcomment
- isplaying
- load
- play
- stop
- time

gain (number gain)
  returns: ()
  sets playback gain, must be set after loading a file again.
getcomment (string file)
  returns: ([table info])
  reads the comments of a musicfile and returns a table that contains a list of it.
isplaying ()
  returns: (boolean)
  returns true if the music is playing
load (string filename)
  returns: ()
  loads a musicfile
play ()
  returns: ()
  plays a loaded musicfile
stop ()
  returns: ()
  stops a loaded musicfile
time ([number time])
  returns: ([number time])
  seeks a position in the musicfile