A Predictive Model for Music Based on Learned Interval Representations