first commit
This commit is contained in:
9
index.js
Normal file
9
index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const EventEmitter = require('events')
|
||||
const startServer = require('./server')
|
||||
const initDeepspeech = require('./ds')
|
||||
const lightHook = require('./lightcontroller')
|
||||
|
||||
const myEmitter = new EventEmitter()
|
||||
const audioStreamCb = initDeepspeech(myEmitter)
|
||||
startServer(audioStreamCb, myEmitter)
|
||||
lightHook(myEmitter)
|
||||
Reference in New Issue
Block a user