The finished patch! It's got zl.nth as a way to get eh 1st, 3rd and 5th notes from the list.

Recipe: Making things fit into key with zl objects, vexpr, and lists in Max

<pre><code>
———-begin_max5_patcher———-
1265.3oc2a00iZiCE8YpT+Ob2n8ocoi7W4q9zJs+E12VUUEBtCtERPIg4iVs
+2WG6joLfIbmgA2.7PhvDHmywWetWaG9w6e2jfYkOHqCfOB+KLYxOzsLwzVa
KS5aXRvprGxWlUatvf7xUqjEMAS69vF4CMlO3epTYyqg6WnxW.YURHa48YOV
CpB3axG+sm9Bp4lKub1W+PB+oVWm0juPUb6mqj4MVDEFSugLEBYosmnIj1SL
8Q3S8eqhMqTEKkMFnQ2p0xMM8MS5att4wkRy8Nvzx+8920dVeZ5oy9+dQoJW
BkeAxWTVM2IaoCw1HJ2vOCmogWHjU2yB0paKxZ1TIcQ53zgHsHN7lvo.mGOd
Xcg7dMv2mzMvLP4jhC1uxiL8n7TSTL2xP1KkgLGLruI6k073Zo8NFLKq31fo
PfR22Ae5UKDqj00Y2J2WI3QtjgnvAkgjnsFLGdLYf4VFnuDY3rvcAwI2YCFk
KRtN3N2I2ICZhSIWRbWeamIqbQyvDLixihNDMWmUksR1Hq9rrHalkDjylEP6
veiMvonEGvHTyZo5NYq2etIQfS4JBib046ShNRXAYrNjfGoc1.AADTPvAQnN
kFHRbpHC5ORS57HX1hc3WrCTnzg8CrFAzahzuhYW6CV9C3CTmtlHDoX8Q8Kp
tBIs8Y3YOd3DqWX.uSDjs0DfqeIDW6gD2IeXcE76JJ7m5iL8QsKxeUmmsLqZ
U4bI3Nfgiv9PH3lwUrn1xnG8dHGPf99RnnYAD5RFDQHp1PjRsmdcBvKNR4LJ
BNK4RHPTt4UjH3b.gffX9FWChvxxr41ozsuHvSP3JPIBS0Vz3W2jOou3IedN
J0xYQU73g3eWwTQFUvKoP8d+eHB9yMiAhHWx89DfABHDhgTfRAJCnBcOKPiA
ZJvn.iCLAvh.VhtqVGrqmcAvclCgiIUJqcYnRr0ivShubSkVWV03TEnX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