Multiplayer Piano
February 17, 2012
Launch Experiment
Slow? Not Working? Try it in Google Chrome.
From the Author:
A multiplayer piano built with JavaScript and socket.io. Viewed with Chrome, the page busts out the Web Audio API.
Technology:
JavaScript, Web Audio API, CSS3 styling and transitions, node.js, socket.io
Comments
http://www.multiplayerpiano.com/Play%20And%20Chat!!!!
Reply to this commentMyanmar zawgly font
Reply to this commentgfyhhjjjj
Reply to this commentPlease make us be able to have usernames or something like that when we enter the lobby? Thanks so much if you can do this! Your work is very amazing
Reply to this commentBungaeko
Reply to this commenthey how i can get a name
Reply to this comment12344
Reply to this commenthttp://www.timelinedezine.com/
Reply to this commentSwagtastic!
Reply to this commentHello. I have a question. My keyboard only supports USB connection to the PC. Does USB work with multiplayerpiano aswell? Or is it just MIDI?
Reply to this commentIt does! (maybe) Personally, I have a Yamaha S90 that I've connected via USB. I had to install the drivers that came with it, but once I did, three channels became available. Set your browser and your keyboard's MIDI out to broadcast on the same channel, and you're golden. :)
Reply to this commentI wish I knew!
Reply to this commentHey, I think I have a problem. When this page opened up the first time I heard of it, the piano appeared gray. And when I try playing notes, I don't hear any sound, not even from other players. Is there a way to get rid of this?
Reply to this commentThe grey is just the page loading, it is nothing to worry about.
Reply to this commentFor all you MIDI users out there - The extreme lag goes away when you are in another tab or have the multiplayer piano window minimized. Your welcome bro.
Reply to this commentPlease add a chat :D
Reply to this commentSorry, i didn't notice there is a chat. :D
Reply to this commentlen0vo
Reply to this commentLOLOL I JUST RIPPED A KEY!!!!! *and* i crashed my computer
Reply to this commenti want chrome
Reply to this commentа как в ней чатиться, что нужно сделать?
Reply to this commentHi Brandon,
Reply to this commentI wondered if it was possible to fix the MIDI javascript so that it plays at the correct octave? At the moment anything I play on my MIDI instruments comes out an octave higher on multiplayerpiano :(
Other than that, this is amazing and I have had a great time playing online with people from all over the world, keep up the great work :)
AndoverGB
Cannot get the midi to work. Clicking on the + and nothing happens
Reply to this commentGo On This URL, You Can Chat While Playing Music!!!!
Reply to this commentIt's Called "For Everyone!!!! :D"
http://www.multiplayerpiano.com/For%20Everyone!!!!%20%3AD -Alaster Caslin
You should make private rooms because my friend and I just want to be in the room alone to play together but people keep joining and being rude and just smashing keys its getting very annoying. Like maybe they have to enter some kind of password before being able to join a certain room.
Reply to this commentChoose a name that is hard to guess, untick "Visible..." and send the url to your friend.
Reply to this commentOh wow thanks I'll try it out!
some plz help me i dontknw how to play songs can someone help ? even a simple one fine thx :)
Reply to this commentThanks Brandon! wonderful work, creative too, was there anything like this before?
Reply to this commentnice piano
Reply to this commentI think /v/ is the BEST lobby in this app! (now online)
Reply to this commentthis is way great.
Reply to this commentis there a keybinds list somewhere for people playing with qwerty keyboards? And is every single key able to play on/with the keyboard?
Reply to this commentwhy, when i come on here, i cant chat to anyone, how do you chat?????
Reply to this commentChat is optional in room configuration, disabled for lobbies, and enabled by default if you create a room. I don't think allowing chat on the lobby would be a good idea :P
Reply to this commentI was playing it normally, then my computer crashed and had to reboot. Now it doesn't connect! It just stays on offline mode. I tried cleaning cache, force-refresh and even using other browser, but nothing works. Checked http://websocketstest.com/ and everything's ok. =(
Reply to this commentJust wondering, I'm having major issues trying to connect and stay connected. Sockets look good, etc. Are there any plans to open source this? Any way to host it locally or on a private server location (for no profit of course with the possibility of adding more instruments)?
Reply to this commentIt keeps trying to connect then putting me into Offline mode. My friend is playing at the same time so the server must be up. Any thoughts on why? Port forwarding?
Reply to this commentMy current best guess is antivirus software. Try this http://websocketstest.com/
Reply to this commentDoes this support Midi input?
Reply to this commentIt can be done by interfacing with a Java plugin, and someone has already implemented this as a javascript API, but Java in the browser is a liability in the security department, and I'm not sure I would want the guilt of having persuaded people to install it (I'd have to install it in a virtual machine and find some sort of virtual midi keyboard to test it). From what I've read, the same access is not available with Flash or with Google's Native Client. Tthe web standards people are planning to add MIDI to HTML in the future, which I would *definitely* implement.
Reply to this commentThere should be some meter on THIS page that displays how many people are in the lobby right now. As in, RIGHT NOW, Not now at the time of this posting
Reply to this commentIt's saying I'm in offline mode. Is it under maitnance or something?
Reply to this commentProbably
Reply to this commentIt's working right now, 5 people are in the lobby. You may be experiencing difficulty if you are in the future
Reply to this commentCan we add a comments bar, so we could tell people to SHUT UP when we want them to? lol. cuz i try to play and only one preson played with me, everyone else does random crap
Reply to this commentI'm imagining what it would be like with a "shh" button. Right mouse button shush
Reply to this commentAwesome. Original and creative.
Reply to this commentCan you add a checkbox or a button for show/hide keyboard keys on the piano please?
Reply to this commenthttp://pastebin.com/3rDiimYW
Reply to this commenthow do i use this
Reply to this commentGoogle Autohotkey, install it, open up notepad, paste the stuff from pastebin into notepad, savfile typall files *.*, save it as Keys.ahk wherever you want, then double click the file you just made. Make sure you select the window with the piano open immediately after running the script.
You should add keyboard.
Reply to this commentI've added a notification to show people the keyboard feature :P
Reply to this commentawesome ^_^ fun experiment. may I ask why did you decide to do this in the first place?
Reply to this commentI don't remember lol
Reply to this commentwho ever is from malaga, es: we just made beautiful music together.
Reply to this commentIt's still greyed out and I can't hear anything.
Reply to this commentKeys are greyed out and i can't hear any sound.
Reply to this commentGreat experiment, but it could use some work. Some suggestions: 1.Divide the piano into sections for each person online 2.Play using the keyboard instead of the mouse 3.(as someone has previously mentioned) Limit # of players 4. Add a chat box 5.(as someone has previously said) limit the # of notes per second
Reply to this commentThanks for the advice! The piano can be played with the keyboard, already, but I think a notification would be nice to help people discover that feature. I do plan to address the other points, too :)
Reply to this commentGood experiment, awful players....
Reply to this commentPlease make an offline version. é_è
Reply to this commentNow you can do http://www.multiplayerpiano.com/WhateverYouWant ... will have to add a proper interface for creating a room, soon
Reply to this commentI want to play alone, it is possible to make a single-player version?
Reply to this commentThanks -- it should have offline play and "rooms" in the next day or two.
Characters shouldn't be allowed to play every note as fast as possible. Limit them to like 3 notes a second or something. Also put a limit on number of people allowed, 8 already seems to much. It seems like an interesting idea but it lends itself too easily to trolling
Reply to this commentI just aded a NoteQuota(tm) system, to help stave off the hungries. May need subtle adjustment
Reply to this commentI agree with all of this.
Reply to this commentLine broken for me as well.
Reply to this commentLine broken for me as well.
Reply to this commentLink broken :(
Reply to this commentSorry, the host didn't like it, and decided to leave me alone for the weekend :P I went ahead and set up a shiny VPS for this, just waiting now for the link to be updated
Reply to this commentIt's fixed!