[Stk] RTMidi on IOS

Ariel Elkin arielelkin at gmail.com
Sun Dec 13 08:37:42 PST 2015


Sadly, I have limited knowledge of MIDI APIs on OS X and iOS, and no MIDI hardware, so I can’t investigate in much detail. 

Note that RtMidi.h and RtMidi.cpp will build fine on an iOS Xcode project, but when you run them I get this error message:

MidiInDummy: This class provides no functionality.

What does this MidiInDummy do? Does it mock MIDI ports? 

Stephane, you can take this for a spin, I’ve pushed this experiment here: 
https://github.com/arielelkin/stk/tree/miditests <https://github.com/arielelkin/stk/tree/miditests>

see lines 29-43 of ViewController.mm

Ariel

> On 13 Dec 2015, at 3:48 p.m., Gary Scavone <gary at ccrma.Stanford.EDU> wrote:
> 
> Hi Stéphane,
> 
> Ariel Elkin is the person that has contributed the most iOS related stuff to Stk lately.  Ariel, do you know how well RtMidi might port to iOS?
> 
> Regards,
> 
> —gary
> 
>> On Dec 7, 2015, at 9:37 AM, Stéphane Letz <letz at grame.fr> wrote:
>> 
>> Hi all,
>> 
>> RTMidi code use some OSX specific API (like AudioConvertHostTimeToNanos or AudioGetCurrentHostTime…), not directly available on iOS.
>> 
>> Has someone ported the RTMidi code on iOS ?
>> 
>> Thanks.
>> 
>> Stéphane Letz 
>> _______________________________________________
>> Stk mailing list
>> Stk at ccrma.stanford.edu
>> https://cm-mail.stanford.edu/mailman/listinfo/stk
> 
> 
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/stk
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/stk/attachments/20151213/4d60fd33/attachment.html>


More information about the Stk mailing list