Skip to content

Virtual MIDI ports supported on iOS? #353

Open
@antiero

Description

@antiero

Originally raised this Issue as part of this Keijiro's jp.keijiro.rtmidi Project.
Also noticed a related comment here: #176 (comment)

I'm trying to create a Virtual MIDI output port.
This works great in the Unity Editor, (macOS), but when building for iOS, I see an error in Xcode:

MidiOutCore::initialize: error creating OS-X virtual MIDI source.

The C# code in Unity I use to call into rtmidi is:

    // Defining RtMidi fields for Virtual Output:
    [Header("RtMidi (Virtual MIDI Out)")]
    private const string virtualMidiOutName = "MyVirtualPort";
    private static MidiOut virtualRtMidiOut;

    private void InitializeMIDI()
    {
        // Creating the Virtual RtMidi Output port...
        virtualRtMidiOut = MidiOut.Create();
        virtualRtMidiOut.OpenVirtualPort(virtualMidiOutName);
    }

Is there a workaround for this? 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions