---
title: "Discussion on \"[Code Snippets #2] iOS Speech Recognition\" | Hashnode"
description: "Discussion on \"[Code Snippets #2] iOS Speech Recognition\". Import the import Speech framework on the top of your class:\n\nimport Speech\n\nDeclare variables:\n\nlet audioEngine = AVAudioEngine()\nvar speechRecognizer = SFSpeechRecognizer()\nlet recognitionRequest = SFSpeechAudioBufferRecognitionRequest()\nvar recogn..."
url: "https://hashnode.com/posts/code-snippets-2-ios-speech-recognition/6009295f394f022604c11a10"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Code Snippets #2\] iOS Speech Recognition](https://blog.xserver.app/code-snippets-2-ios-speech-recognition?utm_source=hashnode&utm_medium=feed)

Import the import Speech framework on the top of your class: import Speech Declare variables: let audioEngine = AVAudioEngine() var speechRecognizer = SFSpeechRecognizer() let recognitionRequest = SFSpeechAudioBufferRecognitionRequest() var recogn...

Jan 21, 2021 · 4 min read · blog.xserver.app  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#ios-app-development](https://hashnode.com/tag/ios-app-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[XServer](https://hashnode.com/@xserverapp)

@xserverapp · TechLand

  
[View profile](https://hashnode.com/@xserverapp)

Backend for mobile, unity and web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
