Basic Music Player (love.audio demo)
Posted: Sat Apr 03, 2010 9:07 am
I decided to play with and learn more about love.audio and ended up making my first 'project'. This is a very basic music player in its infancy. So far it uses love.audio.newSource and setLooping, as well as love.audio.play, .pause and .stop.
controls:
Left-click on the icons to use them
Left-click and drag the volume slider to change volume
Mousewheel up/down = volume up/down
Space = play (or pause if playing)
I stole the 'awesome.ogg' that plays from whoever posted sea-otter.love
TODO LIST (read: things I might like to try in the future if I can be bothered):
toggle looping on/off
include more than one song and include prev/next song
print artist and song name metadata from the .ogg file playing
load/play a file located outside of music.love (are these last two even possible?)
controls:
Left-click on the icons to use them
Left-click and drag the volume slider to change volume
Mousewheel up/down = volume up/down
Space = play (or pause if playing)
I stole the 'awesome.ogg' that plays from whoever posted sea-otter.love
TODO LIST (read: things I might like to try in the future if I can be bothered):
toggle looping on/off
include more than one song and include prev/next song
print artist and song name metadata from the .ogg file playing
load/play a file located outside of music.love (are these last two even possible?)