First time here? Check out the FAQ!

In a ModalFilter Sound, how is it possible to play objects via keyboard as a tuned instrument?

0 votes


In a ModalFilter Sound, how is it possible to play these nice objects sounds via the keyboard as a tuned instrument? I was thinking to insert a !KeyPitch message into the ModeFreqs-parameter field. Not sure if this is the right approach, or should this be done by inserting an dedicated sound? HereĀ“s the jpg of the orignal code:

Many thanks in advance,



asked Feb 13, 2017 in Using Kyma by martin-stehl (230 points)

1 Answer

0 votes

If you replace !LeftFrequency with !KeyPitch hz removeUnits then the pitch of the ModalFilter will be controlled by the keyboard. You will probably want to change the input to the ModalFilter to be triggered by !KeyDown as well.

The prototype McClain Metal Bar ModalFilter KBD is an example of a keyboard-controlled ModalFilter that you could use as a guide for modifying your Sound.

answered Feb 13, 2017 by ssc (Savant) (70,090 points)