thanks for your immediate reply. I will try as per your suggestion. >The MAD plug-in for Winamp does all of this if you're looking for an example. Sorry to ask this question. I tried to get the source of this Winamp which uses MAD. But i couldn't. If you can tell me the site, it will be very helpful. thanks & regards, sadeesh