Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@echo_rec/speech-to-text
Advanced tools
Readme
Transcrição de voz para texto em clientes com node.js.
Sobre echo.rec clique aqui.
Usando npm:
$ npm i @echo_rec/speech-to-text --save
Usando yarn:
$ yarn add @echo_rec/speech-to-text
Para utilização da ferramenta, é necessário acessar o sistema da echo.rec e criar o seu token de integração.
Após a instalação do seu sdk no projeto, segue o exemplo para iniciar a instância da biblioteca.
const echoRec = require('@echo_rec/speech-to-text')
const { transcribe } = echoRec({
token: 'sua_chave_aqui',
env: 'seu_ambiente'
})
token
é obrigatório para identificação da sua aplicação no echo.rec.env
é opcional, ele serve para identificar o ambiente da sua maquina, a .env
por padrão é development.
Para que o echo.rec transcreva em texto o seu áudio, é necessário que envie o arquivo dos tipo:
Segue o exemplo usando o sdk para transcrição do audio:
const path = require('path')
const echoRec = require('@echo_rec/speech-to-text')
const { transcribe } = echoRec({
token: 'sua_chave_aqui',
env: 'seu_ambiente'
})
const file = path.join(__dirname, './', 'meu_audio_aqui.mp3')
const result = await transcribe(file)
console.log(result)
Saída no terminal.
{
"data": {
"id": "d128aec0-0607-444e-a269-5ea98c1ffbda",
"message": "Sua transcrição aqui em texto!"
},
"status": 201
}
FAQs
Software para transcrever audio em texto
The npm package @echo_rec/speech-to-text receives a total of 1 weekly downloads. As such, @echo_rec/speech-to-text popularity was classified as not popular.
We found that @echo_rec/speech-to-text 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.