Click here to Skip to main content
15,171,664 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# MIDI controller interface. Pin
DaveyM697-Oct-12 3:42
professionalDaveyM697-Oct-12 3:42 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff8-Oct-12 2:21
MemberJumpin' Jeff8-Oct-12 2:21 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff10-Oct-12 4:46
MemberJumpin' Jeff10-Oct-12 4:46 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6910-Oct-12 15:13
professionalDaveyM6910-Oct-12 15:13 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 2:49
MemberJumpin' Jeff11-Oct-12 2:49 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 3:13
MemberJumpin' Jeff11-Oct-12 3:13 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 8:18
professionalDaveyM6911-Oct-12 8:18 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 9:21
MemberJumpin' Jeff11-Oct-12 9:21 
Ah!
I don't run Maple on my win7 x64 system because it has a controller, but am running it on the XP system because it doesn't, and I needed some way to test.

Is line 253 = "MidiBuffer midiBuffer = null;" Buffers = 8. from there, it makes it to line 274 and stalls as stated previously. It does not hit 276 or 288. It simply stalls dead.

Dave,
I do appriciate the effort you've put into this, but as with the PureMIDI example, this has become much too complex for my needs, and has way too much overhead. I can connect to ports without issue, I can send data to the controller, now I simply need to capture the raw data from the controller. I don't even want to split the status byte into type and channel. I would like it as 0xD2D1st. Anything and everything beyond that is complete overkill for my needs. At most providing this as a byte array would be acceptable as well.

For my application, I will be capturing the control input, and placing into a map file in the format 0xst:0xD1:0xD2. I will likely be looping that back to the controller with possible D2 and status mods to light the corresponding Button lamp. That is basically it. I found that some controllers like the M-Audio xponent, will send a proper note on and note off status with a velocity of 0x40, while others will always send a note on with a velocity of 0x00 or 0x7f to indicate note on or off. I need to be able to work with both these possabilities while mapping the controllers.

I can send a sysex command if necesary as well to change controller modes. As for reading the sysex feedback, I may or may not chase that at some point, but not sure it's necessary.

I'm glad you're putting together an article for this, as I do think it needs better attention, but I also feel that it's going to be too advanced for most judging by the current code. For a novice, I would think providing a basic example would suffice, and then maybe expand on that with a couple more articles for the seasoned, and then advanced users to learn from.

What I need, is to learn how to make the callback, to collect the Midi Input.

Again, Thanks, but as it stands, I can't use much of this.
Jeff

GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 11:40
professionalDaveyM6911-Oct-12 11:40 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff12-Oct-12 2:42
MemberJumpin' Jeff12-Oct-12 2:42 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 11:51
professionalDaveyM6911-Oct-12 11:51 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 15:34
MemberJumpin' Jeff11-Oct-12 15:34 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 11:20
MemberJumpin' Jeff11-Oct-12 11:20 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 11:52
professionalDaveyM6911-Oct-12 11:52 
GeneralRe: C# MIDI controller interface. Pin
DaveyM692-Nov-12 9:54
professionalDaveyM692-Nov-12 9:54 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff2-Nov-12 13:23
MemberJumpin' Jeff2-Nov-12 13:23 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff16-Nov-12 6:36
MemberJumpin' Jeff16-Nov-12 6:36 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6916-Nov-12 7:22
professionalDaveyM6916-Nov-12 7:22 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff16-Nov-12 14:17
MemberJumpin' Jeff16-Nov-12 14:17 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6916-Nov-12 21:32
professionalDaveyM6916-Nov-12 21:32 
QuestionC# 2008 with linq reference problem Pin
dcof5-Sep-12 13:17
Memberdcof5-Sep-12 13:17 
AnswerRe: C# 2008 with linq reference problem Pin
Shameel5-Sep-12 21:35
professionalShameel5-Sep-12 21:35 
QuestionLoosley Coupled Events Pin
Member 81371055-Sep-12 11:21
MemberMember 81371055-Sep-12 11:21 
AnswerRe: Loosley Coupled Events Pin
Pete O'Hanlon5-Sep-12 11:27
mvaPete O'Hanlon5-Sep-12 11:27 
GeneralRe: Loosley Coupled Events Pin
Member 81371055-Sep-12 11:30
MemberMember 81371055-Sep-12 11:30 

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.