| View previous topic :: View next topic |
| Author |
Message |
Raymond175 Contributor


Joined: 24 Apr 2002 Posts: 72
|
Posted: Mon May 06, 2002 9:09 am Post subject: Musicplayer questions... |
|
|
I'm making a musicplayer called RayAmp (It looks like WinAmp, but I try to make it more useful) but I'm stuck on some features:
* The musiclist: Can I modify the appearance of the dialog LIST command? Or else, does someone know how to make your own list without need of the dialog LIST?
* It's maily MP3-based, so it's MPEG and not WAVE: How can I get the KBPS and the KHZ of the song?
* How can I show some kind of waveform? The people who know WinAmp know what I mean if I point to the moving thingy under the time
* Also how can I read the MP3 tags?
* How can I make the filebrowser rezisable?
* Is it possible to show images in front of the dialog LIST command?
* Is it possible to use other types of images instead of BMP?
* Can I add all my images and dll-files into the main exe?
Well, that were quite a lot question... more than I had in mind before posting, but ok. When you know any answers, please reply because I need to know this...
Thanks,
-=Raymond=-
Tropical_Rayz@Hotmail.com |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon May 06, 2002 10:46 am Post subject: |
|
|
__________________________________________________________________________________
Well, to change the appearance of a list, you can use
a STYLE. Here's an example:
DIALOG ADD,STYLE,Style1,Courier,8,,BLACK,LTGREEN
Then add ",Style1" to your DIALOG ADD,LIST... line.
Cheers, Mac  |
|
| Back to top |
|
 |
Raymond175 Contributor


Joined: 24 Apr 2002 Posts: 72
|
Posted: Mon May 06, 2002 11:16 am Post subject: |
|
|
do not mean that appearance... I mean the borders, the slider etc... The standard windows LIST does not fit into my dialog (qua style)...
Thanks,
-=Raymond=-
Tropical_Rayz@Hotmail.com |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon May 06, 2002 11:43 am Post subject: |
|
|
Oh. Sorry...  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Mon May 06, 2002 12:05 pm Post subject: |
|
|
Hello there....
Here's some answers that might help you..
| Quote: | | It's maily MP3-based, so it's MPEG and not WAVE: How can I get the KBPS and the KHZ of the song? |
You can either use PGWARE's VDSMPEG.DLL http://www.vdsworld.com/index.php?page=download&fileid=54 which is shareware and really stable when you know how to tweak it a bit with VDS or VDSMP3.DLL http://www.vdsworld.com/index.php?page=download&fileid=43 from Tommy Sools which is using the XAUDIO engine (The redistribution license of the XAUDIO.DLL isnt clear, write to www.xaudio.com before redistribution the DLL). If you would like to try and hear both engines engines download the VDSWORLD Player i made which supports both MP3 engine http://www.vdsworld.com/index.php?page=download&fileid=175
I really like VDSMPEG.DLL better, a bit more harder to use than VDSMP3 but after working with it on the VDSWORLD Media Player I found that it is a great MP3 DLL for VDS. And I needed a DLL that I would be able to redistribute as Shareware and Freeware. This is not possible with VDSMP3.DLL because of the licensing of the XAUDIO.DLL which is copyrighted. I think you may redistributed it as freeware only.. not sure.
| Quote: | | How can I show some kind of waveform? The people who know WinAmp know what I mean if I point to the moving thingy under the time |
It isnt possible with VDS unless someones make a new DLL. But you could use the LEVEL dialog element to do some sort of visualization. (I wish there was a DLL me too for that )
| Quote: | | Also how can I read the MP3 tags? |
With the VDSMPEG.DLL you can easily read and write ID3 tags. Or you can read and write tags using either thru VDS 4 BINFILE command or withe VDSINOUT.DLL. See this post for an example : http://www.vdsworld.com/archive/index.php?page=topic&board=11&topic=12
[quote]
| Quote: | | Is it possible to use other types of images instead of BMP? |
You could use either VDSELM.DLL for that, which you can get from S.A.D.E. for around 26$ or use VDSDLL3.DLL http://www.vdsworld.com/index.php?page=download&fileid=60 which is 19$.
| Quote: | | Can I add all my images and dll-files into the main exe? |
Use either Alloy around 93$ US http://www.vdsworld.com/index.php?page=download&fileid=61 this is the best one you can get for VDS apps!!! or simplier but not as complete as Alloy is Easy Packets freeware http://www.vdsworld.com/index.php?page=download&fileid=141
or look at this thread a VDS script solution that's very interesting. http://www.vdsworld.com/forum/viewtopic.php?t=132
Well thats it hope this helps a you a bit.
 |
|
| Back to top |
|
 |
Raymond175 Contributor


Joined: 24 Apr 2002 Posts: 72
|
Posted: Mon May 06, 2002 12:39 pm Post subject: |
|
|
Wow marty!
You helped me out a lot!
* Now I can get the KBPS and the KHZ of the MP3 file!
* Now I can add all my files into one file!
Questions left:
<<It isnt possible with VDS unless someones make a new DLL. But you could use the LEVEL dialog element to do some sort of visualization. (I wish there was a DLL me too for that)>> --- What do you mean with the LEVEL dialog element? How does that work and how can I use it to make a kind of waveform?
* The musiclist: Can I modify the appearance of the dialog LIST command? Or else, does someone know how to make your own list without need of the dialog LIST?
* How can I make the filebrowser rezisable?
* Is it possible to show images in front of the dialog LIST command?
Thanks,
-=Raymond=- |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Mon May 06, 2002 1:00 pm Post subject: |
|
|
For the LEVEL Dialog element look in the VDS 4 Help for the syntax. Then look at the example .DSC file that comes with the VDSMPEG.DLL and you will see the bit of code that generates an effect with a progress bar in the :evloop section. The codes shows you how to use the @mpeg(getbalance,xxx) function in order to get some sort of visual effect. You can modify the code so it uses the LEVEL dialog element instead of the PROGRESS bar element.
Also for you LIST question about changing the color of the scroll bar, frame whatever for the list. All I can say is that I don't think it's possible. An external DLL would be needed for that too. Again that's something I wish would exist.
 |
|
| Back to top |
|
 |
|