I am trying to create a app which supports both speech to text and text to speech.. I have used Speech framework for speech to text conversion and AV foundation & media player framework for Text to speech
How it should work ?
If i say “Hello”, my app should recognise my voice and should convert it into text ( should type on the screen ). It should play whatever, there in the screen if I press play button. i.e, Now it should say "hello" if I press play button. On Second time if I say "Good Morining". "Good Morining" should type on the screen, if I press play button then my app should play a voice like "hello good morining".
How it is working now ?
i) If I say “Good Morning”, It is printing “Good morning“ this is correct
ii) If I press play button my app is voicing “Good morning” this is correct. But here is the problem, my app doing is recognising its own voice and it is typing good morning once agin.
What is the problem ?
My app is doing self recognization.
What i need ?
I need my app should not do self Recognization.