Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Problems with text to speech

$
0
0

Hi @soupman99,

I'm trying to do the same in my sample app, Following are the things I have done

1 - install cordova plugin add cordova-plugin-tts

2)

   .controller('DashCtrl', function($scope) {
    
      window.TTS.speak('blah blah blah', function(){
      }, function(){
      })
    })

and I'm getting Cannot read property 'speak' error. I'm missing the module name after $scope in controller, but I'm not sure what to put there (I tried tts and didnt work)

appreciate if you could point me to right direction, thanks a lot


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>