Kyma Forum
  Tips & Techniques
  Sample Looping question...

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Sample Looping question...
JackRosete
Member
posted 02 December 2005 15:46         Edit/Delete Message   Reply w/Quote
I'm working on a sound for live performance using the Sample prototype. I've set up some looping functions based on the sample playback position whenever a !Keydown is received, using the following scripts - courtesy of SSC : )

LoopStart: !KeyDown sampleAndHold: (1 repeatingRamp: 'Break.aif' sampleFileDuration s)

LoopEnd: (((!KeyNumber - 59) * 5 ms) / ('Break.aif' sampleFileDuration s)) + (!KeyDown sampleAndHold: (1 repeatingRamp: 'Break.aif' sampleFileDuration s))

I would now like to extend the functionality of this sound so that a !Keydown will trigger the above functions, and a zero velocity (!KeyUp???) will trigger a return to normal loop playback.

If possible, it would be ideal if the resumption of normal loop playback could occur at the point where it would have been if no !keyDown had been received in the first place - if that makes sense!

Not sure how to implement this in Kyma.

Would appreciate some help : )

Jack

IP: Logged

JackRosete
Member
posted 02 December 2005 16:37         Edit/Delete Message   Reply w/Quote
Another thought! Could aftertouch be built-in somehow to increase/decrease the micro delay time on the fly? That would be a very interesting variation...

Is there an expression for using aftertouch in a parameter field?

It's so easy to get carried away in Kyma! lol

Thanks in advance,

Jack

IP: Logged

SSC
Administrator
posted 02 December 2005 20:31         Edit/Delete Message   Reply w/Quote
One approach might be to use a CrossFade module to combine the Sample you have with a second Sample that loops continuously (without the stuttering !KeyDown interruptions). Then you could use !KeyDown to control a crossfade from one to the other by setting the Fade parameter to:

!KeyDown abs smooth: 5 ms

where you could replace 5 ms with the desired duration of the crossfade.

IP: Logged

JackRosete
Member
posted 02 December 2005 22:25         Edit/Delete Message   Reply w/Quote
Thank you! Worked exactly as I was hoping.

Jack

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c