Click here to Skip to main content
16,020,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 10:51
professionalDaveyM6911-Oct-12 10:51 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 14:34
Jumpin' Jeff11-Oct-12 14:34 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 10:20
Jumpin' Jeff11-Oct-12 10:20 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 10:52
professionalDaveyM6911-Oct-12 10:52 
GeneralRe: C# MIDI controller interface. Pin
DaveyM692-Nov-12 8:54
professionalDaveyM692-Nov-12 8:54 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff2-Nov-12 12:23
Jumpin' Jeff2-Nov-12 12:23 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff16-Nov-12 5:36
Jumpin' Jeff16-Nov-12 5:36 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6916-Nov-12 6:22
professionalDaveyM6916-Nov-12 6:22 
MIM_LONGDATA will be sent to your callback only if (some of these are obvious so I'm sure you can ignore them but I'll include them for completeness!):

  1. The MIDI Input is open (midiInOpen)
  2. The MIDI Input is started (midiInStart)
  3. There is at least one buffer available
  4. The buffer is prepared (midiInPrepareHeader)
  5. The buffer has been added (midiInAddBuffer)
  6. The buffer has been (re)initialized correctly (dwFlags cleared etc if reusing the buffer)

What caught me out the first time I ever tried it was that I hadn't done 4 and 5. I expected a buffer to just be given to me that the system created for the SysEx. Unfortunately, it will only fill buffers we create and add.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff16-Nov-12 13:17
Jumpin' Jeff16-Nov-12 13:17 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6916-Nov-12 20:32
professionalDaveyM6916-Nov-12 20:32 
QuestionC# 2008 with linq reference problem Pin
dcof5-Sep-12 12:17
dcof5-Sep-12 12:17 
AnswerRe: C# 2008 with linq reference problem Pin
Shameel5-Sep-12 20:35
professionalShameel5-Sep-12 20:35 
QuestionLoosley Coupled Events Pin
Member 81371055-Sep-12 10:21
Member 81371055-Sep-12 10:21 
AnswerRe: Loosley Coupled Events Pin
Pete O'Hanlon5-Sep-12 10:27
mvePete O'Hanlon5-Sep-12 10:27 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 10:30
Member 81371055-Sep-12 10:30 
GeneralRe: Loosley Coupled Events Pin
Pete O'Hanlon5-Sep-12 10:33
mvePete O'Hanlon5-Sep-12 10:33 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 10:35
Member 81371055-Sep-12 10:35 
GeneralRe: Loosley Coupled Events Pin
Pete O'Hanlon5-Sep-12 10:44
mvePete O'Hanlon5-Sep-12 10:44 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 10:46
Member 81371055-Sep-12 10:46 
GeneralRe: Loosley Coupled Events Pin
SledgeHammer015-Sep-12 11:53
SledgeHammer015-Sep-12 11:53 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 11:56
Member 81371055-Sep-12 11:56 
GeneralRe: Loosley Coupled Events Pin
SledgeHammer015-Sep-12 12:05
SledgeHammer015-Sep-12 12:05 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 12:18
Member 81371055-Sep-12 12:18 
GeneralRe: Loosley Coupled Events Pin
SledgeHammer015-Sep-12 12:23
SledgeHammer015-Sep-12 12:23 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 12:51
Member 81371055-Sep-12 12:51 

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.