-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1 implementation - Add four variables in script.js
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |