Skip to content

A small, open-source Mac dictation app that uses your ChatGPT sign-in. Speak into T3 Code, your editor, or any text field.

318 B
Raw Blame
import AppKit

enum SoundCue {
    case start
    case stop
    case failure

    func play() {
        let name: String
        switch self {
        case .start: name = "Tink"
        case .stop: name = "Pop"
        case .failure: name = "Basso"
        }
        NSSound(named: NSSound.Name(name))?.play()
    }
}