Click here to Skip to main content
15,883,827 members
Articles / Desktop Programming / MFC

Playing Midi Files with DirectMusic

Rate me:
Please Sign up or sign in to vote.
4.83/5 (17 votes)
30 Dec 2010LGPL34 min read 376.5K   6.4K   64  
A DirectX 8 class to perform Midi music playback
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by MidiPlayer.rc
//
#define IDD_MIDIPLAYER_DIALOG           102
#define IDR_MAINFRAME                   128
#define IDI_ICON1                       129
#define IDI_ICON2                       130
#define IDI_ICON3                       131
#define IDI_ICON4                       132
#define IDI_ICON5                       133
#define IDI_ICON6                       134
#define IDI_ICON7                       135
#define IDI_ICON8                       136
#define IDD_ABOUT                       138
#define IDI_ICON9                       149
#define IDB_BITMAP1                     152
#define IDC_PLAY                        1000
#define IDC_STOP                        1001
#define IDC_PAUSE                       1002
#define IDC_REPLAY                      1003
#define IDC_BACKWARD                    1004
#define IDC_FORWARD                     1005
#define IDC_OPEN                        1006
#define IDC_ABOUT                       1007
#define IDC_X                           1011
#define IDC_Y                           1012
#define IDC_Z                           1013
#define IDC_VOLUME                      1015
#define IDC_PORTS                       1016
#define IDC_3D                          1017
#define IDC_REVERB                      1019
#define IDC_TEMPO                       1020
#define IDC_COUNTER_X                   1021
#define IDC_COUNTER_Y                   1022
#define IDC_COUNTER_Z                   1023
#define IDC_PROGRESS                    1025
#define IDC_IMAGE                       1026
#define IDC_STATIC_LINK                 1028
#define IDC_CHECK_CENTERX               1029
#define IDC_CHECK_CENTERY               1030
#define IDC_CHECK_CENTERZ               1031

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        159
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1032
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer
Spain Spain
I obtained my PhD degree in Computer Graphics at the National Distance Education University (UNED) in October 2019. I also hold a Ms. degree in Software Engineering and Computer Systems and a Bs. degree in Computer Science from the National Distance Education University (UNED).
I have been employed as a C++ software developer in several companies since year 2000.
I currently work as a Tutor-Professor of Symbolic Logic, Discrete Math and Java Object-Oriented Programming at UNED-Cartagena (Spain) since 2015.

Comments and Discussions