mapping to pentatonic scale (untested due to prevailing problems mentioned in previous commits)