First time here? Check out the FAQ!
x

polyphony handling

+1 vote
374 views
Hello hello, I hope all is good.

I am trying to build a kind of polyphonic sequencer/chord machine on the base of never engine labs global sequencer.

I would like to understand how kyma handles polyphony. what happens when two midi notes are pressed at the same time?

to make this chord machine I am thinking about "intercepting" the !KeyPitch with a TransformEventValue and assigning to it an hot value generated by the NEL Global Sequencer. but what about the second note of the chord, and the third, and so on?

thanks.

d
asked Oct 8, 2018 in Capytalk & Smalltalk by domenico-cipriani (Master) (3,110 points)

1 Answer

0 votes

Hi Domenico, you might try taking a look at the Prototype called Replicator for non-Keyboard polyphony as an example of how to use Replicator to create polyphonic behavior in non-keyboard events. It uses TransformEventValues to transform a !Gate into the round-robin triggering expression:

{!Gate triggerEvery: ?NumberVoices offset: ?VoiceNumber - 1} 

answered Oct 8, 2018 by ssc (Savant) (127,080 points)
...