From 38ef5c9a1131cf37f14936885eb2789e3fd49c5a Mon Sep 17 00:00:00 2001 From: Timmy Willison <4timmywil@gmail.com> Date: Mon, 11 Jan 2021 15:56:31 -0500 Subject: [PATCH] chore: release 6.0.0-beta.0 --- README.md | 126 +++++++++++++++++++++++----------------------- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 65 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index 1f20e2e..1460267 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ function App() { ▸ **initialize**(`clientId`: string, `clientSecret`: string, `config?`: [SpokestackConfig](#SpokestackConfig)): Promise\ -_Defined in [src/index.tsx:59](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L59)_ +_Defined in [src/index.tsx:59](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L59)_ Initialize the speech pipeline; required for all other methods. @@ -310,7 +310,7 @@ await Spokestack.initialize(process.env.CLIENT_ID, process.env.CLIENT_SECRET, { ▸ **start**(): Promise\ -_Defined in [src/index.tsx:77](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L77)_ +_Defined in [src/index.tsx:77](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L77)_ Start the speech pipeline. The speech pipeline starts in the `deactivate` state. @@ -332,7 +332,7 @@ Spokestack.initialize(process.env.CLIENT_ID, process.env.CLIENT_SECRET) ▸ **stop**(): Promise\ -_Defined in [src/index.tsx:90](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L90)_ +_Defined in [src/index.tsx:90](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L90)_ Stop the speech pipeline. This effectively stops ASR, VAD, and wakeword. @@ -353,7 +353,7 @@ await Spokestack.stop() ▸ **activate**(): Promise\ -_Defined in [src/index.tsx:105](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L105)_ +_Defined in [src/index.tsx:105](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L105)_ Manually activate the speech pipeline. This is necessary when using a PTT profile. @@ -376,7 +376,7 @@ import Spokestack from 'react-native-spokestack` ▸ **deactivate**(): Promise\ -_Defined in [src/index.tsx:120](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L120)_ +_Defined in [src/index.tsx:120](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L120)_ Deactivate the speech pipeline. If the profile includes wakeword, the pipeline will go back @@ -399,7 +399,7 @@ import Spokestack from 'react-native-spokestack` ▸ **synthesize**(`input`: string, `format?`: [TTSFormat](#TTSFormat), `voice?`: string): Promise\ -_Defined in [src/index.tsx:133](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L133)_ +_Defined in [src/index.tsx:133](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L133)_ Synthesize some text into speech Returns `Promise` with the string @@ -428,7 +428,7 @@ play(url) ▸ **speak**(`input`: string, `format?`: [TTSFormat](#TTSFormat), `voice?`: string): Promise\ -_Defined in [src/index.tsx:148](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L148)_ +_Defined in [src/index.tsx:148](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L148)_ Synthesize some text into speech and then immediately play the audio through @@ -459,7 +459,7 @@ await Spokestack.speak('Hello world') ▸ **classify**(`utterance`: string): Promise\ -_Defined in [src/index.tsx:163](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L163)_ +_Defined in [src/index.tsx:163](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L163)_ Classify the utterance using the intent/slot Natural Language Understanding model @@ -490,7 +490,7 @@ console.log(result.intent) // launch • **intent**: string -_Defined in [src/types.ts:101](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L101)_ +_Defined in [src/types.ts:101](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L101)_ The intent based on the match provided by the NLU model @@ -500,7 +500,7 @@ The intent based on the match provided by the NLU model • **confidence**: number -_Defined in [src/types.ts:103](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L103)_ +_Defined in [src/types.ts:103](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L103)_ A number from 0 to 1 representing the NLU model's confidence in the intent it recognized, where 1 represents absolute confidence. @@ -510,7 +510,7 @@ A number from 0 to 1 representing the NLU model's confidence in the intent it re • **slots**: { [key:string]: SpokestackNLUSlot; } -_Defined in [src/types.ts:105](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L105)_ +_Defined in [src/types.ts:105](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L105)_ Data associated with the intent, provided by the NLU model @@ -522,7 +522,7 @@ Data associated with the intent, provided by the NLU model • **type**: string -_Defined in [src/types.ts:92](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L92)_ +_Defined in [src/types.ts:92](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L92)_ The slot's type, as defined in the model metadata @@ -532,7 +532,7 @@ The slot's type, as defined in the model metadata • **value**: any -_Defined in [src/types.ts:94](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L94)_ +_Defined in [src/types.ts:94](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L94)_ The parsed (typed) value of the slot recognized in the user utterance @@ -542,7 +542,7 @@ The parsed (typed) value of the slot recognized in the user utterance • **rawValue**: string -_Defined in [src/types.ts:96](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L96)_ +_Defined in [src/types.ts:96](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L96)_ The original string value of the slot recognized in the user utterance @@ -550,7 +550,7 @@ The original string value of the slot recognized in the user utterance • **addEventListener**: _typeof_ addListener -_Defined in [src/index.tsx:203](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L203)_ +_Defined in [src/index.tsx:203](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L203)_ Bind to any event emitted by the native libraries The events are: "recognize", "partial_recognize", "error", "activate", "deactivate", and "timeout". @@ -572,7 +572,7 @@ useEffect(() => { • **removeEventListener**: _typeof_ removeListener -_Defined in [src/index.tsx:211](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L211)_ +_Defined in [src/index.tsx:211](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L211)_ Remove an event listener @@ -586,7 +586,7 @@ Spokestack.removeEventListener('recognize', onRecognize) • **removeAllListeners**: () => void -_Defined in [src/index.tsx:221](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/index.tsx#L221)_ +_Defined in [src/index.tsx:221](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/index.tsx#L221)_ Remove any existing listeners @@ -602,15 +602,15 @@ componentWillUnmount() { • **SPEECHMARKDOWN**: = 2 -_Defined in [src/types.ts:65](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L65)_ +_Defined in [src/types.ts:65](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L65)_ • **SSML**: = 1 -_Defined in [src/types.ts:64](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L64)_ +_Defined in [src/types.ts:64](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L64)_ • **TEXT**: = 0 -_Defined in [src/types.ts:63](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L63)_ +_Defined in [src/types.ts:63](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L63)_ --- @@ -689,19 +689,19 @@ interface SpokestackConfig { • **DEBUG**: = 10 -_Defined in [src/types.ts:50](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L50)_ +_Defined in [src/types.ts:50](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L50)_ • **INFO**: = 30 -_Defined in [src/types.ts:52](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L52)_ +_Defined in [src/types.ts:52](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L52)_ • **NONE**: = 100 -_Defined in [src/types.ts:53](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L53)_ +_Defined in [src/types.ts:53](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L53)_ • **PERF**: = 20 -_Defined in [src/types.ts:51](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L51)_ +_Defined in [src/types.ts:51](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L51)_ ## PipelineConfig @@ -709,7 +709,7 @@ _Defined in [src/types.ts:51](https://github.com/spokestack/react-native-spokest • `Optional` **profile**: [PipelineProfile](#PipelineProfile) -_Defined in [src/types.ts:117](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L117)_ +_Defined in [src/types.ts:117](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L117)_ Profiles are collections of common configurations for Pipeline stages. If Wakeword config files are specified, the default will be @@ -720,7 +720,7 @@ Otherwise, the default is `PTT_NATIVE_ASR`. • **PTT_NATIVE_ASR**: = 2 -_Defined in [src/types.ts:24](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L24)_ +_Defined in [src/types.ts:24](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L24)_ Apple/Android Automatic Speech Recogntion is on when the speech pipeline is active. @@ -729,7 +729,7 @@ when not using wakeword. • **PTT_SPOKESTACK_ASR**: = 5 -_Defined in [src/types.ts:42](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L42)_ +_Defined in [src/types.ts:42](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L42)_ Spokestack Automatic Speech Recogntion is on when the speech pipeline is active. @@ -738,7 +738,7 @@ when not using wakeword, but Spokestack ASR is preferred. • **TFLITE_WAKEWORD_NATIVE_ASR**: = 0 -_Defined in [src/types.ts:12](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L12)_ +_Defined in [src/types.ts:12](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L12)_ Set up wakeword and use local Apple/Android ASR. Note that wakeword.filter, wakeword.encode, and wakeword.detect @@ -746,7 +746,7 @@ are required if any wakeword profile is used. • **TFLITE_WAKEWORD_SPOKESTACK_ASR**: = 3 -_Defined in [src/types.ts:30](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L30)_ +_Defined in [src/types.ts:30](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L30)_ Set up wakeword and use remote Spokestack ASR. Note that wakeword.filter, wakeword.encode, and wakeword.detect @@ -754,14 +754,14 @@ are required if any wakeword profile is used. • **VAD_NATIVE_ASR**: = 1 -_Defined in [src/types.ts:17](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L17)_ +_Defined in [src/types.ts:17](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L17)_ Apple/Android Automatic Speech Recognition is on when Voice Active Detection triggers it. • **VAD_SPOKESTACK_ASR**: = 4 -_Defined in [src/types.ts:35](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L35)_ +_Defined in [src/types.ts:35](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L35)_ Spokestack Automatic Speech Recognition is on when Voice Active Detection triggers it. @@ -770,7 +770,7 @@ when Voice Active Detection triggers it. • `Optional` **sampleRate**: number -_Defined in [src/types.ts:121](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L121)_ +_Defined in [src/types.ts:121](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L121)_ Audio sampling rate, in Hz @@ -780,7 +780,7 @@ Audio sampling rate, in Hz • `Optional` **frameWidth**: number -_Defined in [src/types.ts:127](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L127)_ +_Defined in [src/types.ts:127](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L127)_ **`advanced`** @@ -792,7 +792,7 @@ Speech frame width, in ms • `Optional` **bufferWidth**: number -_Defined in [src/types.ts:133](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L133)_ +_Defined in [src/types.ts:133](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L133)_ **`advanced`** @@ -804,7 +804,7 @@ Buffer width, used with frameWidth to determine the buffer size • `Optional` **vadMode**: \"quality\" \| \"low-bitrate\" \| \"aggressive\" \| \"very-aggressive\" -_Defined in [src/types.ts:137](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L137)_ +_Defined in [src/types.ts:137](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L137)_ Voice activity detector mode @@ -814,7 +814,7 @@ Voice activity detector mode • `Optional` **vadFallDelay**: number -_Defined in [src/types.ts:144](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L144)_ +_Defined in [src/types.ts:144](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L144)_ **`advanced`** @@ -827,7 +827,7 @@ how many negative samples must be received to flip the detector to negative • `Optional` **vadRiseDelay**: number -_Defined in [src/types.ts:153](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L153)_ +_Defined in [src/types.ts:153](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L153)_ **`advanced`** @@ -842,7 +842,7 @@ how many positive samples must be received to flip the detector to positive • `Optional` **ansPolicy**: \"mild\" \| \"medium\" \| \"aggressive\" \| \"very-aggressive\" -_Defined in [src/types.ts:161](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L161)_ +_Defined in [src/types.ts:161](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L161)_ **`advanced`** @@ -856,7 +856,7 @@ Noise policy • `Optional` **agcCompressionGainDb**: number -_Defined in [src/types.ts:170](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L170)_ +_Defined in [src/types.ts:170](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L170)_ **`advanced`** @@ -871,7 +871,7 @@ to maintain a peak of -9dB, configure a value of 9 • `Optional` **agcTargetLevelDbfs**: number -_Defined in [src/types.ts:178](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L178)_ +_Defined in [src/types.ts:178](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L178)_ **`advanced`** @@ -885,7 +885,7 @@ Dynamic range compression rate, in dBFS • **model**: string \| RequireSource -_Defined in [src/types.ts:189](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L189)_ +_Defined in [src/types.ts:189](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L189)_ The NLU Tensorflow-Lite model. If specified, metadata and vocab are also required. @@ -900,7 +900,7 @@ This field accepts 2 types of values. • **metadata**: string \| RequireSource -_Defined in [src/types.ts:197](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L197)_ +_Defined in [src/types.ts:197](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L197)_ The JSON file for NLU metadata. If specified, model and vocab are also required. @@ -915,7 +915,7 @@ This field accepts 2 types of values. • **vocab**: string \| RequireSource -_Defined in [src/types.ts:205](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L205)_ +_Defined in [src/types.ts:205](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L205)_ A txt file containing the NLU vocabulary. If specified, model and metadata are also required. @@ -930,7 +930,7 @@ This field accepts 2 types of values. • `Optional` **inputLength**: number -_Defined in [src/types.ts:215](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L215)_ +_Defined in [src/types.ts:215](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L215)_ ## WakewordConfig @@ -938,7 +938,7 @@ _Defined in [src/types.ts:215](https://github.com/spokestack/react-native-spokes • **filter**: string \| RequireSource -_Defined in [src/types.ts:229](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L229)_ +_Defined in [src/types.ts:229](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L229)_ The "filter" Tensorflow-Lite model. If specified, detect and encode are also required. @@ -956,7 +956,7 @@ its inputs should be shaped [fft-width], and its outputs [mel-width] • **detect**: string \| RequireSource -_Defined in [src/types.ts:241](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L241)_ +_Defined in [src/types.ts:241](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L241)_ The "detect" Tensorflow-Lite model. If specified, filter and encode are also required. @@ -975,7 +975,7 @@ with an additional state input/output shaped [state-width] • **encode**: string \| RequireSource -_Defined in [src/types.ts:252](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L252)_ +_Defined in [src/types.ts:252](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L252)_ The "encode" Tensorflow-Lite model. If specified, filter and detect are also required. @@ -993,7 +993,7 @@ and its outputs • `Optional` **activeMax**: number -_Defined in [src/types.ts:262](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L262)_ +_Defined in [src/types.ts:262](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L262)_ The maximum length of an activation, in milliseconds, used to time out the activation @@ -1004,7 +1004,7 @@ used to time out the activation • `Optional` **activeMin**: number -_Defined in [src/types.ts:257](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L257)_ +_Defined in [src/types.ts:257](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L257)_ The minimum length of an activation, in milliseconds, used to ignore a VAD deactivation after the wakeword @@ -1015,7 +1015,7 @@ used to ignore a VAD deactivation after the wakeword • `Optional` **encodeLength**: number -_Defined in [src/types.ts:290](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L290)_ +_Defined in [src/types.ts:290](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L290)_ **`advanced`** @@ -1028,7 +1028,7 @@ used as an input to the classifier, in milliseconds • `Optional` **encodeWidth**: number -_Defined in [src/types.ts:296](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L296)_ +_Defined in [src/types.ts:296](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L296)_ **`advanced`** @@ -1040,7 +1040,7 @@ The size of the encoder output, in vector units • `Optional` **fftHopLength**: number -_Defined in [src/types.ts:340](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L340)_ +_Defined in [src/types.ts:340](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L340)_ **`advanced`** @@ -1053,7 +1053,7 @@ overlapping STFT is calculated, in milliseconds • `Optional` **fftWindowSize**: number -_Defined in [src/types.ts:324](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L324)_ +_Defined in [src/types.ts:324](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L324)_ **`advanced`** @@ -1066,7 +1066,7 @@ in number of samples - should be a power of 2 for maximum efficiency • `Optional` **fftWindowType**: string -_Defined in [src/types.ts:333](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L333)_ +_Defined in [src/types.ts:333](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L333)_ **`advanced`** @@ -1081,7 +1081,7 @@ before calculating the STFT; currently the "hann" window is supported • `Optional` **melFrameLength**: number -_Defined in [src/types.ts:354](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L354)_ +_Defined in [src/types.ts:354](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L354)_ **`advanced`** @@ -1094,7 +1094,7 @@ overlapping STFT is calculated, in milliseconds • `Optional` **melFrameWidth**: number -_Defined in [src/types.ts:361](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L361)_ +_Defined in [src/types.ts:361](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L361)_ **`advanced`** @@ -1107,7 +1107,7 @@ in number of filterbank components • `Optional` **preEmphasis**: number -_Defined in [src/types.ts:347](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L347)_ +_Defined in [src/types.ts:347](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L347)_ **`advanced`** @@ -1120,7 +1120,7 @@ the normalized audio signal (0 for no pre-emphasis) • `Optional` **requestTimeout**: number -_Defined in [src/types.ts:276](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L276)_ +_Defined in [src/types.ts:276](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L276)_ iOS-only @@ -1133,7 +1133,7 @@ Apple has an undocumented limit of 60000ms per request. • `Optional` **rmsAlpha**: number -_Defined in [src/types.ts:317](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L317)_ +_Defined in [src/types.ts:317](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L317)_ **`advanced`** @@ -1146,7 +1146,7 @@ rate for the current RMS signal energy (0 for no RMS normalization) • `Optional` **rmsTarget**: number -_Defined in [src/types.ts:310](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L310)_ +_Defined in [src/types.ts:310](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L310)_ **`advanced`** @@ -1160,7 +1160,7 @@ to the RMS target used during training • `Optional` **stateWidth**: number -_Defined in [src/types.ts:302](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L302)_ +_Defined in [src/types.ts:302](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L302)_ **`advanced`** @@ -1172,7 +1172,7 @@ The size of the encoder state, in vector units (defaults to wake-encode-width) • `Optional` **threshold**: number -_Defined in [src/types.ts:283](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L283)_ +_Defined in [src/types.ts:283](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L283)_ **`advanced`** @@ -1185,7 +1185,7 @@ above which the trigger activates the pipeline, in the range [0, 1] • `Optional` **wakewords**: string -_Defined in [src/types.ts:269](https://github.com/spokestack/react-native-spokestack/blob/f0ba05b/src/types.ts#L269)_ +_Defined in [src/types.ts:269](https://github.com/spokestack/react-native-spokestack/blob/9c03900/src/types.ts#L269)_ iOS-only diff --git a/package-lock.json b/package-lock.json index ab83f2d..346c121 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-spokestack", - "version": "5.0.0", + "version": "6.0.0-beta.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5ae2e99..6f74f61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-spokestack", - "version": "5.0.0", + "version": "6.0.0-beta.0", "description": "React Native plugin for adding voice using Spokestack", "main": "lib/commonjs/index", "module": "lib/module/index",