New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@socian/voice-input-sdk

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socian/voice-input-sdk

- Set "apiKey" on 'socian_voice_input.js'. ```js const apiKey = "your-api-key"; ``` - import "socian_voice_input.js" from your directory.

latest
npmnpm
Version
1.3.0
Version published
Maintainers
4
Created
Source
  • Set "apiKey" on 'socian_voice_input.js'.
const apiKey = "your-api-key";
  • import "socian_voice_input.js" from your directory.
<script src="./socian_voice_input.js"></script>

select language

  • Set "language".
<div id="language" style="display: none;">EN</div>

Speech to text (streaming)

  • Set "socian_audio_input" to get real time speech to text.
<button id="socian_audio_input">Click</button>
  • Set "voice_output" to get voice output.
<div id="voice_output"></div>
  • Set "socianSttStatus" to get current Status.
<div id="socianSttStatus"></div>

Speech to text HTTP (Post Processing)

  • Set "socian_stt_start" to get post process text.
<button id="socian_stt_start">Click</button>
  • Set "socian_stt_stop" to stop recording.
<button id="socian_stt_stop">Click</button>
  • Set "socianVoiceText" to get voice output.
<div id="socianVoiceText"></div>
  • Set "socianSttStatus" to get current Status.
<div id="socianSttStatus"></div>

FAQs

Package last updated on 05 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts