Importing Music for more advanced sound design

A feature I’d like to see in Hopscotch is: Being able to import audio from videos in your camera roll or with a file of some sort.

I’d use it for this type of project: Almost all projects.

Sound and music are really important when playing games, but the current options we have even with advanced mode could improve. This is why people should be able to import music into their games which would allow for really complex and beautiful projects. I also find how music works in hopscotch really tedious and I never spend much time on it. This could allow for much more fun and creative games.

13 Likes

What do you think about this?

  • Amazing Idea!
  • It could use some work but it might work out.
  • Definitely not.

0 voters

10 Likes

Found a typo: Bing >> Being

Cool idea, it’s definitely a consideration, but they won’t be developing it anytime soon (nor anytime this year, most likely). There’s a lot of design and development that needs to be done to get something like this working optimally, and the current sounds Hopscotch has cause tiny lag spikes (noticeable in large projects with lots of clones) in projects when played, so improvements to that need to be done first.

Video files with music wouldn’t be such a great idea, since they are larger in file size than pure music files such as m4a or mp3. Not saying it’s not a good idea at all, the overall concept is a great idea.

And as an intermediate pianist and beginner songwriter, I definitely agree with you.

9 Likes

Thanks for the feedback! I don’t really know how the technical stuff like file size comes into play so I appreciate the response! Maybe to reduce lag instead of making every block one note, there could be a in app music maker that would reduce lag? (Even as simple as the song maker on chrome music lab.) It might be a lot harder to do, but it would be nice since coding every note one at a time is annoying and in-convenient. (Fixed the typo btw thanks for pointing it out!)

12 Likes

one thing that could go wrong: people sharing their voice, it would need to be in the human filter like images

10 Likes

Yeah I realized that while thinking about this but I thought it would be pretty obvious so I didn’t put it in.

10 Likes

Obviously, they’d need to be approved, so maybe to avoid workers sitting there listening 24/7, maybe a length restriction would be necessary?

10 Likes

But then the issue is that people will just upload it into different parts which ones you is probably even worse. This also shouldn’t be fixed by limiting the number of music clips because then it’s not very useful. I understand what you mean though. This could be fixed by just putting a in-app music maker that’s advanced enough to fit games very well.

6 Likes

Hopscotch projects have a maximum size they can be. So I don’t really see this being too much of a big issue as I would imagine bigger Sfx would take up more space. I’m not to sure with the max size at the moment as far as I’m aware of it’s 1 MB after Gzipping.

6 Likes

I’m just saying this is exactly what I need. I’m terrible at making music in hopscotch, but maybe uploading an mp3 for example would be better, for reasons stated by others above. I would really love this to be implemented though! Keep working on it hopscotch!

8 Likes

I would really love to see this!

Most games have no sound…

But I’m almost 100% sure that’s because there’s no custom sounds…

6 Likes

That’s definitely the reason why. Coding music on hopscotch is super hard and difficult

7 Likes

i disagree but i must agree at the same time

5 Likes

mp3 and m4a files would be the best approach for if and when THT decides to add the ability to add custom audio in Hopscotch.

m4a files would be better because they can reproduce better sounds than mp3 at the same bitrate, for example, you could get the same quality of a 192 Kbps mp3 file with a 64 Kbps m4a file (this may or may not be true, I haven’t tested that theory), and the size is smaller too, which is a nice added bonus.

The reason m4a has better quality than mp3 (even though they are the same size) is because they have an AAC encoder (which is also why mp3 players recognize it as an AAC file instead of an m4a file (and some have a hard time playing it, especially when seeking).

7 Likes

That would mean bad news for music in Hopscotch, since a 1.2 MB files can only be compressed down to 1.1 MB after gzipping (and that’s just for a 2:40s m4a file at 64 Kbps).

Hopscotch projects have a much higher max size (over 9 MB, I found out) because they can be compressed a lot more.

This either means THT would need to up their max .gz archive file size, or they would have to limit the size of the audio to only 30 seconds max (per project to be on the safe side).

5 Likes

Hang on, did anyone mention: copyright?! People might add copyright protected songs or something! There would need to be something to stop that! Also bump!

5 Likes

I think as long as the song isn’t released to the public it should be fine.

5 Likes

Well I did mention that the audio would have to get approved, so copyright problems are fixed. There are literally curated Pokémon games as well so if this worries you, you might want to make a topic about it

5 Likes

fair enough

4 Likes

Also, not to emanation lag! Adding decent music into a hopscotch project can significantly decrease the frame rate. This is one of the main reasons I don’t add any sound to my games

6 Likes