First time here? Check out the FAQ!

polyphony handling

+1 vote
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?


asked Oct 8, 2018 in Capytalk & Smalltalk by domenico-cipriani (Master) (3,090 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) (121,430 points)