Skip to content

Convert Polly file to OGG Opus #1

@marcusmolchany

Description

@marcusmolchany

Currently the call to aws polly returns an mp3 and is sent to telegram as an audio file sendAudio. Ideally we would use the sendVoice command so that the audio file would appear as a voice message. Polly can only return mp3, ogg vorbis or raw pcm audio files. Telegram can only send ogg opus files as voice messages.

We need a way to convert the polly synthesized file into an ogg opus file.

https://core.telegram.org/bots/api/#sendvoice
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Polly.html#synthesizeSpeech-property

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions