Click here to Skip to main content
16,011,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralA MIDI Timer Pin
Andy Monk4-Dec-00 22:50
Andy Monk4-Dec-00 22:50 
GeneralRe: A MIDI Timer Pin
Christian Graus5-Dec-00 0:17
protectorChristian Graus5-Dec-00 0:17 
GeneralRedistributables when using ODBC Microsoft Access Pin
Wolfram Steinke4-Dec-00 22:16
Wolfram Steinke4-Dec-00 22:16 
GeneralRedistributables when using ODBC Microsoft Access Pin
Wolfram Steinke4-Dec-00 22:16
Wolfram Steinke4-Dec-00 22:16 
Generalread from memory Pin
4-Dec-00 12:54
suss4-Dec-00 12:54 
QuestionAnybody know how to Play single note in MIDI??? Pin
4-Dec-00 8:47
suss4-Dec-00 8:47 
AnswerRe: Anybody know how to Play single note in MIDI??? Pin
Christian Graus4-Dec-00 10:19
protectorChristian Graus4-Dec-00 10:19 
AnswerRe: Anybody know how to Play single note in MIDI??? Pin
.::RockNix::.15-Jan-01 3:27
.::RockNix::.15-Jan-01 3:27 
First of all - you don`t need directX to playback midi.

to play a midi note from an app you have to do the following things:

a) get a handle to midi-device ( start with MIDI-MAPPER - easier@beginning )

use: midiOutopen(...)

b) send a midi-note-on string by

use: midiOutShortMsg(...)

a note-on-command consists of 3 bytes

channel/note-on -> coded in 1. byte
note-number -> coded in 2. byte
note-velocity -> coded in 3. byte

c) send a midi-note-off-string

see b)

d) close midi-devices

use: midiOutClose(..)


For information see MSDN or http://www.harmony-central.com/MIDI/

Hope I forgot nothing important because i have written a midi-dll once and it works fine for years

Greating Mario

--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
GeneralCompile my project without symbols Pin
4-Dec-00 7:11
suss4-Dec-00 7:11 
GeneralRe: Compile my project without symbols Pin
4-Dec-00 8:01
suss4-Dec-00 8:01 
GeneralSDK Pin
3-Dec-00 23:05
suss3-Dec-00 23:05 
GeneralRe: SDK Pin
Christian Graus4-Dec-00 10:22
protectorChristian Graus4-Dec-00 10:22 
GeneralRe: SDK Pin
Christian Graus4-Dec-00 10:23
protectorChristian Graus4-Dec-00 10:23 
GeneralCalendar Control needed Pin
Serge_l3-Dec-00 22:49
Serge_l3-Dec-00 22:49 
GeneralRe: Calendar Control needed Pin
NormDroid3-Dec-00 23:19
professionalNormDroid3-Dec-00 23:19 
GeneralRe: Calendar Control needed Pin
Brendan Tregear5-Dec-00 13:23
Brendan Tregear5-Dec-00 13:23 
GeneralWindows Message Mapping Pin
3-Dec-00 7:38
suss3-Dec-00 7:38 
GeneralRe: Windows Message Mapping Pin
VitSoft3-Dec-00 23:24
VitSoft3-Dec-00 23:24 
GeneralWindows 32bit API Pin
3-Dec-00 6:23
suss3-Dec-00 6:23 
GeneralRe: Windows 32bit API Pin
5-Dec-00 2:53
suss5-Dec-00 2:53 
GeneralRe: Windows 32bit API Pin
5-Dec-00 3:15
suss5-Dec-00 3:15 
GeneralWindows 32bit API Pin
3-Dec-00 6:22
suss3-Dec-00 6:22 
GeneralRe: Windows 32bit API Pin
5-Dec-00 3:14
suss5-Dec-00 3:14 
GeneralIIS 3 Pin
3-Dec-00 3:39
suss3-Dec-00 3:39 
GeneralMissing CWnd Handle Pin
2-Dec-00 11:57
suss2-Dec-00 11:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.