Skip to content

Speech to text encoding #4

@mmrobert

Description

@mmrobert

Hi, it is me again.

Hi, there, I am working in NeuronicWorks, Toronto, as a mobile developer.

Now I am using your development kit for your blue tooth (chip) device.

private final Feature.FeatureListener mAudioListener = (f, sample) -> {
short[] audioSample = FeatureAudioADPCM.getAudio(sample);
};

In above method, the "audioSample" is Linear PCM encoded data (also decompressed), is it right?

As I need to use Google stream speech API, so how do I transform this short[] format to byte[]?

Best regards,

Boqian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions