Solved

How to play MP3 files in VB?

Posted on 1997-12-26
6
724 Views
Last Modified: 2008-02-01
I have an application that is playing .wav files via the MCI APIs, but due to the large size of the .wav files (> 300MB) I would like to encode them in MP3.  I have the compressor, but am unsure how to play them in VB.

Any help would be appreciated.
0
Comment
Question by:kbakst
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:mrmick
ID: 1447674
I'm pretty sure you can only play WAV files through the API calls, can you compress them and uncompress one just before you play it?
0
 

Author Comment

by:kbakst
ID: 1447675
That is the question I'm asking.  I need to know if there is another set of API calls (perhaps available with an MP3 decompressor) for 32 bit Windows apps that I can call from VB.
0
 
LVL 8

Expert Comment

by:mrmick
ID: 1447676
Where did you get the MP3 compressor?  I may be able to find what you're looking for.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:kbakst
ID: 1447677
Well, I found a good solution.  I found a freeware program called dwav2mpe.exe that will encode .wav files into MP3 format and leave the .wav header, allowing you to play them with the standard MCI API calls, as long as you have the proper CODEC installed (it comes with Microsoft Netshow).

Thanks anyway .
0
 
LVL 7

Accepted Solution

by:
linda101698 earned 100 total points
ID: 1447678
I'm posting the solution found by kbakst so it can be saved in the previously asked questions.

Well, I found a good solution. I found a freeware program called
dwav2mpe.exe that will encode .wav files into MP3 format and leave the .wav header, allowing you to play them with the standard MCI API calls, as long as you have the proper CODEC installed (it comes with Microsoft Netshow).
0
 
LVL 8

Expert Comment

by:mrmick
ID: 1447679
Maverick, you can email me at: mick@owen.wa.com - I cannot return to review comments in this question.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now