Граф коммитов

390 Коммитов

Автор SHA1 Сообщение Дата
icodetm e4a5af28d8
Allow creating PhraseListGrammar from ConversationTranscriber (#584)
* Allow creating a PhraseListGrammar from the ConversationTranscriber
Co-authored-by: Thomas Mathew <thomat@microsoft.com>
2022-10-24 10:14:57 -07:00
Glenn Harper b3a5375697
don't check punctuation in service return (#582) 2022-10-04 18:18:24 -07:00
Glenn Harper ca52f33888
Use GUID instead of string for cts gating (#581) 2022-10-03 13:05:14 -07:00
Glenn Harper 5e31cb06ca
use base64 encoded data URL for worker load (#577)
* use base64 encoded data URL for worker load

* use legible js script, convert it to base 64 on load()

* disable linter for script literal
2022-10-03 13:04:55 -07:00
William Wong d201c5833e
Create audio worklet blob on-demand (#574) 2022-09-30 07:19:36 -07:00
Glenn Harper 36f4e2121e
Glharper/cts gating (#573)
* initial gating change

* Throw single channel audio error for CTS, add test

* Update error message
2022-09-29 15:50:31 -04:00
Glenn Harper c8b83859e9
fix recognized callback when LUIS response connectionMessage is empty (#568)
* allow recognized callback to be called when LUIS response connectionMessage is empty

* fix response msg handler to account for bad intents

* Add test for bug
2022-09-28 14:06:46 -07:00
Glenn Harper 2f3e0cff9a
Glharper/got lib in tests no request (#567)
* replace request usage in ocsp tests

* added speech tests

* got lib addition complete

* package update

* synced package-lock

* update package.json and lock

* fix synth test
2022-09-14 11:47:26 -04:00
Glenn Harper 23f1e104b4
initial fix for setting segmentation timeout correctly (#566)
* initial fix for setting segmentation timeout correctly

* Add test for bad segmentation silence timeout value
2022-09-08 11:41:36 -07:00
Yulin Li 6df4b6d968
Fix #551 support token auto in get voices api (#561) 2022-08-26 19:51:08 +08:00
dependabot[bot] 425fa24f3e
Bump terser from 4.8.0 to 4.8.1 in /tests/packaging (#553)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 18:57:01 +08:00
Yulin Li 5c8c1f4395
ignore undefinded token (#556) 2022-08-24 10:23:44 +08:00
Ryan Hurey fa4c748ad6
Test stability improvements (#558)
* Test stability fixes

* disable audio duration check due to service issus

* Increase translation timeout, format & add try / catch to synthesis test

* Change to a new version of Jest that supports retries. Modify tests to work with new version. Allow 3 retries.

* package-lock update

* Re-install with the same npm version as the ADO agents are using.

* Remove gulp-parent from forced resolution list

* npm audit auto fixes

* Increase error timeouts

* Increase timeouts

* Didn't copy the env change from the package.json to the jest config

* Add logging and increase token timeout.

Co-authored-by: Yulin Li <liyulin@pku.edu.cn>
2022-07-28 15:37:58 -07:00
Ryan Hurey 21c4546092
JavaScript.slice is not inclusive of end (#557)
* Fix off by one error in pull stream tests, improve logging available for debugging audio transmission

* Clean up formatting
2022-07-23 01:21:22 -07:00
Darren 98bf457d9b
Update README.md to remove broken link to non-existing JS Browser quickstart (#545)
Also break apart to two sections, one with documentation links and the other with samples links.

Fixes issue #544. Thank you fungiboletus for reporting this!
2022-06-30 12:21:00 -07:00
Glenn Harper 2f8ca44bea
add setTranslatedLanguagesAsync API (#542) 2022-06-28 15:38:50 -07:00
Glenn Harper d55615a8e0
Update package.json (#540)
use specific versions when forcing resolutions - fix #535
2022-06-06 13:06:59 -07:00
Glenn Harper b096e51075
fix deprecation warnings on build (#536)
* eslint compatibility with node 18

* Update package.json

* reduce deprecation warnings
2022-06-02 13:09:42 -07:00
microsoft-github-policy-service[bot] 013090c69c
Microsoft mandatory file (#538)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-06-01 14:49:26 -07:00
Glenn Harper ade7814fb7
ConversationTranscriber should not connect to Conversation (REST) bac… (#537)
* ConversationTranscriber should not connect to Conversation (REST) backend

* readd isConnected getter
2022-06-01 13:32:47 -07:00
Yulin Li c8025b92e0
Support 22050Hz and 44100Hz pcm output formats for speech synthesis (#522) 2022-05-13 11:59:02 +08:00
Glenn Harper e89f0deb93
return activity as any for dialog service event, fix test overrun. (#532)
* return activity as any for dialog service event, fix test overrun.

* don't export IActivity interface
2022-05-11 13:42:19 -07:00
Glenn Harper 403f64d50e
Add way to get connection for ConversationTranscriber (#529)
* Add way to get connection for ConversationTranscriber

* add format=detailed query to endpoint url when requestWordLevelTimestamps has been called

* skip test

* Fix DetailedSpeechPhrase to account for DisplayText field in NBest
2022-05-10 10:00:46 -07:00
Glenn Harper 9f557a9cac
fix #525 - don't use bent.* type in public method signature (#527)
* fix #525 - don't use bent.* type in public method signature

* disable ocsp tests
2022-04-27 13:10:35 -07:00
Glenn Harper da95559ddc
Update README.md (#520) 2022-04-07 12:55:35 -07:00
Travis Wilson 0a84eba166
Add SegmentationSilenceTimeoutMs property (#509)
* Add SegmentationSilenceTimeoutMs property

* Update for PR merge

* revert unintended package-lock.json commit
2022-04-01 10:45:50 -07:00
Glenn Harper 08cf665c2a
Glharper/wav file size (#516)
* Initial implementation using logLevel alias for cleaner common imports

* Use LogLevel in tests

* lint bits

* Correct write file logic

* Add tests for Diagnostics

* Correct test name

* revert OCSP test changes

* add file size write to header

* review feedback
2022-04-01 09:04:23 -07:00
Glenn Harper ba8be3e882
Add diagnostics API for logging and console output (#506)
* Initial implementation using logLevel alias for cleaner common imports

* Use LogLevel in tests

* lint bits

* Correct write file logic

* Add tests for Diagnostics

* Correct test name

* revert OCSP test changes
2022-03-31 09:42:42 -07:00
Glenn Harper 187711a363
use updated wav for phrase list tests (#515) 2022-03-30 13:25:14 -07:00
Glenn Harper 4b00954e08
update minimist to secure version (#514) 2022-03-30 09:17:31 -07:00
Gerardo Lecaros 0390cae7ea
Adding support to service postprocessing. (#510) 2022-03-25 10:37:31 -07:00
Yulin Li 3f65e69d74
Add audio duration in synthesis result, update word boundary (#494) 2022-03-25 13:24:56 +08:00
dependabot[bot] 77b7a90d1e
Bump minimist from 1.2.5 to 1.2.6 in /tests/packaging (#508)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 09:48:36 -07:00
Glenn Harper d7b38d0f8f
fix issue where translation recognition connection fails if speech.co… (#507)
* fix issue where translation recognition connection fails if speech.config and speech.context have different request ids

* allow build

* try build again
2022-03-24 06:50:37 -07:00
Glenn Harper 6c070c429f
Convert to using ESLint for static code analysis (#498)
* Initial cleanup, 1884 errors remaining

* use async cancelSpeech synchronously in callback

* fix synthvoiceresult constructor

* fix IInternalParticipant to add members forgotten in original implementation, more lint fixes

* turn off member ordering, more fixes for linter

* down to 1301 problems (but inferred types ain't one).

* 1254 errors

* more lints

* lint progress checkin

* 989 problems

* 899 errors

* milestone checkin

* add IActivity interface

* milestone checkin

* milestone checkin

* 425 errors

* milestone checkin < 400 errors

* milestone checkin

* 224 errors

* 194 errors

* 94 issues

* CertChecks passes lint without breaking tests

* all src files pass eslint

* fix build issues, allow eslint to fail build

* package changes for build

* og package lock

* retry build

* different import order for certchecks

* revert cert_checks

* see if this builds

* testing url-parse removal

* Use more complete WordResult interface

* More correct IActivity interface

* add hostname to options in CertChecks
2022-03-15 13:46:57 -07:00
BrianMouncer fa96b1a603
change JavaSctip SDK over to compliant build agent pool (#500) 2022-03-14 13:43:36 -07:00
Glenn Harper 190dcd1065
Update ConversationTranscriberTests.ts (#502) 2022-03-14 10:19:34 -07:00
Glenn Harper d60f0ad283
Glharper/continuous lid (#496)
* update url-parse in package-lock

* at-start LID for SR - add custom models to speech.context, add property for endpoint versioning

* continuous LID - initial implementation (no tests)

* Add continuousLID test, use universal endpoint

* review feedback

* Add mode/priority setter to AutoDetectSourceLanguageConfig, review feedback

* review feedback
2022-03-07 19:44:10 -08:00
Glenn Harper 7ae6e89935
Glharper/lid custom models (#493)
* update url-parse in package-lock

* at-start LID for SR - add custom models to speech.context, add property for endpoint versioning
2022-03-01 17:33:45 -08:00
Glenn Harper 447962b53a
check for privAudio for SAD mute/volume API (#486)
* check for privAudio for SAD mute/volume API

* update url-parse, fix syntax issues from community PR
2022-02-24 11:09:34 -08:00
dependabot[bot] 2e4639e5bc
Bump url-parse from 1.5.3 to 1.5.6 (#481)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.6.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.6)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-24 09:32:18 -08:00
dependabot[bot] 1f5f8a5706
Bump copy-props from 2.0.4 to 2.0.5 in /tests/packaging (#485)
Bumps [copy-props](https://github.com/gulpjs/copy-props) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gulpjs/copy-props/releases)
- [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/copy-props/compare/2.0.4...2.0.5)

---
updated-dependencies:
- dependency-name: copy-props
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-24 08:45:27 -08:00
Sam 08e3037dce
Check if 'detailed' property is missing (#487)
Encountering an error, that 'detailed' is undefined, while developing with the speech-sdk. It's possible for the phraseOutput to be defined while its 'detailed' property is not, leading to errors.
2022-02-24 08:07:03 -08:00
Yulin Li b4b6c929db
Add default voices for new-released locales (#478)
Co-authored-by: Yulin Li <yulili@microsoft.com>
2022-02-24 07:52:45 +08:00
Glenn Harper 3b735de02f
fix build and insecure package version (#484) 2022-02-23 12:11:24 -08:00
Darren b7703c63a2
Update readme.md (#479)
And add some comments on what test settings apply to a few test files. This makes it easy to populate settings in order to only run a single test file as part of development.
2022-02-09 11:18:53 -08:00
Glenn Harper 5d101e1b37
check for window var before checking window property (#472)
* check for window var before checking window property

* test

* readd change

* formatting clause

* disable speaker if no window var

* try again

* better ordering
2022-01-24 11:31:19 -08:00
Yulin Li bab74ae636
add opus output format for TTS (#449) 2022-01-17 19:52:08 +08:00
Ryan Hurey b169089a79
Add protocol to agent as workaround (#468)
* Add protocol to agent as workaround

* Swap wss: to https: to avoid error from tls connect
2022-01-13 13:19:51 -08:00
Glenn Harper 2391a05d29
use first found words object on NBest to set firstWordOffset (#467) 2022-01-13 09:04:45 -08:00