Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin-roark/spyr
SPYR - special magic yelling room
https://github.com/kevin-roark/spyr
Last synced: 27 days ago
JSON representation
SPYR - special magic yelling room
- Host: GitHub
- URL: https://github.com/kevin-roark/spyr
- Owner: kevin-roark
- Created: 2014-03-07T07:00:32.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-16T05:29:10.000Z (almost 11 years ago)
- Last Synced: 2024-12-07T00:39:26.158Z (about 2 months ago)
- Language: JavaScript
- Size: 393 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
spyr
====SPYR - special magic yelling room
## How to use
cd spyr-presence; node index.js &; cd ..;
cd spyr-sounder; node index.js &; cd ..;
cd spyr-io; node index.js &; cd ..;
cd spyr-web; node index.js &; cd..;Pay attention to the NODE_ENV and SPYR_IO_URL environment variables.
## Architecture
Inspired by weplay.io### spyr
equivalent to the main weplay### spyr-web
equivalent to weplay-web### spyr-audio
equivalent to weplay's emulator## Spyr audio ideas
clients press a button and record a sound of fixed length (0.25 - 0.5 seconds probably). That sounds is then sent over socket.io to spyr-audio, which adds all the sounds it gets in a fixed (0.1 - 0.2 second) time, and then broadcasts the combined sound as one buffer to all clients. Clients constantly play sounds like frames of the emulator. profit.