Code Monkey home page Code Monkey logo

opengame's Introduction

Open Game

這個 Project 是利用 Windows語音辨識 (Windows Speech Recognition) 去辨識你的語音指令去打開你所想的遊戲/軟件.

設定

使用前需要設定好你可以打開的遊戲/軟件. 你可以打開 APP 內按 Search Game 去搜尋 STEAM 遊戲再做設定會比教方便. 主要設定你叫遊戲的叫法例如想開 Grand Theft Auto V 但只想叫 GTA 就要設定做 grammar. 但要記緊 grammar 不要重複使用在不同遊戲. name : 遊戲名 steamAppid : Steam App Game ID path : exe 位置 grammar : 你叫的遊戲名稱 設定 appdata.json

[
    {
      "name": "Black Mesa",
      "steamAppid": "362890",
      "path": null,
      "grammar": [
        "black mesa"
      ]
    },
    {
      "name": "Grand Theft Auto V",
      "steamAppid": "271590",
      "path": null,
      "grammar": [
        "GTA"
      ]
    },    
    {
        "name": "iTunes",
        "steamAppid": "",
        "path": "C:\\Program Files\\iTunes\\iTunes.exe",
        "grammar": [
          "iTunes"
        ]
    }
]

如何用

打開後叫系統內預設語音的名字再加指令和你自訂的遊戲名稱 假設我的系統內預設語音是 Tracy. 如果我想開玩 GTA

Tracy, 我想玩 GTA

如果我想開 iTunes

Tracy, 幫我開 itunes

關閉本程式

Tracy, 關閉

指令

執行指令

  • 我想玩
  • 幫我開

關閉本程式

  • 關閉

限制

由於 Windows語音辨識還沒有廣東話支援. 所以用普通話會比較準確.

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.