Solved

How to play MP3 files in VB?

Posted on 1997-12-26
6
728 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 123
Put text in a picture ASP.NET C# 2 68
MS SQL store procedure to calculate and return result 6 69
How to Add / Edit Windows Menu 4 74
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

730 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