First time here? Check out the FAQ!
x

!MorphX during !KeyDown

0 votes
430 views
Hi!

I'd like to morph two sounds during the active !KeyDown
so that:

when Sound receives !KeyDown,  
morphing starts from one given point
(0.25 let's say)
and it stops at another given point
(0.75)
when !KeyDown is off.

So, if incoming !KeyDown is longer,
the morphing process will be slower …

That means that Kyma should somehow know how long the
!KeyDown is going to be, doesn't it?

Of course, I can automate the whole process in external sequencer,
but I was wondering, maybe there is some
"Clairvoyance" Expression or Prototype :)

Thanx
S
asked Apr 7, 2017 in Capytalk & Smalltalk by samuel-sacher (Practitioner) (590 points)
!KeyDown ramp: (SignalProcessor predictFuture)?
;)
Looking forward to this! Let's call it Nostradamus Prototype!
:)

1 Answer

+1 vote
I havent found the clairvoiance expression yet ;)
in the meantime you'd need to scale the morph time for each note length (if different from previous) before the !Keydown.
Or perhaps use !KeyVelocity to scale morph time
answered Apr 8, 2017 by sean-flannery (Adept) (1,510 points)
I've done something like this, but as you notice, it requires a sequencer.  I use Python to process my Midi file and insert a control change at the beginning of each note that is proportional to the length of the note. I like using it to slow the attack in proportion to the length of the note, so longer notes come in slow, and short ones have a crisp attack.
...