@@ -0,0 +1,655 @@
+package tonality;%0A%0Aimport java.lang.reflect.Array;%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0A/**%0A * Created by olivier on 16/05/16.%0A */%0Apublic class Chord %7B%0A    private int _root;%0A    private int _mediant;%0A    private int _dominante;%0A%0A    public Chord (int root, String s) %7B%0A        _root = root;%0A        _mediant = root + (s.equals(%22major%22)? 4 : 3);%0A        _dominante = root + 7;%0A    %7D%0A%0A    // ---------- Getters ----------%0A    public List%3CInteger%3E getChord() %7B%0A        return Arrays.asList(_root, _mediant, _dominante);%0A    %7D%0A%0A    // FIXME: We can add function for the different kinds of chords (eg. augmented etc.)%0A%7D

add Chord class