prepend first section of audio while detecting speech (was cut before)
This commit is contained in:
@ -35,7 +35,7 @@ wss.on('connection', (ws) => {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//"yyyymmdd-hhMMss"
|
||||
var timestampfilename = Date.now("yyyymmdd-hhMMss");
|
||||
|
||||
//save the audio data to a file to /rec subfolder
|
||||
@ -85,7 +85,6 @@ app.get('/wsurl', (req, res) => {
|
||||
res.send(process.env.WS_URL, 200, { 'Content-Type': 'text/plain' });
|
||||
});
|
||||
|
||||
|
||||
app.listen(8080, () => {
|
||||
console.log('Server listening on port 8080');
|
||||
});
|
||||
|
Reference in New Issue
Block a user