Write Effective Ostinatos and Counter Melodies