hammerspoon2-docs
    Preparing search index...

    Function virtualSources

    • Returns the names of all available MIDI sources. This includes endpoints published by other apps (e.g. virtual instruments) as well as each individual port of a device (e.g. each IAC Driver bus, or each port of a multi-port MIDI interface), so a single port can be opened with virtualSourceNamed().

      Returns string[]

      An array of source name strings