Kyma Forum
  Tips & Techniques
  simple looping sound

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

next newest topic | next oldest topic
Author Topic:   simple looping sound
gustl
Member
posted 18 July 2014 12:54         Edit/Delete Message   Reply w/Quote
Hi there,

I want to do a very simple looping sound but I can't figure out an easy way to do it.
A live input should be heard, when I send !KeyDown the first time it should start recording, 2nd time it should play the recording in a loop, 3rd time it should play the live input again. Then it should start over so I can record again when I send the next !KeyDown. Also there should be an option to play the live input over the loop or not. Sounds simple...
Ideas anyone?

Thanks!

IP: Logged

pete
Member
posted 18 July 2014 14:21         Edit/Delete Message   Reply w/Quote
Hi Gustl

It's always the simplest things that end up being complicated.

I'm not set up at the moment so I'll do it by guess work and you can tell me if it works.

First thing is you need to make you key down toggle to give you two held states.

You do this with

!KeyDown countTriggersMod: 2

This will either give you 0 1 0 1 or 1 2 1 2 in which case you will need to subtract one to get recording state and play back state. I think you need two states although the first state is don't record or play back. It may be that you want three states in which case you use three formula for the different states

(!KeyDown countTriggersMod: 3) eq: 0
(!KeyDown countTriggersMod: 3) eq: 1
(!KeyDown countTriggersMod: 3) eq: 2

Now You must decide the maximum duration of your loop and every thing is referenced to that.

Use a memory writer and trigger the recording from the start recording state.

Then you need a memory writer to be triggered by the record state, which is linked to a sample player by sharing the same file name (with from memory writer ticked). The sample players start is is triggered by your loop play state. The loopEnd field needs a ramp: which is set to the duration of the max loop length, (triggered by your record state) and then fed through a sampleAndHold: expression, (which is held by your loop state) which tells the sample player when (duration as a fraction of the max duration) to loop. You then need mixers with the states in the level fields to switch between monitoring sample playback and direct input.

I hope this makes sense

Pete

IP: Logged

SSC
Administrator
posted 18 July 2014 19:28         Edit/Delete Message   Reply w/Quote
Hi Gustl,

The Sounds in these Kyma Sound Library files might be useful starting points for what you propose to do:

Kyma:Kyma Sound Library:Sampling:Live capture & looping.kym

Kyma:Kyma Sound Library:Surround, multichannel, stereo:Live Loopers.kym

Please let us know how it goes.

Thanks!

IP: Logged

gustl
Member
posted 20 July 2014 02:20         Edit/Delete Message   Reply w/Quote
Brilliant! Thanks!

IP: Logged

gustl
Member
posted 21 July 2014 01:27         Edit/Delete Message   Reply w/Quote

SimpleLooper.kym

 
Attached the Sound discussed. Enjoy!

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