You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><ahref="microphone-streaming.html">Transcribe from Microphone, Streaming</a></li>
12
-
<li><ahref="microphone-streaming-auto-stop.html">Transcribe from Microphone, Streaming, automatically stop at first pause</a></li>
13
-
<li><ahref="microphone-alternatives.html">Transcribe from Microphone, with Alternatives</a></li>
14
-
<li><ahref="microphone-word-confidence.html">Transcribe from Microphone, with Word Confidence</a></li>
15
-
<li><ahref="microphone-streaming-text-to-console.html">Transcribe from Microphone, send text to console</a></li>
16
-
<li><ahref="microphone-streaming-object-to-console.html">Transcribe from Microphone, send JSON to console (includes text and metadata; v0.22+ format)</a></li>
17
-
<li><ahref="microphone-streaming-object-extracted-to-console.html">Transcribe from Microphone, send JSON to console with results extracted (pre-v0.22 format)</a></li>
18
-
<li><ahref="microphone-streaming-model.html">Transcribe from Microphone, Streaming with chosen model</a></li>
19
-
<li><ahref="file-streaming.html">Transcribe from file, Streaming</a></li>
20
-
<li><ahref="multi-speaker-file-console.html">Transcribe from file, multiple speakers</a></li>
21
-
<li><ahref="file-realtime-vs-no-realtime.html">Transcribe from file, Comparing <code>{realtime: true}</code> to <code>{realtime: false}</code></a></li>
22
-
<li><ahref="file-promise.html">Transcribe from file, Promise</a></li>
23
-
<li><ahref="file-ajax.html">Transcribe from file loaded over AJAX</a></li>
24
-
<li><ahref="browserify.html">Example bundled with browserify</a><b>(Node.js server only)</b></li>
25
-
<li><strike><ahref="audio-video-deprecated/">Deprecated: Transcribe from HTML5 <audio> or <video> element</a></strike><b>(Node.js server only)</b></li>
11
+
<li><ahref="microphone-streaming.html">Transcribe from Microphone, Streaming</a></li>
12
+
<li><ahref="microphone-streaming-auto-stop.html">Transcribe from Microphone, Streaming, automatically stop at first pause</a></li>
13
+
<li><ahref="microphone-alternatives.html">Transcribe from Microphone, with Alternatives</a></li>
14
+
<li><ahref="microphone-word-confidence.html">Transcribe from Microphone, with Word Confidence</a></li>
15
+
<li><ahref="microphone-streaming-text-to-console.html">Transcribe from Microphone, send text to console</a></li>
16
+
<li><ahref="microphone-streaming-object-to-console.html">Transcribe from Microphone, send JSON to console (includes text and metadata; v0.22+ format)</a></li>
17
+
<li><ahref="microphone-streaming-object-extracted-to-console.html">Transcribe from Microphone, send JSON to console with results extracted (pre-v0.22 format)</a></li>
18
+
<li><ahref="microphone-streaming-model.html">Transcribe from Microphone, Streaming with chosen model</a></li>
19
+
<li><ahref="file-streaming.html">Transcribe from file, Streaming</a></li>
20
+
<li><ahref="speaker-labels-file-console.html">Transcribe from file with <code>{speaker_labels: true}</code>, output to console</a></li>
21
+
<li><ahref="speaker-stream-file-console.html">Transcribe from file with <code>{resultsBySpeaker: true}</code>, output to console</a></li>
22
+
<li><ahref="speaker-stream-file-html.html">Transcribe from file with <code>{resultsBySpeaker: true}</code>, output HTML</a></li>
23
+
<li><ahref="file-realtime-vs-no-realtime.html">Transcribe from file, Comparing <code>{realtime: true}</code> to <code>{realtime: false}</code></a></li>
24
+
<li><ahref="file-promise.html">Transcribe from file, Promise</a></li>
25
+
<li><ahref="file-ajax.html">Transcribe from file loaded over AJAX</a></li>
26
+
<li><ahref="browserify.html">Example bundled with browserify</a><b>(Node.js server only)</b></li>
27
+
<li><strike><ahref="audio-video-deprecated/">Deprecated: Transcribe from HTML5 <audio> or <video> element</a></strike><b>(Node.js server only)</b></li>
@@ -37,11 +38,12 @@ var ResultStream = require('./result-stream');
37
38
* @param {Blob|File} options.data - the raw audio data as a Blob or File instance
38
39
* @param {Boolean} [options.play=false] - If a file is set, play it locally as it's being uploaded
39
40
* @param {Boolena} [options.format=true] - pipe the text through a {FormatStream} which performs light formatting. Also controls smart_formatting option unless explicitly set.
40
-
* @param {Boolena} [options.realtime=options.play] - pipe the text through a {TimingStream} which slows the output down to real-time to match the audio playback.
41
+
* @param {Boolena} [options.realtime=options.play] - pipe the text through a {TimingStream} which slows the output down to real-time to match the audio playback. Not currently compatible with resultsBySpeaker option.
41
42
* @param {String|DOMElement} [options.outputElement] pipe the text to a WriteableElementStream targeting the specified element. Also defaults objectMode to true to enable interim results.
42
-
* @param {Boolean} [options.extractResults=false] pipe results through a ResultExtractor stream to simplify the objects. (Default behavior before v0.22) Requires objectMode.
43
+
* @param {Boolean} [options.extractResults=false] pipe results through a ResultExtractor stream to simplify the objects. (Default behavior before v0.22) Automatically enables objectMode.
44
+
* @param {Boolean} [options.resultsBySpeaker=false] pipe results through a SpeakerStream. Causes each data event to include multiple results, each with a speaker field. Automatically enables objectMode and speaker_labels. Automatically disables the realtime option due to incompatibilities. Adds some delay to processing.
0 commit comments