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.
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.