DeepSpeech/doc/NodeJS-contrib-Examples.rst

26 lines
747 B
ReStructuredText

JavaScript contributed examples
===============================
NodeJS WAV
----------
This example demonstrates a very basic usage of the NodeJS API
.. literalinclude:: examples/nodejs_wav/index.js
:language: javascript
:linenos:
Full source code available on `https://github.com/mozilla/DeepSpeech-examples <https://github.com/mozilla/DeepSpeech-examples>`_.
FFMPEG VAD Streaming
--------------------
This example demonstrates using the Streaming API with ffmpeg to perform some
Voice-Activity-Detection.
.. literalinclude:: examples/ffmpeg_vad_streaming/index.js
:language: javascript
:linenos:
Full source code available on `https://github.com/mozilla/DeepSpeech-examples <https://github.com/mozilla/DeepSpeech-examples>`_.