hammerspoon2-docs
    Preparing search index...

    Function virtualSourceNamed

    • Creates an hs.midi object for an existing virtual source (receive-only — a "source" endpoint can only be read from). the same ARC-related reason as deviceNamed().

      Parameters

      • virtualSourceName: string

        The name of the virtual source, as returned by virtualSources()

      Returns HSMIDIDevice | null

      An HSMIDIDevice object, or nil if no virtual source has that name