You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a test in place testing just that and it passes. It throws an error "The word provided to Speech#prosody(..) was empty". The same happens if you try to add empty word in the loop.
Thanks for great tool. I found that ssml-builder return null when no text such as '' provided for prosody.
This returns ssml properly:
speech.prosody({rate: "110%"},"abc")
This returns null:
speech.prosody({rate: "110%"},"")
Because I use ssml-builder inside for-loop, above situation happened. I solved my problem to check value existence before fire ssml-builder.
I think it is better if there is some error message in such case.
The text was updated successfully, but these errors were encountered: