public static ArrayList<ArrayList<Double>> stringToFreqs(String string) {
		ArrayList<ArrayList<Double>> v = new ArrayList<ArrayList<Double>>();
		Scanner scn = new Scanner(string);
		while (scn.hasNext()) {
			ArrayList<Double> notes = new ArrayList<Double>();
			String str = scn.next();
			boolean contained = false;
			for (String s : Chords.getChords()) {
				if (str.contains(s)) {
					contained = true;
					break;
				}
			}
			if (!contained) {
				int i;
				if ((i = stringToMidi(str)) != -1)
					notes.add(midiToFreq(i));
			} else {
				String chord = str.replaceAll("[a-gA-G][s#b]?-?[0-9]?", "");
				String baseNote = str.replace(chord, "");
				for(int i : Chords.getChord(stringToMidi(baseNote),chord))
					notes.add(midiToFreq(i));
			}
			v.add(notes);
		}
		return v;
	}