@DDS We have forwarded to the product team for getting the samples for this. Currently Long Audio TTS API is in preview and this is not supported in the SDK. Long audio REST API interface should be fairly easy to use. The swagger is a good start, you could start by generating a client from there. Or start from the samples and port to those two languages.
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/long-audio-api