app/src/main/java/com/example/dannyboy/smartguitarapp/TextTabParser.java
public void add_strings_indication(){
		for(int i = 0; i < time_list.size(); i++){
			Second curSecond = time_list.get(i);
			if(curSecond.isEmpty() || curSecond.isEOM())
				continue;
			else{
				for(int j = 0; j < curSecond.myDots.size(); j++){
					Dot curDot = curSecond.myDots.get(j);
					if(curDot.get_color().equals("blue") || curDot.get_color().equals("green") || curDot.get_color().equals("red")){
						Dot ctrlDot = new Dot(0, curDot.get_string(), "purple");//ctrlDot=string_dot
						if(!curSecond.isDotInMyDots(ctrlDot))
							curSecond.myDots.add(ctrlDot);
					}

				}
			}
		}
	}
/**
	 * Adds a LED indication on the PCB for the guitar string that should be played (the controller LEDs).
	 *
	 */
Adds a LED indication on the PCB for the guitar string that should be played (the controller LEDs).
Adds a LED indication on the PCB for the guitar string that should be played ( the controller LEDs ) .
public void add_strings_indication(){
		for(int i = 0; i < time_list.size(); i++){
			Second curSecond = time_list.get(i);
			if(curSecond.isEmpty() || curSecond.isEOM())
				continue;
			else{
				for(int j = 0; j < curSecond.myDots.size(); j++){
					Dot curDot = curSecond.myDots.get(j);
					if(curDot.get_color().equals("blue") || curDot.get_color().equals("green") || curDot.get_color().equals("red")){
						Dot ctrlDot = new Dot(0, curDot.get_string(), "purple");
						if(!curSecond.isDotInMyDots(ctrlDot))
							curSecond.myDots.add(ctrlDot);
					}
				}
			}
		}
	}
public void add_strings_indication ( ) { for ( int i = 0 ; i < time_list . size ( ) ; i ++ ) { Second curSecond = time_list . get ( i ) ; if ( curSecond . isEmpty ( ) || curSecond . isEOM ( ) ) continue ; else { for ( int j = 0 ; j < curSecond . myDots . size ( ) ; j ++ ) { Dot curDot = curSecond . myDots . get ( j ) ; if ( curDot . get_color ( ) . equals ( "blue" ) || curDot . get_color ( ) . equals ( "green" ) || curDot . get_color ( ) . equals ( "red" ) ) { Dot ctrlDot = new Dot ( 0 , curDot . get_string ( ) , "purple" ) ; if ( ! curSecond . isDotInMyDots ( ctrlDot ) ) curSecond . myDots . add ( ctrlDot ) ; } } } } }
Adds a LED indication on the PCB for the guitar string that should be played (the controller LEDs).
Adds a LED indication on the PCB for the guitar string that should be played ( the controller LEDs ) .
//ctrlDot=string_dot