What’s up Hopscotchers it’s me, your local
troll I mean music meme lord GweTV.
You may have seen my previous topic GweTV's Guide To Coding Music which goes through the basic progress of coding music in Hopscotch. This topic here is meant to go even further in the quest for an amazing music mashup, while answering some of your questions along the way.
First, let’s run through some possible scenarios you might face while coding:
You want to code a song but you can’t find the right sheet music!!!
In this case, I would use any sheet music that is given. Guitar is the closest thing to piano that I have seen offered, so use that. You Tube might help, as some You Tubers link sheet music in the descriptions of their videos. You can also follow along in the video, and pause when you need to code. It might be harder, and it might require more experience, but you can do it!*
(*The easiest way to code music on Hopscotch is using piano sheet music, so I’m assuming you use that)
I made a mistake while coding, but I don’t know where I messed up!
Play your project through and listen for the note that is off. If your editor is organized well, you should be able to spot the wrong note and correct it. Sometimes counting out loud the beats will help. Double check that you put in the correct note in the editor by cross-referencing it with the sheet music. It’s easy to gloss over the note and think it’s an E, for example, when it’s actually a C (trust me, I have made this mistake lol)
My project is lagging and I don’t know what to do
This is the most common problem when coding music. It takes roughly 17 milliseconds (correct me if I’m wrong) for a block to run its command, so that might be a factor. Another factor might be too many notes (such as chords) running at the same time. Chords often lag out the project and can crash the app, but there are some fixes.
An easy fix could be adjusting the wait time between notes. You can estimate the reduction, 5 milliseconds, 10, etc. It does not have to be perfect or precise, just something to make it smoother. Remember, it takes practice, so don’t worry if it doesn’t end up 100% like you imagined it.
Relating to the chords, for right now I would limit the amount of chords you use. Unfortunately, there is no permanent fix I have to offer, other than possibly using secret blocks, but I would only use them at key points in the song.
The music starts playing immediately after I play the project
Simple fix. Add a wait block before the start to reduce the lag and the sudden “jump” of the notes. Give it half a second (0.5) or even a second if it’s really bad. You shouldn’t need anything past a second, though depending on the age of the device it might require it.
Some other things to go over/questions I’ve been asked:
What about drums?
I’ve been experimenting with using drums and notes. I’ve tried using separate objects and that works better than using only one. It’s hard to coordinate them, and it takes hours to get it to sound somewhat close to the original song. If you want to include drums, use a separate object. I wouldn’t do anything fancy, just a simple beat. It also brings up the limitations of drums in Hopscotch. You have a snare, a kick, but no real hi-hat. Substitute the hi-hat sound with any other sound you want. Be creative!
What about guitar?
There is no real guitar option in Hopscotch at this current moment. You have one sound that plays a chord, but that’s really it. Maybe we can ask THT to add guitar and possibly bass, along with expanding the sound library and drums.
What genre is the easiest to code music with?
Great question! Rock, alternative rock, metal (and the genres within it) and punk are hard to code for their complex riffs and melodies. I haven’t messed with pop and jazz much, but from what I’ve heard and tested it’s a bit easier. Again, it all comes down to the age of your device, and possibly the version of Hopscotch.
What can we do with music? Music is an art form, a way to express yourself, a way to show creativity. There are endless possibilities, and I look forward to any music you all code in the near future.
What inspires you to code music?
Usually I hear a song I really like, and want to replicate it in Hopscotch. To create my mashups, I get a few songs from a specific category (ex. rock, punk, metal, or even from a single band) and figure out all the other logistical stuff. I have a list in my profile of artists who have influenced me if you want to check them out for inspiration!
Was this topic helpful?
Tag me here if you have any music questions. Anything, and I mean anything lol. I’ll also post some updates to this topic when necessary. Anyhow, happy Hopscotchin’ and stay cool bros