Converting piano sheet music to guzheng (using Matlab + LaTeX)


Conversion into pentatonic scale

I wrote the matlab code that converts piano sheet music (from .midi file) into guzheng sheet music (typeset in LaTeX). The matlab code for reading the .midi file is taken from Ken Schutte

I have written the code for conversion into these major pentatonic scale (D, G, A, B-flat, C, E-flat, F). D and G major are most common.

See guzhengalive for the tuning charts of all major pentatonic scale

Playability of the score is also evaluated in the matlab code. The figure of merit includes:


1) percentage of the notes being 4 or 7 or sharps (playing them require pressing a string to change the frequency).


2) minimum time interval between pressing two different strings


3) The highest note (To ensure the highest note is within the playable range of guzheng, I lower every note by the same factor.)


Songs converted: Faded, River Flows in You, Symphony, Light Years Away, Prelude, Sadness and Sorrow, Styx Helix, To Zanarkand, With You With Me



Guzheng scores:

Guzheng sheet music conversion

I convert piano sheet music (from .midi file) to guzheng sheet music in these major pentatonic scale (D, G, A, B-flat, C, E-flat, F). You can see some samples (To Zanarkand, With You With Me)

See guzhengalive for the tuning charts of all major pentatonic scale

Playability of the score includes:


1) percentage of the notes being 4 or 7 or sharps (playing them require pressing a string to change the frequency).


2) minimum time interval between pressing two different strings


3) The highest note (To ensure the highest note is within the playable range of guzheng, I lower every note by the same factor.)


Back to top