Load a sound object from the specified path with the specified name.
Load a sound object from the specified path with the specified name.
1 string name
the name to give to the sound.
2 string path
the path to the sound file.
3 string soundType
the sound type. Refer to love2d documentation for this.
4 number volume
the volume level for this sound.
5 bool loop
whether the sound should play on loop.
1 Sound
the newly created sound object.