Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ implementation examples

  • Loading branch information...
commit 1d66a5480b139fe625cbf346a54581b56b1004a8 1 parent b2d75ca
@floere authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  implementation/input.rb
  2. +2 −0  implementation/output.rb
View
2  implementation/input.rb
@@ -1,3 +1,5 @@
+framework 'AppKit'
+
recognizer = NSSpeechRecognizer.alloc.init
recognizer.setDelegate self
def speechRecognizer sender, didRecognizeCommand: command
View
2  implementation/output.rb
@@ -1,2 +1,4 @@
+framework 'AppKit'
+
output = NSSpeechSynthesizer.alloc.initWithVoice 'com.apple.speech.synthesis.voice.Alex'
output.startSpeakingString 'Hello'
Please sign in to comment.
Something went wrong with that request. Please try again.