Click here to Skip to main content
15,351,089 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6915-Sep-12 7:44
professionalDaveyM6915-Sep-12 7:44 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff15-Sep-12 8:58
MemberJumpin' Jeff15-Sep-12 8:58 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6918-Sep-12 10:31
professionalDaveyM6918-Sep-12 10:31 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff19-Sep-12 5:57
MemberJumpin' Jeff19-Sep-12 5:57 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff28-Sep-12 9:19
MemberJumpin' Jeff28-Sep-12 9:19 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6929-Sep-12 3:12
professionalDaveyM6929-Sep-12 3:12 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff29-Sep-12 9:42
MemberJumpin' Jeff29-Sep-12 9:42 
AnswerRe: C# MIDI controller interface. Pin
DaveyM6930-Sep-12 3:53
professionalDaveyM6930-Sep-12 3:53 
The code has been updated, just use the link from before Smile | :)

There are still numerous XML comments missing (a minor but time consuming thing to do) and as I mentionsed, the Stream API (which at the moment you don't require), but otherwise it's fairly complete and much 'tighter' than before.

As you will see, I've changed the way some things work quite drastically:

  • There is one common event for receiving both short and long messages, check out the Console Test app to see examples.
  • Short and long messages are both sent via the same method (as an IMidiMessage).
  • Combined messages such as 14bit controllers, RPNs etc implement IEnumerable<IMidiMessage>, and can sent by simply calling the Send method overload.
  • The raw bytes received are available in e.MidiMessage.ToByteArray() as requested.
  • Program changes, controllers etc have the standard names defined in enums - or you can use a numeric value if needed.
  • Many classes have static readonly instances of commonly required things or static methods that with the required parameters will create commonly required instances.

There are many other things too, but as you can see, this is now nearing a complet project! Thumbs Up | :thumbsup:

If you have any issues, let me know and I'll happily look into them.
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
DaveyM697-Oct-12 2:42
professionalDaveyM697-Oct-12 2:42 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff8-Oct-12 1:21
MemberJumpin' Jeff8-Oct-12 1:21 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff10-Oct-12 3:46
MemberJumpin' Jeff10-Oct-12 3:46 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6910-Oct-12 14:13
professionalDaveyM6910-Oct-12 14:13 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 1:49
MemberJumpin' Jeff11-Oct-12 1:49 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 2:13
MemberJumpin' Jeff11-Oct-12 2:13 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 7:18
professionalDaveyM6911-Oct-12 7:18 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 8:21
MemberJumpin' Jeff11-Oct-12 8:21 
GeneralRe: C# MIDI controller interface. Pin
DaveyM6911-Oct-12 10:40
professionalDaveyM6911-Oct-12 10:40 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff12-Oct-12 1:42
MemberJumpin' Jeff12-Oct-12 1:42 
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
MemberJumpin' Jeff11-Oct-12 14:34 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff11-Oct-12 10:20
MemberJumpin' 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
MemberJumpin' Jeff2-Nov-12 12:23 
GeneralRe: C# MIDI controller interface. Pin
Jumpin' Jeff16-Nov-12 5:36
MemberJumpin' Jeff16-Nov-12 5:36 

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.