You are browsing as a guest. Sign up (or log in) to start making projects!

GLAP

  • 46 Devlogs
  • 53 Total hours

GLAP, a TUI audio player.

Ship #2

I added configuration. I learned how serialization and deserialization work. I also learned how to document things. Thanks for everyone that helped with my project.

Here’s an example theme to get you started with theming ([PHOTOSENSITIVE EPILEPISY WARNING]; also it doesn’t work on terminal.app because Apple is mean):

[theme]
background = "#b8d60e"
foreground = "#ff00ff"
controls = "#5f4808"
playbar = "#00fff2"
  • 13 devlogs
  • 19h
  • 18.61x multiplier
  • 360 Stardust
Try project → See source code →
Open comments for this post

48m 6s logged

Added some doc comments because I plan to at some point have the audio-handling junk in a seperate crate so you can staple a frontend onto it. Okie now I can do v2.0

0
0
8
Open comments for this post

2h 51m 34s logged

Bump version, and do a boatload of under-the-hood microoptimizations and horribly unreadable code paired with next-to-no docs.

0
0
11
Open comments for this post

1h 3m 22s logged

Ran cargo fmt and spent an hour making sure that the playback is gapless and that my unsafe code wasn’t corrupting the memory. Also added a debug launch.json for vscode / vscodium users trying to debug it.

0
0
2
Open comments for this post

2h 3m 31s logged

Added settings page and very wisely used unsafe code to squish the sample playing loop, next up we have to address sample parsing since that can take a bit in prod. I will figure it out soon.

0
0
11
Super Star

As a prize for your great work, look out for a bonus prize in the mail :)

Open comments for this post

1h 36m 48s logged

Removed the about page that the ratings made apparent that no one read and started to add a settings page. I mean it has nothing at all.

0
0
16
Open comments for this post

1h 50m 31s logged

The configuration update, make your own blindingly bright and eye-watering theme for GLAP today! (I did not put any restrictions on the theme, kinda almost but still might not work in terminal.app)

0
0
23
Open comments for this post

2h 7m 22s logged

commiting now because its time for bed now. I am working on configuration. you know, custom themes, hiding the control bar, and the like. [EDIT]: IT DOESNT ACTUALLY PARSE THEM YET AND ITS BROKEN ANYWAY THIS COMMIT DOES NOT WORK

0
0
13
Open comments for this post

2h 2m 28s logged

Fixes. I ran cargo clippy, added some v2 ideas, and generally cleaned up and optimized the code. Bumped version to v1.1.0 because the cargo overlords demand it, and also changed the controls thingy.

0
0
13
Ship #1

I basically made a TUI music player app in Rust, in the process learning how structs, ownership, threads, callbacks, and a bunch of other Rust things work. The hardest part was setting up the state handling. I am really proud of how this ended up.

  • 33 devlogs
  • 34h
  • 7.33x multiplier
  • 248 Stardust
Try project → See source code →
Open comments for this post

1h 24m 1s logged

I basically added rewinding and fast-forwarding. I also made the button unfocus with the window. I will ship soon™️

2
0
14
Open comments for this post

34m 44s logged

Probably the last devlog before Ship 1; I removed volume from the player because it just ate up memory and cpu cycles, and ran cargo fmt and cargo clippy for good measure. It’s pretty much done now.

0
0
11
Open comments for this post

1h 24m 24s logged

I’m almost done. I programmed in controls and repeating a folder of music (so basically playlists). It just repeats it in the displayed order so keep that in mind.

0
0
9
Open comments for this post

2h 13m 48s logged

I am working on controls for the UI and them functioning. Making the elements focus right will be a pain. Well at least I’m in the home stretch. Unless of course I choose to split the backend of a crate… Meh I probably won’t do it.

1
0
10
Open comments for this post

2h 0m 19s logged

UI!!!!!
I can use this kind of it still needs to be able to pause but it can resonably be considered an audio player now! This is so tiring but at least I can say that I’ve made something now.

0
0
11
Open comments for this post

1h 2m 10s logged

It kind of works… you need a file named sans.ogg in you music folder but nontheless it works. I still need a proper ui tho lol.

0
0
8
Open comments for this post

42m 47s logged

The UI kind of works now, working on writing the about page. I still need to write the player code and page and what not, I will delegate this to a helper thread.

0
0
6
Open comments for this post

2h 13m 36s logged

Devlogging now because an electrical storm is nearby and I need to turn off my pc; basically just started to work on the ui. This one is not going to work so don’t build :pweas: .

0
0
4
Open comments for this post

53m 44s logged

It plays now. I figure out gow to use the lock helper so I don’t have to screw around with mutexes and ownership and the like and still pause. Yay.

0
0
5
Open comments for this post

1h 53m 38s logged

I seperated some stuff into other files and started on the ui stuff with some basic boilerplate. It now doesn’t work again because I need to figure out how to use mutexes.

0
0
4
Open comments for this post

45m 34s logged

It functions now. Yaey. Symphonia is complicated. I can now play songs with this. Next up: I struggle with some sort of UI thing to make a UI for it.

0
0
7
Open comments for this post

1h 45m 15s logged

Switched to Symphonia because FLAC audio is broken in Creak. At the moment the new implementation doesn’t function…

0
0
5
Open comments for this post

54m 8s logged

I added some parsing for validity testing. The dumb part is that I still can’t parse messages fully because the MIDI standard can’t just use u32’s noooo they have to be soooooo fancy and use variable length quantities that are a headache to parse because they decided to do junk with raw bits for no reason other than to give midi player dev’s headaches and save a whopping 200 bytes in the file I’m working with (the song is straight fire tho). Oh yea I also added an ImHex project file bcs I’m not working with the MIDI docs because those get way to technical.

0
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…