first version of the melody visualiser