---
title: kSpeechOutputToFileURLProperty
framework: applicationservices
role: symbol
role_heading: Global Variable
path: applicationservices/kspeechoutputtofileurlproperty
---

# kSpeechOutputToFileURLProperty

Set the speech output destination to a file or to the computer’s speakers.

## Declaration

```swift
let kSpeechOutputToFileURLProperty: CFString
```

## Discussion

Discussion The value associated with this property is a CFURL object. To write the speech output to a file, use the file’s CFURLRef; to generate the sound through the computer’s speakers, use NULL. This property works with the SetSpeechProperty(_:_:_:) function.
