Master thesis presented and approved by the Master in Sound and Music Computing of the Universitat Pompeu Fabra, Barcelona.