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

325 Коммитов

Автор SHA1 Сообщение Дата
BrianMouncer 405354847d update version to final 1.22.0 version 2022-06-01 23:57:15 -07:00
BrianMouncer 5a0549c5c1 npm audit fix again 2022-05-20 13:59:50 -07:00
BrianMouncer 8196e57168 update version to rc.2 2022-05-20 13:58:07 -07:00
BrianMouncer 277295ad0c npm audit fix changes. 2022-05-20 13:54:53 -07:00
BrianMouncer b5ed0abb23 update version to 1.22 rc1 2022-05-20 09:20:11 -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
Glenn Harper 8bc8536c68
Add GetVoicesAsync API, with tests (#466)
* Add GetVoicesAsync API, with tests

* More descriptive test name
2022-01-12 19:30:10 -08:00
Glenn Harper ada89c1b82
Glharper/volume api speaker audio (#464)
* expose volume and mute/unmute api for speakerAudioDestination

* fix syntax
2022-01-06 14:54:15 -08:00
Glenn Harper d065af01ec
update jest-junit, ws, minimist to latest (#461)
* update jest-junit, ws, minimist to latest

* ws 7.5.6

* update jest

* pull up on jest update
2021-12-10 09:59:15 -08:00
Yulin Li ddcdb90ef1
pronunciation assessment: support phoneme alphabet and nbest phoneme count setting (#454) 2021-12-07 14:05:41 +08:00
Glenn Harper a552ae3427
add getWaveFormat API to AudioStreamFormat to support non-PCM wav for… (#460)
* add getWaveFormat API to AudioStreamFormat to support non-PCM wav formats, include test and test files

* extend gitattributes for mulaw, alaw

* Use CTS specific key for CTS tests

* use different CTS key

* key change again
2021-12-03 11:36:12 -08:00
Glenn Harper 0757c64c89
Fix #455 - Use script processor fallback if no audio worklet found (#456)
* Fix #455 - Use script processor fallback if no audio worklet found

* Fix typo
2021-11-23 09:28:02 -08:00
Glenn Harper bdd880f16b
fix phrase list test failures (#457)
* fix phrase list test failures

* Disable failing OCSP test
2021-11-22 15:52:51 -08:00
Glenn Harper 0b4fab0944
Glharper/sid ga (#446)
* changes for GA of speaker identification

* fix build

* update test

* json fixes

* more json fixes

* Fix build break, use "api-version" as query param

* change path from speaker to speaker-recognition

* changes from integration testing

* reflect changes in JSON schema for SID operations

* initial test changes

* correct speakerID endpoint logic

* Add ind. verification test with enrollment
2021-10-22 13:28:05 -07:00
Yulin Li 1b46f07715
default voices for new-added speech synthesis locales (#447) 2021-10-21 10:56:25 +08:00
Ryan Hurey 94d0493c59
Update dependencies. (#445)
Some dependencies require a forced version update, others were automatic.

Also, change negative translation case to use an invalid language code, as the random one chosen before now works.
Disable one OCSP test as the test cert is expired and the site publisher is waiting on CA renewal.
2021-10-13 11:23:03 -07:00
Glenn Harper ed7c59940b
Glharper/detailed speech fix442 (#443)
* Fix long running timeout issue with endpoints

* add long running test

* Correct test for less than five minutes

* remove giant wav file

* Fix #442 getJsonWithCorrectedOffset exception
2021-09-30 13:15:34 -07:00
Glenn Harper 5e5420cb71
Fix long running timeout issue with endpoints (#441)
* Fix long running timeout issue with endpoints

* add long running test

* Correct test for less than five minutes

* remove giant wav file
2021-09-24 13:00:57 -07:00
dependabot[bot] b11b069c19
Bump tmpl from 1.0.4 to 1.0.5 (#440)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 09:24:52 -07:00
Glenn Harper 2661c670a2
Glharper/translation disconnect icm (#439)
* test to produce disconnect

* add better error details for Forbidden and BadRequest results
2021-09-17 12:06:06 -07:00
Glenn Harper faeeb30896
add support for usgov WS endpoints (#438) 2021-09-13 13:55:27 -07:00