Recent

Author Topic: MP3 player  (Read 784 times)

Sc0li0sis

  • Newbie
  • Posts: 6
MP3 player
« on: September 27, 2025, 09:54:46 pm »
What do you use to play MP3s?
I'm looking for a simple MP3 player, preferably a component, but not essential.
I only use Windows.
Best regards,
Sc0li0sis

Soner

  • Sr. Member
  • ****
  • Posts: 327
Re: MP3 player
« Reply #1 on: September 27, 2025, 10:15:33 pm »
Look Freds uos. It's really good, packed with examples.
Also take a look at his program strumpract

Sc0li0sis

  • Newbie
  • Posts: 6
Re: MP3 player
« Reply #2 on: September 28, 2025, 07:43:47 pm »
Thanks for the quick reply. UOS seems fine for my needs.

One question about UOS: Can I only play a certain number of seconds/minutes of an MP3 file?

Regards,
Sc0li0sis

Lulu

  • Sr. Member
  • ****
  • Posts: 362
Re: MP3 player
« Reply #3 on: September 28, 2025, 07:55:27 pm »
Hi, I don't know if UOS can do this, but its easy to do it in your program. A simple timer will do the job.
Regards
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

Fred vS

  • Hero Member
  • *****
  • Posts: 3734
    • StrumPract is the musicians best friend
Re: MP3 player
« Reply #4 on: September 28, 2025, 08:27:25 pm »
Thanks for the quick reply. UOS seems fine for my needs.

One question about UOS: Can I only play a certain number of seconds/minutes of an MP3 file?

Regards,
Sc0li0sis

Yes, of course!
I will (asap tonight) answer to your question in uos forum.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3734
    • StrumPract is the musicians best friend
Re: MP3 player
« Reply #5 on: September 28, 2025, 08:34:45 pm »
A simple timer will do the job.

Hmm, yes, but the sync will never be perfect. Better to work directly with the audio thread (like uos can do).
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018