473,387 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

audio functions in Winmm.dll

i need to play (in a windows app) all or part of wav/mp3/midi files thru
software without a user interface. i also need to allow the user to choose
the midi instrument to play the midi files by filling a list box with
available instruments.

i would prefer not to have to install a windows media player, or directx or
any special installations on machines that will run it.

it looks to me i'm best off by using Winmm.dll functions. where can i find
documentation for Winmm.dll ??

i know nothing about the playing of audio files in software, is there any
place i can get any basic info on this?

it looks to me that my needs are simple, 1)to play all or parts of wav, mp3,
or midi files, 2) to select the midi instruments, and it shouldn't be rocket
science to do it. i would appreciate some help on finding documentation of
Winmm.dll functions, and some basic intro on this subject.

thanks for any help

ray
Oct 24 '06 #1
1 3512
In article <#z**************@TK2MSFTNGP04.phx.gbl>, no****@nospam.com
says...
i know nothing about the playing of audio files in software, is there any
place i can get any basic info on this?
Go to groups.google.com and search for "vb.net winmm.dll".

For all of the pinvoke declarations you'll need see:

http://www.pinvoke.net/search.aspx?s...dll&namespace=[All]

--
Patrick Steele
http://weblogs.asp.net/psteele
Oct 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: MLH | last post by:
I have some audio help files that play fine from within Access 97 and Access 2.0. Both are running on a Windows XP box. But I do not know what program plays the files. If I click Start, Run and...
2
by: arkam | last post by:
Here is the code : public class AudioMixerHelper { public const int MMSYSERR_NOERROR = 0; public const int MAXPNAMELEN = 32; public const int MIXER_LONG_NAME_CHARS = 64; public const int...
3
by: | last post by:
I wrote an application and I want to decrease "system's" audio level .I dont want to do it via directshow must do it on directly window's wave volume control. Thankse
2
by: Sagaert Johan | last post by:
Hi I can play a wave file through a p/invoke to winmm , but how can i play a wave file to a specific audio device if i have more then one audio device in my pc ? Johan
6
by: Nuno Magalhaes | last post by:
Is there any way to encode a byte stream of audio data into GSM or other codec data, and the decode also? I searched all over the Internet and didn't find any valid solution applying to C#. I'm...
0
by: hzgt9b | last post by:
Using VB.NET 2003, QUESTION How do I set up my program so that it will be notified of any/all audio changes on the machine? I.e. if someone adjusts the machine’s volume outside of my app, I...
2
by: positivebalance41m | last post by:
I have been searching how to do sound capture (record audio input) in VB.NET for days now. I find some references to "winmm.dll" calls, but they give VB5 or VB6 examples which won't code convert...
1
by: ray well | last post by:
i need to play (in a windows app) all or part of wav/mp3/midi files thru software without a user interface. i also need to allow the user to choose the midi instrument to play the midi files by...
0
by: universe | last post by:
I am developing a web application in that I need to record audio, for that I am importing "winmm.dll" and using mciExecute function.(the following code is vb.net). If I have posted in irrelavent...
0
by: universe | last post by:
hi friends, I am developing a webapplication (using ASP.NET 2.0). In that I need to play audio file in the following scenario. Case 1: Only one file will be given as input to audio...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.