Web-Multi-Media / multi-web-audio-sequencer

Web collaborative step sequencer
https://labs.freesound.org/sequencer
GNU General Public License v3.0
10 stars 2 forks source link

Add rooms #2

Closed xavierfav closed 6 years ago

xavierfav commented 6 years ago

For now, all the users that connect to the app access the same sequencer. It would be nice to be able to manage rooms as a user.

To start, we can just make available several rooms, each of them containing a sequencer (in its associated state). The states should be store in the server, and sent to users when they connect to a room.

In the future, it would be nice to have a login functionality, allows user to create their own rooms, give access to other users, etc...

DerouineauNicolas commented 6 years ago

It could be useful also to display the number of users in a given room.

xavierfav commented 6 years ago

This seems seems interesting: https://www.tutorialspoint.com/socket.io/socket.io_rooms.htm

valou5940 commented 6 years ago

I think the code will be changed as this :

xavierfav commented 6 years ago

Seems nice. You will need also to have different sequencer state, and apply the modifications to the right one, knowing the roomNumber