Kyma Forum
  Kyma Support
  countTriggersMod question

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

next newest topic | next oldest topic
Author Topic:   countTriggersMod question
franz
Member
posted 23 May 2007 01:12         Edit/Delete Message   Reply w/Quote
I want to use a "(!Gate bpm: !BPM) countTriggersMod: 8): of#...." expression and to turn the trigger on and off (with the !Gate). But I want to start the array always at the beginning (with this expression it starts from that place where it has stopped the last time).
How could I do this?
Thank you!
Franz

IP: Logged

SSC
Administrator
posted 23 May 2007 08:30         Edit/Delete Message   Reply w/Quote
You might try mutliplying the modulus by the Gate so that it drops to 0 when you turn off the gate. (not sure whether this will do the trick or not as I have not tested it yet):

(!Gate bpm: !BPM) countTriggersMod: (!Gate * 8)): of#...."

Or you could try another approach:

((!Gate repeatingRamp: (!BPM bpm s * 8)) * 8) of: #(...

Or, if you want to be able to stop in the middle:

Gate trackAndHold: ((!Gate repeatingRamp: (!BPM bpm s * 8)) * 8) of: #(...

IP: Logged

cristian_vogel
Member
posted 24 May 2007 07:36         Edit/Delete Message   Reply w/Quote
nice!

IP: Logged

franz
Member
posted 29 May 2007 06:32         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
(!Gate bpm: !BPM) countTriggersMod: (!Gate * 8)): of#...."

Or you could try another approach:

((!Gate repeatingRamp: (!BPM bpm s * 8)) * 8) of: #(...

Or, if you want to be able to stop in the middle:

Gate trackAndHold: ((!Gate repeatingRamp: (!BPM bpm s * 8)) * 8) of: #(...


I tried the expressions above but with the first one it continues where it has stopped, with the second and third it changes the value at every trigger only. Maybe I got something wrong?

Franz


IP: Logged

SSC
Administrator
posted 29 May 2007 11:50         Edit/Delete Message   Reply w/Quote
Maybe it is a matter of parentheses? I tried the following expression and it seemed to work:

((!Gate trackAndHold: ((!Gate repeatingRamp: (!BPM bpm s * 8)) * 8)) of: #(60 61 62 63 64 65 66 67)) nn

As long as you hold !Gate down, the sequence continues. If you lift up !Gate and then retrigger, it starts over again at the beginning of the sequence.

IP: Logged

franz
Member
posted 31 May 2007 10:01         Edit/Delete Message   Reply w/Quote
Thats it! Thank you!
Franz

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