first commit

This commit is contained in:
s.golasch
2023-08-01 14:20:25 +02:00
commit e142078e83
17 changed files with 639 additions and 0 deletions

9
index.js Normal file
View 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)