Coder Social home page Coder Social logo

Comments (7)

pickhardt avatar pickhardt commented on August 16, 2024

Not yet, as far as I know.

from betty.

deltaidea avatar deltaidea commented on August 16, 2024

There's this related project: https://github.com/debugger22/Jarvis

Anyway, I don't think it's a good idea since it's quite difficult to dictate paths, usernames, etc. Of course, you can combine text and speech, but:

Betty is a friendly English-like interface for your command line.

It solves the problem quite well. Why expanding and generalizing?
Or maybe I just want to argue pointlessly...

from betty.

lpanebr avatar lpanebr commented on August 16, 2024

I agree that this fall out of the scope of Betty. There are other projects for that. Also I believe that OSs will eventually support that natively.

Betty should should stay on track and focus in understanding natural text input and solving user requests while teaching them the commands behind her brain.

from betty.

pannous avatar pannous commented on August 16, 2024

It would be only 10 lines of code though:
https://github.com/gillesdemey/google-speech-v2
maybe in separate listen.sh

from betty.

pannous avatar pannous commented on August 16, 2024

actually three lines:

`rec -rate 44100 out.flac silence 1 0.50 0.1% 1 2.0 0.1%`
result=`curl -X POST --data-binary @out.flac --header 'Content-Type: audio/x-flac; rate=44100;' 'https://www.google.com/speech-api/v2/recognize?&lang=en-us&key=AIzaSyCnl6MRydhw_5fLXIdASxkLJzcJh5iX0M4'`
parse result["result"][0]["alternative"][0]["transcript"]

@gillesdemey : uhm, did you post your google api key on git??

from betty.

gillesdemey avatar gillesdemey commented on August 16, 2024

Nope, the key was extracted from the Google Hotwords Chrome extension and has no courtesy limit :)

Jarvis also uses the same key, and a bunch of other STT projects so speak away!

from betty.

pannous avatar pannous commented on August 16, 2024

phew ;}
thanks!

from betty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.