On Thu, Dec 3, 2009 at 7:32 AM, Diogo Resende <span dir="ltr"><<a href="mailto:dresende@thinkdigital.pt">dresende@thinkdigital.pt</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I agree 100%. Still, I think the access to the mic and the speech<br>
recognition could be separated.<br></blockquote></div><br>While it would be possible to separate access to the microphone and
speech recognition, combining them allows the API to abstract away
details of the implementation that would otherwise have to be exposed,
in particular the audio encoding(s) used, and whether the audio is
streamed to the recognizer or sent in a single chunk. If we don't
provide general access to the microphone, the speech recognition API
can be simpler, implementors will have more flexibility, and
implementations can be simpler and smaller because they won't have to
deal with conversions between different audio encodings.<br><br>So I'm in favour of not separating out access to the microphone, at least in v1 of the API.<br>
<br>-- <br>Fergus Henderson <<a href="mailto:fergus@google.com">fergus@google.com</a>><br>