Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Chatter is the chatbox peripheral
- chatter = peripheral.wrap("left")
- -- Speech is the speechbox peripheral
- speech = peripheral.wrap("right")
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.green)
- print("Text to Speech Transcriber V1")
- while true do
- chat = { os.pullEvent("chat_message") }
- chatter.say("Processing")
- speech.say(chat[4])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement