Skip to content

Commit

Permalink
#1 implementation - Add four variables in script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonaPiz committed Oct 9, 2023
1 parent 541e09d commit 1e1b791
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions public/js/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
/*1.
Quattro variabili per rappresentare gli array di drum pad. Questi array prendono il nome dai
tamburi che rappresentano: kicks, snares, hiHats, rideCymbals. Questi array dovrebbero avere
tutti una lunghezza 16e essere riempiti con false.
*/
// Drum Arrays
let kicks
let snares
let hiHats
let rideCymbals
let kicks = new Array(16).fill(false);

let snares = new Array(16).fill(false);

let hiHats = new Array(16).fill(false);

let rideCymbals = new Array(16).fill(false);

0 comments on commit 1e1b791

Please sign in to comment.