implemented playback of irregular shapes, the sound lookups through the figure and changes the frequencies accordingly