---
title: hasMIDI
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwarebox/hasmidi
---

# hasMIDI

A Bool where a value of true indicates that the box supports MIDI.

## Declaration

```swift
var hasMIDI: Bool { get throws }
```
