Hello folks,
I'm new in town.
Finally got on here after MUCH bugging of Nigel

I have a pet piano practice program that's kind of my life's work. And I'm trying to add style playing to it's list of features (as my Yamaha CP-33 won't do it in hardware)
I have a pretty good understanding of
- yamaha style file format (thanks to JorgenS,PeterW)
- chord qualities (and yamaha's list of defined ones)
- midi software in general (see my pet in the sig)
What I'm not understanding is how the notes of the style are transposed into the notes of the chord you PLAY.
I understand that the style file is keysig=C based and you transpose from C to the root of the PLAYED chord.
And I get that the style chord channel is based on a particular chord quality - usually CMaj7 so you need to scoot around the 1,3,5,7 chordals.
But I don't understand what to do when:
1) the style note isn't on the 1,3,5 or 7 of the style chord quality.
2) the played chord type doesn't INCLUDE a chordal of the style note. For example, you have a 4 note style with CMaj7 based C,E,G,B. And you PLAY a Cmaj. The B gets totally scooted to a new chordal as the played chord has no 7th. I can see how you want to play all style notes on SOME note to keep the rhythm, etc. But I don't understand how the new note octave,step is picked.
If anybody can help me with this, I'd greatly appreciate it !!