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

390 Коммитов

Автор SHA1 Сообщение Дата
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
Yulin Li 2d650b95a8
add low bitrate opus audio output format (#430) 2021-09-09 15:00:51 +08:00
Glenn Harper 4136335863
Fix typo in event key (#434) 2021-09-08 11:50:22 -07:00
Scott Beddall e212b0ee64
mirroring typo fix from MicrosoftDocs/azure-docs-sdk-node#1279 (#432) 2021-09-02 16:22:57 -07:00
Glenn Harper 1e6aaf9a05
upgrade uuid to 8.3.x, fix #424 (#428) 2021-08-26 13:02:24 -07:00
Glenn Harper cd255575ee
initial fix for #425, test updated (#429) 2021-08-26 13:02:04 -07:00
Glenn Harper 5f520b3005
Glharper/voice profile async await (#422)
* createProfileAsync made async/awaitable

* change deleteProfileAsync to async/awaitable

* make retrieveEnrollmentResultAsync async/awaitable

* make getAllProfilesAsync async/awaitable

* make resetProfileAsync async/awaitable

* make getActivationPhrasesAsync async/awaitable

* make recognizeOnceAsync async/awaitable, update test

* clearer token code

* review feedback
2021-08-24 15:41:13 -07:00
Glenn Harper cd0eca2ede
add "bearer " to front of token (#423)
* add "bearer " to front of token

* Add test for bearer string
2021-08-24 11:56:22 -07:00
Glenn Harper 66036154ad
Glharper/add v2 translation handling (#421)
* Initial attempt, some kinks in tests to be ironed out

* Cleaner code, fails v2 test

* passes all tests, implements translation.response for phrases
2021-08-20 12:29:15 -07:00
Glenn Harper 1e41a750cf
add token refresh test for translation recognizer (#420) 2021-08-18 11:40:04 -07:00
ej-msl cce322621a
Translation: Authentication refresh token not updating (#419)
Websocket headers using original token as when config was initialized.
2021-08-16 15:52:32 -07:00
dependabot[bot] 94e176b637
Bump url-parse from 1.5.0 to 1.5.2 (#418)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.0...1.5.2)

---
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>
2021-08-11 16:54:56 -07:00
dependabot[bot] 78cc2dbc64
Bump path-parse from 1.0.6 to 1.0.7 in /tests/packaging (#417)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 14:09:49 -07:00
dependabot[bot] 0704407a1a
Bump path-parse from 1.0.6 to 1.0.7 (#416)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 13:24:09 -07:00
Glenn Harper 8a91ff48fb
Glharper/cts fixes (#414)
* Unify createConversationAsync codepaths, set default nickname for room

* gracefully ignore multiple close requests

* add isConnected, callbacks, remove improper dispose calls from Conversation

* add conversationCanceled and stop/start callbacks to ConversationTranscriber

* Enable all CTS tests

* fix for keepAlive with CTS

* use west central us for speech tests

* use 12s timeout for autosourcelang tests
2021-08-10 08:36:36 -07:00
dev-loic f477ef3bff
(clean)[AudioConfig]:remove debug console error (#413)
Link with commit 714c6de7c9
2021-08-05 07:49:06 -07:00
Glenn Harper 567c72e76f
Fix issue where audio context is closed twice on FF (#412) 2021-08-04 13:15:27 -07:00
Glenn Harper 25cb37adff
Fix for regression, and test (#410)
* Fix for regression, and test

* use 1.0.3 of username-sync, fix for #405
2021-08-03 13:35:13 -07:00
Glenn Harper 2612691b90
Replace xmlhttprequest-ts dependency with bent, unify REST calls. fixes #403 (#408)
* Replace xmlhttprequest-ts dependency with bent, clean up code

* code cleanup
2021-07-27 12:41:01 -07:00
Glenn Harper 97d8d14264
Glharper/translation update target languages (#404)
* initial (untested) implementation of new APIs

* Add test coverage for languages getter

* Add test for new APIs, use correct language codes

* set speech.context events

* make tslint happy

* more tslint

* use full language code that user provides
2021-07-15 16:49:29 -07:00
Glenn Harper 7b5e5ca1f4
Glharper/audio input reattach fix (#402)
* Fix push stream not being reconnected to with start-stop-start continuous recognition, add test

* change timeout for added test

* Fix error when down sampling with audioWorkletNode
2021-07-13 15:14:40 -07:00
Glenn Harper 119d522bf7
Glharper/audio input reattach fix (#401)
* Fix push stream not being reconnected to with start-stop-start continuous recognition, add test

* change timeout for added test
2021-07-12 13:11:11 -07:00
Glenn Harper 046809ac8d
Fix push stream not being reconnected to with start-stop-start continuous recognition, add test (#399) 2021-07-09 11:52:01 -07:00
Glenn Harper c972209d75
Throw error when voice profile not created as expected, add test (#398)
* Throw error when voice profile not created as expected, add test

* remove unnecessary import from test
2021-07-08 12:59:12 -07:00
Glenn Harper 24d787db5b
Use AudioWorkletNode by default for mic input (#397) 2021-07-08 11:29:36 -07:00
Glenn Harper c84e8351a7
Set default SPID API version to 2.0 (#395) 2021-07-07 08:01:07 -07:00
Glenn Harper a8ea5ed36d
Glharper/word level json offsets 394 (#396)
* Don't stop tracks on input stream, just disconnect nodes. Fix #385 and #1120

* typo fix

* add member to PCMRecorder to decide whether to stop input stream

* Update json word offsets for detailed results to be from audio stream start

* Check for Words array before using.
2021-07-07 08:00:09 -07:00
Glenn Harper 49c844bc52
Glharper/conversation translation fixes 389 (#392)
* handle auth token change correctly

* add keep alive to keep connection to conversation from timing out

* use correct clear timeout

* fix tests with proper undefined check

* add conversation info to keepAlive

* move callback connection back to conversationImpl
2021-07-02 08:55:40 -07:00
Yulin Li ba197e98c9
fix viseme and bookmark tests failure (#393) 2021-07-02 13:17:49 +08:00
Glenn Harper 714c6de7c9
Don't stop tracks on input stream, just disconnect nodes. (#388)
* Don't stop tracks on input stream, just disconnect nodes. Fix #385 and #1120

* typo fix

* add member to PCMRecorder to decide whether to stop input stream
2021-06-25 14:27:18 -07:00
Yulin Li 1d7debee8b
request SNR for pronunciation assessment (#384) 2021-06-22 13:30:01 +08:00
Yulin Li 29ce82317a
update en-gb default voice to LibbyNeural (#383) 2021-06-18 10:16:05 +08:00
Glenn Harper 1d7c36ade6
Glharper/get activation phrases (#382)
* implement getActivationPhrasesAsync with test

* tslint fix for test

* Upgrade Speaker Id to v3, use correct activation phrase for independent identification
2021-06-17 09:36:02 -07:00
Glenn Harper c355411de8
implement getActivationPhrasesAsync with test (#381)
* implement getActivationPhrasesAsync with test

* tslint fix for test
2021-06-07 11:14:42 -07:00
dependabot[bot] 3e3cf22eb7
Bump ws from 7.4.2 to 7.4.6 (#380)
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 20:17:36 -07:00
Yulin Li 9b7c40ffe8
set default sythesis voices to neural ones (#376) 2021-05-25 21:41:34 +08:00