Skip to content

lawwman/TalkToCode

 
 

Repository files navigation

talk-to-code README

This is the README for your extension "talk-to-code".

Features

The extension can simply be used by running it from the Command Palette (Ctrl Shit P). The Command for enabling the Talk To Code extension is "Hello World" for now.

Requirements

I am currently using :

  • VSCode version : 1.39.1 (If you are using a version older than 1.18.1, it might not work.)
  • Node JS version : 10.16.3 (Make sure Node JS is updated. google-cloud speech requires updated version.)
  • NPM version : 6.11.3
  • google-cloud/speech: 3.3.0 (npm install --save @google-cloud/speech)
  • node-record-lpcm16 : 1.0.1 (npm install node-record-lpcm16)

You do not need to run the above npm commands. running npm install from command prompt should help you install the packages automatically. Make sure you run the command within the project root directory.

Sox is required for node-record-lpcm16. Make sure sox is in the environment variables.

For e.g. I added the following path to the PATH variables 'C:\Program Files (x86)\sox-14-4-1'.

For Windows users, download the binaries here.

get sox-14.4.1-win32.exe. The latest version 14.4.2 is not compatible with Windows 10.

For mac OS users, running brew install sox should suffice.

Starting Up

Within VSCode editor, go to root directory. extensions.ts is the main file. Make sure the cred path is set correctly to your credentials json file from Google. Finally, debug the code with F5. This will run the extension in a new Extension Development Host Window.

Open the Command Palette (Ctrl Shift P) and search for the command "Hello World".

Resources

Tutorial for creating extension

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 70.3%
  • TypeScript 23.4%
  • C 3.7%
  • Python 2.0%
  • JavaScript 0.6%