[Stk] RTMidi on IOS

Gary Scavone gary at ccrma.Stanford.EDU
Sun Dec 13 09:12:05 PST 2015


MidiInDummy is a non-functional implementation that was compiled because no particular API was specified via preprocessor definition during compilation. I guess the first thing to do would be to define __MACOSX_CORE__ and see what happens.

—gary

> On Dec 13, 2015, at 11:37 AM, Ariel Elkin <arielelkin at gmail.com> wrote:
> 
> 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
> 
> 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
>> 
> 




More information about the Stk mailing list