Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

SpeechToText.recognize should have an overload that takes an AudioInputStream #2

@candrews

Description

@candrews

SpeechToText.recognize can currently only be used with a File - this means that using the current API, totally in-memory operation isn't possible.

Can a method with this signature be added?

public com.ibm.watson.developer_cloud.speech_to_text.v1.model.SpeechResults com.ibm.watson.developer_cloud.speech_to_text.v1.SpeechToText.recognize(javax.sound.sampled.AudioInputStream ais, java.util.Map<String, Object> params)

Also, AudioInputStream.getFormat can be used to get the format, so the caller of this method need not specify the CONTENT_TYPE entry in the params map.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions