
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
olaris-wav-realtime-transcription
Advanced tools
This is a node.js module used to transcribe wav files using Olaris v2 realtime transcription service
This is a node.js module used to transcribe wav files using Olaris v2 realtime transcription service.
Usually, for non-realtime transcription (like from audio recordings) you would the Olaris File API. However, currently the File API doesn't support Olaris engine v2 that shows superior results when handling AEC (Acoustic Echo Cancellation) processed audio. So until v2 becomes available in the File API, the alternative is to use the Olaris Realtime API and send the audio as if it were being generated in realtime (respecting tranmission data rates). This is what this module takes care of.
const tl = require('tracing-log')
const wav = require('wav')
const OWRT = require('olaris-wav-realtime-transcription')
const language = 'ja-JP' // Olaris currently only supports Japanese
const config = {
api_base: 'realtime.v2.stt.stg.olaris.cloud/real-time-decode',
product_name: 'YOUR_PRODUCT_NAME,
organization_id: 'YOUR_ORGANIZATION_ID',
api_key: 'YOUR_API_KEY',
}
const context = {model_alias: 'model_ja_business'}
const reader = new wav.Reader()
const uuid = 'some-uuid-for-log-correlation'
const wav_file = 'sample.wav'
// you need to provide a log object
const uuid = 'SOME_UNIQUE_IDENTIFIER_FOR_DEBUG_AND_CORRELATION'
const log = tl.gen_logger(uuid)
OWRT(reader, wav_file, language, config, context, log)
.then(transcription => {
console.log(transcription)
process.exit(0)
})
FAQs
This is a node.js module used to transcribe wav files using Olaris v2 realtime transcription service
The npm package olaris-wav-realtime-transcription receives a total of 0 weekly downloads. As such, olaris-wav-realtime-transcription popularity was classified as not popular.
We found that olaris-wav-realtime-transcription demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.