You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					
					
						
							27 lines
						
					
					
						
							542 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							542 B
						
					
					
				| void setData() { | |
| 
 | |
| 
 | |
|   swing     = 50; | |
|   duration  = int((60/float(bpm))*1000); | |
|   beat      = 0; | |
| 
 | |
|   //println(bpm); | |
|   //println(patternLabel); | |
|    | |
|   /* | |
|   samples = new boolean[numTracks][divider]; | |
|   for(int i=0; i<numTracks; i++) { | |
|     boolean[] tmp = new boolean[divider]; | |
|     for(int x=0; x<divider; x++) { | |
|       tmp[x] = false; | |
|     } | |
|     samples[i] = tmp; | |
|   }*/ | |
|    | |
|   // Load sound files | |
|   file = new SoundFile[numSounds]; | |
|   for (int i = 0; i < numSounds; i++) { | |
|     file[i] = new SoundFile(this, "BANK" + bank + "/" + (i+1) + ".wav"); | |
|   } | |
| 
 | |
| }
 |