MIDI Note Drum Sound
==== ==== ==========
36 C2 Bass Drum 1
37 C#2 Side Stick
38 D2 Acoustic Snare
39 Eb2 Hand Clap
40 E2 Electric Snare
41 F2 Low Floor Tom
42 F#2 Closed Hi Hat
This file contains hidden or 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
| /** | |
| * Map function to get all the results from the database | |
| * this is specially useful if you're trying to access to | |
| * the questions and options as you may want to generate | |
| * a report in your system...(not only the answers) | |
| * | |
| * I mainly did this because of the lack of good examples | |
| * on the documentation, only through other github projects | |
| * and try and failure. | |
| * |
This file contains hidden or 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
| import java.util.*; | |
| class Col { | |
| color c; | |
| float d; | |
| Col(color _c, float _d) { | |
| c = _c; | |
| d = _d; | |
| } |
This file contains hidden or 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
| class PWindow extends PApplet { | |
| PWindow() { | |
| super(); | |
| PApplet.runSketch(new String[] {this.getClass().getSimpleName()}, this); | |
| } | |
| void settings() { | |
| size(500, 200); | |
| } |