Convert text to OGG file

This commit is contained in:
Hongbo Wu
2022-08-12 11:49:11 +08:00
parent 0419472c2e
commit 4b42d013ca
2 changed files with 6 additions and 6 deletions

View File

@ -11,9 +11,9 @@ describe('textToSpeech', () => {
it('should create an audio file with speech marks', async () => {
const input: TextToSpeechInput = {
id: generateFakeUuid(),
title: 'Hello World',
text: 'Hello World',
text: '<speak><mark name="readability-page-1"/>The rumor mill suggests that Google may be looking to kill off its game streaming platform, Stadia, for good before the end of the year.</speak>',
engine: 'standard',
textType: 'ssml',
}
const output = await createAudioWithSpeechMarks(input)
expect(output.audioUrl).to.be.a('string')