View Full Version : How can I make numerous audio tracks play within AMS and not using WMP?
riverside1
01-22-2008, 08:38 AM
How can I make numerous audio tracks play within AMS and not using WMP?:huh
azmanar
01-22-2008, 11:06 AM
Hi,
Check out AMS Audio actions. There are several audio channels you can use and play at the same, if you want to. Most audio formats are supported like MP3, ogg, asf and wav.
You can build your own player using objects and scripts. This way you can avoid WMP plugin.
I suggest you search for some examples in this forum. The help file is another good resource.
riverside1
01-22-2008, 12:34 PM
Audio actions seems like the way to go but I can't find any good examples, can you point me in the right direction?:yes
azmanar
01-22-2008, 12:54 PM
Hi,
I made a search using "ams audio channels" and I got lots of result. I picked up these 4 that have some tips.
http://indigorose.com/forums/showthread.php?t=22006
http://indigorose.com/forums/showthread.php?t=19935
http://indigorose.com/forums/showthread.php?t=8197
http://indigorose.com/forums/showthread.php?t=6933
Other than the above, I remembered Roboblue gave a very good example of his own version of Audio Player. I couldn't find it. Maybe, someone else can point out the location.
riverside1
01-22-2008, 01:21 PM
Thanks for all your help azmanar, I'm very keen too see roboblues version if anyone can help.
holtgrewe
01-22-2008, 01:29 PM
If you look at the Audio Player Template as one example, it will demonstate how to find specific audio files, and play them. With simple modifications it will play MP3, wma, etc. as well.
Play around with that, it is an excellent example in itself.
Azmanar is 100% correct. There are so many examples in the forum. Check a few of them out, experiment, then get back to the forum with specific questions, we'll be happy to assist.
Desolator
01-22-2008, 03:30 PM
I know of quite some audio players done in AMS, some better than other. Most are proprietary and have no source available, but I know one under the GPL 2 ;)
I was working on a library to abstract against the AMS audio functions, the WMP plug-in and even some custom DLLs, but I lost interest in it, particularly because it's pretty easy to do it with some practice and examples. I might continue it one day when I'll regain interest.
riverside1
01-22-2008, 06:55 PM
Do you have anything you can share with me?
holtgrewe
01-22-2008, 10:32 PM
riverside1
I threw this together for you - probably very buggy - but it should get you started. The coding is very cryptic and a cut & paste job from a couple of projects.
This will show you how to acquire and play audio files and load them into a Listbox.
Use this as a springboard for ideas for your audio player.
hth
riverside1
01-23-2008, 02:31 AM
Thanks for all your help holtgrewe, is there a way of getting it to load with tracks already in the playlist? ;)
holtgrewe
01-23-2008, 07:24 AM
You should have just about everything you need in that example, along with the other examples that others have pointed out to you.
If you are just starting out with AMS, I would suggest reading the User Guide, then perusing the help file. You will discover excellent examples and techniques.
Experiment with what you have - that's the way to learn AMS. You will be surprised how quickly your project will come together.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.