Recent

Author Topic: a simple musciplayer  (Read 4452 times)

Roman78

  • New member
  • *
  • Posts: 9
a simple musciplayer
« on: November 04, 2015, 09:25:39 am »
Hello to everybody. I'm new to Lazarus and before is start testing and learning I want to be sure it is possible to make what I need.

I just want to make a simple Music Player that I can use on some old 8" touch screen computers (specs AMD-K6-II 400 mhz and 128 or 256 Meg ram. OS Win9x, W2k, XP). And maybe even on my work station.

Background is that I organized my music into folders, first from A - Z and numbers, than name of the artist, than the album, within the album folder are the tracks. So it looks like X:\P\Judas Priest\1992 - Painkiller\. Now mostly I use WinAmp, that works great. But on those 8" 800x600 touch screens it's a no go without a mouse. And I didn't found any other tool so I thought I just make one and came to Lazarus.

So I planned to make a simple tool that whit some browse options and when i click on a folder or mp3/aac file and press the play button it just starts to play. Without any play-list option, just play the album from start to end, therefore I added numbers to the beginning of the titles.

At the left the browser part and on the right the player controls. Would be nice with a VU-meter, titles and a time counter. So therefore I need some player support. On Lazarus itself i was not able to find any media player controls/support, but I found ACS, O_US and other stuff in here: http://wiki.lazarus.freepascal.org/Category:Audio

I have not planned to test out all the possibilities in expectation of working or failing and than try the next possibility. I want to start whit that, that fits my needs, so were should I focus on? Or should I go whit Delphi 4 or 5? (have those at home, still from school times). But than I could have issues whit Windows 7-8-10, Delphi 5 is from 1999.

/edit: I downloaded the ACS. But won't get it to work atm. Get error message that the PPU is not correct. I'll try it on a 32-bit Window instead of the 64-bit.

Do I wise to reread my Delphi 4 and 5 books from school again. 15 years is a long time.

/edit2: The ACS always gives the error message that it can't find some ACS_* files used in uMain, incompatible PPU. Can it be that it is not for the new 1.4.4 version?
« Last Edit: November 04, 2015, 11:45:27 am by Roman78 »

wp

  • Hero Member
  • *****
  • Posts: 13363
Re: a simple musciplayer
« Reply #1 on: November 04, 2015, 12:03:00 pm »
ACS of lazarus-ccr does not work, at least on Windows. Forum user "serbod" has an updated version in his own repository (https://github.com/serbod/acs), but it is my impression from his forum contributions that he is mostly working on Linux (http://forum.lazarus.freepascal.org/index.php/topic,30065).

Roman78

  • New member
  • *
  • Posts: 9
Re: a simple musciplayer
« Reply #2 on: November 04, 2015, 12:44:44 pm »
Well.. the serbod version is doing more than the one I got. No major error message and I can play a MP3 file. But on visualisation i get an error. But it's worth a try.

Some other stuff to try on windows?



 

TinyPortal © 2005-2018