A digital sound processor for music generation