Help with list processing in Bach (but still a general Max question)

noiseandrones's icon

Hi there,

I am building a patch for microtonal composition.

On the right hand side, I have a a bank of oscillators so I can hear what I'm doing, and a series of frequencies getting converted to Bach MIDI cents.

I want to be able to populate the Bach window with each pitch, using an ascending onset, in the following format:

'add chord 1 [0 (onset) [(freq 1) 1000 (duration), 50 (velocity)]]
'add chord 1 [1000 (onset) [(freq 2) 1000 (duration), 50 (velocity)]]
'add chord 1 [2000 (onset) [(freq 3) 1000 (duration), 50 (velocity)]]

I can't seem to make this work. Can anyone help? Patch (messy) is attached:

Max Patch
Copy patch and select New From Clipboard in Max.

noiseandrones's icon

Can I bump this? Need a solution quite quickly.

Source Audio's icon

No - patch is too messy,
and I don't use bach anyway.
If you would post what exact message your bach object accepts,
and what you build it from, then maybe.