import rwmidi.*; MidiOutput output; int scale[] = new int[] {10, 20, 30, 50, 70, 80, 100, 120 }; int prevPitch = 0; int MAX = 40; ///declaracion de la variable myArraydePelotitas //notacion del Array> tipo, corchetes rectos, nombre del array //declara el array y le asigna un valor pero solo en una linea Pelotita[] myArrayDePelotitas= new Pelotita[MAX]; void setup(){ size(800,600); background (0); for(int i =0; i