Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.79k stars 1.82k forks source link

iOS 10.3.3 not support #98

Closed jackie-jiang-ios closed 5 years ago

jackie-jiang-ios commented 5 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. ...
  2. ...

Expected behavior A clear and concise description of what you expected to happen.

Version of the Cognitive Services Speech SDK Which version of the SDK are you using.

Platform, Operationg System, and Programming Language

Additional context

zhouwangzw commented 5 years ago

Currently the Speech SDK for iOS only supports iOS11.4. We are working on supporting iOS 10, but no ETA yet.

Sorry for inconvenience.

jackie-jiang-ios commented 5 years ago

When will it be finished?

jackie-jiang-ios commented 5 years ago

2 Do you have such a function?

It's not this. 2018-11-12 10 21 50

chlandsi commented 5 years ago

Please have a look at the input streams available in the API, SPXPullAudioInputStream and SPXPushAudioInputStream.

There is no planned release date for iOS 10.0 compatibility yet.

jackie-jiang-ios commented 5 years ago

I tried, but the result is wrong. , and could help me to see my demo. https://github.com/hold-my-hand/TranslateDemo

chlandsi commented 5 years ago

Can you be more specific about the issue? Do you see the expected results when doing recognition from a file, or from the default microphone implementation?

jackie-jiang-ios commented 5 years ago

是的,那二种情况我都试过了没有问题,但是我希望以流的方式去识别并且翻译,我必须使用audiounit这个库,不知道它的audiobuffer如何转换成为你们所需要的pcmdata,不知道你看不看得懂中文.

jackie-jiang-ios commented 5 years ago

translate:Yes, I've tried both cases,they have no problem,but I hope to recognizer and translate them in a streaming way. I have to use the AudioUnit library. I don't know how its audiobuffer can be converted into the pcm data you need. I don't know if you can read Chinese or not

chlandsi commented 5 years ago

Different varieties of Chinese are supported, see here. There aren't any samples for audio input streams with Objective-C yet, but maybe the C++ sample on that topic is helpful.