public String pickNotePitchBass(String startingPitch, boolean upFlow){
		Random randy = new Random();
		String pitch = startingPitch;
		//System.out.println(Song.getKeyIndex(pitch));
		String[] noteRange = new String[7];
		if(upFlow){
			for(int i = 0; i<noteRange.length; i++){
				if((Song.chordTones.length>Song.getKeyIndex(pitch)-2+i) && (Song.getKeyIndex(pitch)-2+i>=0)){
					noteRange[i] = Song.chordTones[Song.getKeyIndex(pitch)-2+i];
				}else if((Song.chordTones.length<=Song.getKeyIndex(pitch)-2+i)){
					noteRange[i] = Song.chordTones[Song.getKeyIndex(pitch)-2+i-Song.chordTones.length];
				}else{
					noteRange[i] = Song.chordTones[Song.getKeyIndex(pitch)-2+i+Song.chordTones.length];
				}
			}
		}else{
			for(int i = 0; i<noteRange.length; i++){
				if((Song.chordTones.length>Song.getKeyIndex(pitch)+2-i) && (Song.getKeyIndex(pitch)+2-i>=0)){
					noteRange[i] = Song.chordTones[Song.getKeyIndex(pitch)+2-i];
				}else if((Song.chordTones.length<=Song.getKeyIndex(pitch)+2-i)){
					noteRange[i] = Song.chordTones[Song.getKeyIndex(pitch)+2-i-Song.chordTones.length];
				}else{
					noteRange[i] = Song.chordTones[Song.getKeyIndex(pitch)+2-i+Song.chordTones.length];
				}
			}
		}
		pitch = noteRange[randy.nextInt(noteRange.length)];
		return pitch;
	}