I've just spent far too long writing the beginnings of a ridiculous music game for web browsers. You use either a MIDI keyboard or the computer keyboard (a s d f g h j k). The game plays a bar of random notes and you have to play it back, correct notes and correct timing. As you level up, the patterns get more rhythmically complicated. If you make 5 mistakes, game over; you have to start again. Still probably a lot more to do to make this more interesting, but I'm curious as to whether anyone finds this remotely worthwhile.
One challenge right now is how to calibrate if you don't have absolute pitch. I feel like I might need to add some sort of screen where it plays you a few notes until you find the right ones or something. For now, note that it's in A minor, A3 to A4.
files.jantrid.net/simus/

reshared this

in reply to Pratik Patel

@ppatel @KaraLG84 This is a wildly different concept to what you're doing but it popped into my head just now. With some modifications, what you have here could be a fantastic tool to learn pieces of music on the keyboard by ear. Take a thing of sheet music, split it into bars, allow user to pick one or two hands, keep playing the bar until the user plays it correctly, then move on. I don't think anything like this exists currently
in reply to Jamie Teh

@remixman OK now what would be kind of cool is if you used some kind of old-style machine learning a la the pi composer or whatever it was to output melodic fragments that are a bit less randomly generated and a bit more musically correlated? Trained on, MIDI melodies probably. Loads of free MIDI out there. And the higher level you get perhaps the influence factor goes down and heads towards randomness for difficulty levels.
@Andy
in reply to Jamie Teh

Oh boy I love this. Level 3 is a killer for me though, I'm great at melodies but am weaker with dense/syncopated rhythms. For me level 1 is easy, level 2 is moderate, level 3 is very hard (or impossible right now). Maybe I'll get better with practice.

My only suggestions are that the levels feel a tiny bit too long? Might just be me getting impatient though. Also, I think there should be a way to earn lives/mistakes. I need all I can get for level 3 hahaha

in reply to Ray Dog

@musicalman Yah, I was wondering about the lengths of the levels. Part of the problem is that I'm running out of ideas to make more levels, haha. I probably need to add more loops so we can do faster tempos and stuff. Agree on adding lives. Any suggestions as to how to earn them? Maybe every 10 correct responses gives you 1 life back or something?
in reply to Jamie Teh

Yeah that was the first thing I thought of with getting lives back, and I think it would work well. I also like the idea of adding different loops at different tempos.

Big thing I'm worried about is just how to curve the difficulty progression of the melodies. I actually experimented with a similar idea a few months back. I tried adding more notes closer together to increase difficulty, but I didn't like it. I don't know if i'll be coming back to that project any time soon, but if I did, I'd likely make a probability system where certain steps of the sequence are much more likely to have a note dropped on them. As just one example, the first note of each beat has a higher chance than the rest. Or something like that, I'm still nowhere near done mulling it over. Anyway that could be a powerful dimension for difficulty adjustment.

in reply to Jamie Teh

@Jage that makes sense. I aappreciate the lower volume though. I'm one of those people who never has music on in the background when working or listening to my screen reader. My brain just doesn't work that way. It could explain why I'm terribly bad at games with loud background noises.
@Jage
in reply to Jamie Teh

This could very well just be me, but I feel like sometimes I'm playing the notes correctly and on the correct rhythm and it still occasionally seems to be counting it as wrong sometimes. Again this could very well just be me not hearing something right, but this has happened a number of times now where I'm wondering if there's something going on under certain conditions? I am playing using my computer keyboard. This is a great game and I am really having a great time with it! Thanks for putting this together.
in reply to Brandon Tyson

@BTyson Yeah, I think I've seen that once or twice, particularly if I game over and restart. But I'm not entirely sure if it was just me either, haha. I was seeing bugs like that before I released it, but I thought I'd squashed all of those bugs. Can't rule out one lurking somewhere though. Getting the timing right for this in the code is tricky.
in reply to Jamie Teh

@BTyson How many levels are there? So far I have not got past 3 so I guess I can't ask for faster modes lol. Are you tracking people's scores? In addition to tracking correct notes, 1 point per loop it seems like currently, perhaps some score bonus, or more points based on timing, or points for streaks, etc. It's a cool timewaster for sure.
in reply to Jage

@BTyson @Jage I think I did 6 levels or something? Can't quite remember right now. I've only reached level 4 myself. Yeah, I guess the score could be multiplied by the level or something, though ultimately it just results in a bigger number. :) I've more been wondering whether something should gain you extra lives, since you really need them later in the game. I'm not tracking any stats at this stage. That would require server side code, which I can do, but there's always a chance of abuse: some troll overfilling the database with data, etc. I don't have the cycles to do all of the required security work to protect against that.
in reply to Jamie Teh

I also have occasionally hit a thing where sometimes, it sounds like one of the notes will get stuck while it's playing the sequence to me, and that lead me to think that the note was supposed to be played twice, but it counted it as an error. So I'm wondering if it's very occasionally missing a note when it should be playing another. This also seemed to happen on level 1.
in reply to Jamie Teh

OMG it's like how I played Simon Trickster! Was there ever other hardware that did this? I loved doing this kind of thing, when I was in Jazz Band at my high school for a year me and one of the percussionists would do this. He would play phrases at me on the vibes and I'd play them back on the piano, and vice versa.
in reply to Jamie Teh

Feature request; Can we get a pause button? ANd is there a quit button? Perhaps p and q, or x, or escape or something. If I pause and resume mid-playback, it should reset to the top of the bar. To avoid cheating you could put a grace period of a sort on pausing so you can't use it every turn or something like that.