Skip to content

How can I create audio file that node.js google speech server can recognize?? #508

@geoseong

Description

@geoseong

Hi.

I want to create client side page that hopefully can record their voice at any remote device(no Sarafi for mobile support on mobile : see Mozilla MediaRecorder API)

I created recorded audio file and run google speech command but google speech server response of Transcription is nothing.
I run command like node recognize.js sync ./resources/hello.raw -e LINEAR16 -r 16000

So I link my code of client side page and please see what's wrong.
I want to know what options work to 16000 sampleRateHertz and LINEAR16 Encoding in Javascript MediaRecorder API.

my code of client side page : https://gist.github.com/geoseong/d42c24a3bdae9c2bb0d30b7fe7ecbe0a

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions