An interactive music visualiser.
It allows the user to compose music through playing various sounds and altering the visuals being displayed.
-
Use the MOUSE to select a song in the top left corner to play (only 1 can be played at a time / click it again to stop it)
-
Click and drag the mouse to draw a trail of rain which can be used to trigger the two square boxes at the centre of the screen. (Place your mouse above the squares and click and drag your mouse in an upwards motion*)
-
Use the ARROW KEYS to play beats moving along the horizontal axis
-
Use the SPACEBAR to switch between screens (Screen one graphs the amplitude of the sound / Screen two displays randomly generated stars that respond to the amplitude of the sound)
(* NB Stop triggering to play the sound more than once. A.K.A Don't spam the trail of rains on the square to play the sound again)
Enjoy and have fun! :)
Here I have created a checklist based on the mark scheme. I have ticked off sections I believe that I have completed. (Bonus marking criteria is NOT included).
My Term 2 targets are as follows (WIP grade = 7.6/10 ):
- Try to incorporate nested For Loops and 2D arrays in my program.
- Using random access or insertion/splicing of arrays.
- Using break and returns in For Loops.
- Basic program with setup and draw
- At least 1 variable
- At least 1 if statement
- Several variables
- Nested if statements
- Boolean variables
- Complex boolean conditions
- Your program uses at lease one basic loop
- Many loops
- Nested loop
- Using the loop variable
- Non-standard loop (e.g. backwards)
- Searching or otherwise breaking out of loops with break or return
- While loop
- Your program uses at least one basic array
- Loops with arrays
- Functional programming (map, filter, reduce, etc)
- Arrays of objects
- 2D arrays
- Random access of arrays
- Random insertion/splicing arrays
- Your program uses at least one function defined by you
- Most of your code is in your own functions not draw, setup etc
- Parameterised functions
- Return values
- Anonymous functions
- Functions that return different things depending on conditions or use conditions to return at different points in the function
- Passing functions as arguments
- Your program uses at least one object
- Your objects have functions attached
- Use of classes or constructors
- Parameterised functions
- All of the functionality relating to your objects is functions attached to the object
- Almost all of the functionality of the program is in objects
- A design involving many objects that interact with each other