CoreMIDI (OS X + Swift)


(Jakob Stendahl) #1

Hi, i just can´t figure out how to structure a MIDI receiver. I want to receive MIDI signals from a keyboard or piano. Add/Remove them from arrays real time (Note + Velocity). But i just can´t figure out how it is supposed to be coded, or how the framework in general work. So, can any of you help me, and give me a starting point of how to receive the values, and select devices etc…

Thanks in advance!
Jakob S.


(Jakob Stendahl) #2

Hi, i just can´t figure out how to structure a MIDI receiver. I want to receive MIDI signals from a keyboard or piano. Add/Remove them from arrays real time (Note + Velocity). But i just can´t figure out how it is supposed to be coded, or how the framework in general work. So, can any of you help me, and give me a starting point of how to receive the values, and select devices etc…

Thanks in advance!
Jakob S.


(David Turnbull) #3

Here's a starting point: https://github.com/mixedinkey-opensource/MIKMIDI

It seems to do everything you described. So you can either use it as-is or
pick it apart to figure out what you don't know.

-david

···

On Mon, Jan 25, 2016 at 10:02 AM, Jakob Stendahl via swift-users < swift-users@swift.org> wrote:

Hi, i just can´t figure out how to structure a MIDI receiver. I want to
receive MIDI signals from a keyboard or piano. Add/Remove them from arrays
real time (Note + Velocity). But i just can´t figure out how it is supposed
to be coded, or how the framework in general work. So, can any of you help
me, and give me a starting point of how to receive the values, and select
devices etc…

Thanks in advance!
Jakob S.

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users