473,396 Members | 1,894 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,396 software developers and data experts.

Playing notes with MIDI -- midiOutShortMsg(...) in winmm.dll

I am attempting to build a piece of software which will replicate a guitar's
notes. The major problem I have is sending the message to the midi output
device which has the correct instrument and note to play. The midi people
want like 50 bucks for a reference, and as this will be a personal use type
application, I can't see spending the money on it. If anyone has a nice
enumerated list of the ID's for the instruments and notes/chords, that would
be wonderful. I am writing this in Visual Basic(.net), but an example or
two in C or C++ or even Java or some other language which uses the windows
API would be great.

Thanks In Advance,
--cx.

Nov 21 '05 #1
2 12030
Hi,

Maybe this will help.
http://www.franklins.net/dotnet/CarlsMIDITools.zip

Ken
---------------------
"coderx" <co****@coderx.net> wrote in message
news:Uk*****************@bignews3.bellsouth.net...
I am attempting to build a piece of software which will replicate a guitar's
notes. The major problem I have is sending the message to the midi output
device which has the correct instrument and note to play. The midi people
want like 50 bucks for a reference, and as this will be a personal use type
application, I can't see spending the money on it. If anyone has a nice
enumerated list of the ID's for the instruments and notes/chords, that would
be wonderful. I am writing this in Visual Basic(.net), but an example or
two in C or C++ or even Java or some other language which uses the windows
API would be great.

Thanks In Advance,
--cx.


Nov 21 '05 #2

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote
Maybe this will help.
http://www.franklins.net/dotnet/CarlsMIDITools.zip


Thanks for the link. I had heard mention of it on DotNet Rocks,
but I did never find it when I went looking....

LFS

Nov 21 '05 #3

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

Similar topics

4
by: Brian Basquille | last post by:
Hello all, What is the syntax for simply playing a WAV file in your program? Am learning VB and have two VB books but don't wanna root through them to find the code. Any help would be much...
3
by: Anton Vredegoor | last post by:
Recently there has been a lot of progress concerning the integration of midi into python. A midipy.cpp for Python20 is found and various compiling efforts having been undertaken to compile it for...
1
by: Peter Schmitz | last post by:
Hi, I'm just trying to play a *.wav file, making use of the unmanaged function "sndPlaySoundA" in winmm.dll, but I still got one question: How can I avoid, that the sound file itself has to be...
2
by: Greg Shannan | last post by:
What is the simple way to just play a .wav file in c#? I'm thinking of something like PlaySound(). .... Greg Shanan
0
by: cartooncat | last post by:
I wrote following code: using System.Runtime.InteropServices; public static extern int mciSendString(string lpstrCommand, string lpstrReturnString,int uReturnLength, int dwCallback); ...
7
by: Lee Moody | last post by:
I just want quick and easy way to play a .wav file out the standard sound device. It could even be as simple as activating a sound assigned to an existing windows sound event. Any suggestions?...
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...
4
by: fAnSKyer/C# newbie | last post by:
I am using winmm.dll and I found that I can't just suspend it and resume it? What should I do? Any better idea? Should I use thread? and thread.suspend will work? Thanks
5
by: gazza67 | last post by:
Hi, Does anyone know how to check for when a sound has finished playing? I am currently using the SoundPlayer, there doesnt seem to be any event for this - am I missing something? Gary
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.