Harmonic Pattern Recognition And Machine