Closed DerouineauNicolas closed 6 years ago
In server.js:
tempo
propriety in sequncerState
.sequencerStates
and broadcasting the tempo. This function should be declared in the callback of socket.on('room', ... )
corresponding to a room connection.In index.ejs:
sendTempo(trackId, tempo)
function that emit a 'tempo' socket to the server.socket.on('sendTempo', function (message) {...})
that changes the tempo in the client sequencer.In app.js:
sendTempo(trackId, tempo)
in changeTempoListener()
.
To be fixed.