Currently working on a simple Qt5 player for tracked music based on libopenmpt...

Right now it only plays the first track in the playlist, but soon enough it will advance the track once the end of one is reached. I also plan on including a shuffle functionality, because that's how I mostly listen to music.

And yes, it will be open source.

Update on my silly little -based mod player: it now loads m3u playlists! \o/

Still need to refine it a bit further though, but the basic stuff works.

Show thread

Another update: the playlist can now be hidden. It does so with a nice animation thanks to the QPropertyAnimation class!

Yet another update on πŸ¦ŠπŸ“¦: a volume slider!

Implementing this was way easier than I initially thought, just needed to multiply the samples with a value between 0 and 1...

Show thread

Another πŸ¦ŠπŸ“¦ update: the playlist now highlights the current song, and you can double-click anywhere inside the playlist to change between songs.

Yes, I hadn't implemented that until now.

Show thread

(I'm refining the background colour a bit before committing this to the repo though)

Show thread

It looks like this now with the new background colour (taken from the system palette). Works for me Β―\_(ツ)_/Β―

Show thread

πŸ¦ŠπŸ“¦ just got an about dialog. (and yes, it's a scroller because reasons)

Show thread

Something a bit more useful for πŸ¦ŠπŸ“¦: playback control using media keys! As of now this is only available on macOS though as it's what I use on a daily basis.

See it in action:

Show thread

Remember πŸ¦ŠπŸ“¦? This is them now.

Really nice that somehow I managed to handle that custom window frame thingy after all the weirdness I encountered during development (this one in particular: )

Looks pretty neat now if you ask me. I'll give it 9/10 llamas.

Show thread

@dogo I'm using Qt, so it should work across any platform. This is the Qt class I used for the animation:

@nilsding dare you to style this like mac os panther itunes

@dogo oh the volume slider under the playback buttons would work nicely!

@dogo but yeah, i might aim for something similar to that in one future release -- that interface was super simple and easy to use (which I really miss from most players available today)

@nilsding how are you doing content loading? no internal library feature im guessing, just straight up file browsing?

@dogo for now, yep. just drag and drop your mods in there and click play!

I implemented some basic playlist saving/loading though, so there's that.

@nilsding i really prefer library based players but this is cute still!

@dogo I might add that at one point as well, it kinda gets tedious adding files manually every time after some while (hence why I implemented that playlists thing :P).

but yeah, for now my main focus is mostly on these topics:

@nilsding oh also keep in mind mac os does some funkyness now where media keys apply to the active window (dumb)

@dogo yeah i have to look into that stuff anyway... need to use the ObjC-APIs for that I guess, that will be big fun from within C++!

@nilsding ive only heard bad things abt obj-c but then again i know jack squat about programming so Β―\_(ツ)_/Β―

@nilsding zune did this adorable lil miniplayer style that gave you visual stuff and direct access to your entire now playing list (if you click on any of the queue'd titles it switches to a list view of everything)

@dogo oh I see! Think it would be fun to implement something like this. Maybe I can abuse QML for that kind of thing

@dogo don't know what I'll display instead of the album art though... maybe some sort of visualisation or so? (there's so many things you could do with tracker files!)

@nilsding uuuuuhhh

ok if u do make a visualization, perhaps best to keep it pretty passive. no distracting and all

@dogo was thinking of something along the lines of what I did here, but that might be a bit too distracting I guess

Show more

@nilsding oh gosh i havent seen wiggly marquee text since dxball

@dogo this now makes a new miniplayer even more possible

could just integrate it in the titlebar now

Sign in to participate in the conversation

🐾🐾🐾🐾🐾🐾🐾🐾 beans art by angiewolfartist@twitter