This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
NanoBob's profile picture

Peripherals++ speaker issue

Started by NanoBob, 25 November 2015 - 02:19 PM
NanoBob #1
Posted 25 November 2015 - 03:19 PM
Hey lads,

I'm using the peripherals++ speaker block but when running my code nobody hears anything. Here's the code I'm running:

p=peripheral.wrap("right")
p.speak("hey",5,"en",true)
Bomb Bloke #2
Posted 26 November 2015 - 12:04 AM
From the Peripherals++ thread;

Warning: Google has disabled the use of its TTS api, forcing me to change how the speak() method works, it will be redone in the future, please use the synthesize() method and consider speak() deprecated.
Edited on 25 November 2015 - 11:05 PM
NanoBob #3
Posted 26 November 2015 - 09:05 AM
Ahh I see, tried to use the synthesize method earlier tho but got an "attempt to call nil" so probably running an outdated version then, bummer. Thanks for the heads up tho!