Skip to content

DLSpeech: Fix various issues#2671

Merged
corinagum merged 14 commits intomicrosoft:masterfrom
compulim:fix-dlspeech
Dec 6, 2019
Merged

DLSpeech: Fix various issues#2671
corinagum merged 14 commits intomicrosoft:masterfrom
compulim:fix-dlspeech

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Dec 5, 2019

Fixes #2662. Fixes #2666.

Changelog Entry

  • Fixes #2658. Fix rendering of markdown images in IE11, by @corinagum in PR #2659
    • Added triple-buffering to reduce pops/cracks.
    • Enable Safari by upsampling to 48000 Hz.
    • Support detailed output format on Web Chat side.

Description

  • Pops and cracks are heard because AudioBuffer are expensive to create.
  • Safari was not working because it requires audio with sample rate >= 22050 Hz.
  • Detailed output format is now supported.

Specific Changes

  • Updated initialization code for Speech SDK to support detailed output format on Web Chat side
  • Upsampling audio data to 48000 Hz
  • Added a new triple-buffering player

  • Testing Added

@compulim compulim marked this pull request as ready for review December 5, 2019 12:53
Comment thread packages/directlinespeech/src/createAdapters.js Outdated
Comment thread packages/directlinespeech/src/createAdapters.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createAdapters.js
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/createAdapters.js Outdated
Comment thread packages/directlinespeech/src/createAdapters.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/createMultiBufferingPlayer.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Comment thread packages/directlinespeech/src/playCognitiveServicesStream.js Outdated
Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend doing a read through of the comments to make sure I kept the correct meaning while improving the phrasing. :)

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 61.198% when pulling 216087e on compulim:fix-dlspeech into 1f100e7 on microsoft:master.

Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@corinagum corinagum merged commit cb7657e into microsoft:master Dec 6, 2019
@compulim compulim mentioned this pull request Dec 10, 2019
73 tasks
@corinagum corinagum mentioned this pull request Dec 13, 2019
73 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DLSpeech: Not synthesizing on Safari (Mac and iOS) DLSpeech: User ID cannot be specified IE11 does not respect max-width of markdown images

3 participants