Click here to Skip to main content
14,865,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all, I’m a composer who is a novice programmer and I’m trying to make a sort of interactive score work. It would be a webpage on Wix that hosts HTML5 code and works with JavaScript. Right now, I have the code needed to make a simple quiz like game where you would select certain aspects of the score that you’d like there, as well as the code for a drag and drop type of game in order to arrange a certain set of measures of music in whatever order the “player” would like.

My question is split into two parts. The first is how I would go about making it so the graphics of the score are saved into the background, and if there is a way to export it as a printable image at the end of the game. The second would be if there would be a way to generate a playable audio file at the end of the game, based on that image. I was thinking that a Max patch could do the job, but am unsure how to implement it exactly. Any help with either of these questions would be greatly appreciated!

What I have tried:

I’ve tried google and scrounging around forums such as this one. Because I’m fairly new to coding, I haven’t tried to edit the code that I already have in fear that I’ll mess something up.
Posted
Updated 2-Aug-19 5:18am

1 solution

To be honest, if you are too afraid to edit the code in fear it will mess it up, then you really aren't going to get anywhere.

So rule one: Backup.
When you get your code working, make a copy. Copy the whole folder into a "backups" folder, and date and time it:
MyProject/Backups/20190802-1611
That way, you can go back to a previous version at any time and know it should work. For more advanced students, create a repository on Github, and use source control to "Check in" working versions, and "Check out" to get them back again when you mess it up.

The rule two: Learning.
You won't learn much - and certainly not anything useful - by getting others to do it for you. You learn best by trying, and making mistakes: so if you think a "max patch" might do the job, then try it! All you have to lose is a little time, and it might work. If it doesn;t, you will have learned something about "max patches" which may be useful next time.

But to be honest, if you are new to coding, you are probably attempting a project which is well above your current pay grade, and I'd strongly suggest that you get some experience under your belt with simpler stuff, rather than diving in with something that even experienced developers would probably want to sit down and think about for a couple of days before even starting to design the system!

Good luck!
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900