Kyma Forum
  Tips & Techniques
  selecting from an array

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

next newest topic | next oldest topic
Author Topic:   selecting from an array
taylor12k
Member
posted 26 June 2003 08:07         Edit/Delete Message   Reply w/Quote
hi,

i'm looking to do the following:

have a sample, with a variable loop start point, and then have the loop END point being determined from an array where the data equals various distances from the start point (200ms, 500ms, 1s, etc.).. easy enough.. but i woule like to have this array to be available, in the VCS, as some sort of series of selections, via, ideally, buttons/toggles.. so, i have one button called "200ms" and when i click that, my loop turns into a 200ms loop, and then when i click the "500ms" button, my loop turns into 500ms.. etc.

i know how to read data from an array via a random automatic selection.. but that would make my loop points constantly changing... so, is it possible to assign some sort of controller (again, butons/toggles prefered) to select the various values in an array... or, is there another way to accomplish what i'm trying to do.. perhaps not with an array..

thanks!

IP: Logged

SSC
Administrator
posted 26 June 2003 09:58         Edit/Delete Message   Reply w/Quote
Would this work? In the LoopEnd parameter field put:

(!quarter + (2 * !half) + (3 * !threeQuarters) + (4 * !full)) of: #(0 0.25 0.5 0.75 1)

Play the Sound, unlock the VCS, and change the !quarter etc to check boxes. (During playback you would have to uncheck one box before checking a different one though).

Alternatively, you could just put
!LoopLength of: #(0 0.25 0.5 0.75 1)
and use the VCS editor to change the !LoopLength fader to have a range of 0 to 4 and a grid of 0.25. Then you could add labels next to the fader for the different lengths.

IP: Logged

taylor12k
Member
posted 26 June 2003 12:02         Edit/Delete Message   Reply w/Quote
excellent, i'll try that!
i should have realized your 2nd option.. the slider w/ grid.. but, i'm not so used to editing the VCS yet...

the more i learn about kyma, the more i feel like a beginner!


quote:
Originally posted by SSC:
Would this work? In the LoopEnd parameter field put:

(!quarter + (2 * !half) + (3 * !threeQuarters) + (4 * !full)) of: #(0 0.25 0.5 0.75 1)

Play the Sound, unlock the VCS, and change the !quarter etc to check boxes. (During playback you would have to uncheck one box before checking a different one though).

Alternatively, you could just put
!LoopLength of: #(0 0.25 0.5 0.75 1)
and use the VCS editor to change the !LoopLength fader to have a range of 0 to 4 and a grid of 0.25. Then you could add labels next to the fader for the different lengths.




IP: Logged

taylor12k
Member
posted 26 June 2003 12:04         Edit/Delete Message   Reply w/Quote
also... i forgot to mention.. this idea is to be used with 3 or 4 sample players at the same time, so i can create rhythms using varying loop lengths, but all locked to some sort of .25/.5/.75 type of grid.

another question.. could it work where all the samples start at the same time, thus insuring that all of the loops are locking up and staying in sync?

quote:
Originally posted by SSC:
Would this work? In the LoopEnd parameter field put:

(!quarter + (2 * !half) + (3 * !threeQuarters) + (4 * !full)) of: #(0 0.25 0.5 0.75 1)

Play the Sound, unlock the VCS, and change the !quarter etc to check boxes. (During playback you would have to uncheck one box before checking a different one though).

Alternatively, you could just put
!LoopLength of: #(0 0.25 0.5 0.75 1)
and use the VCS editor to change the !LoopLength fader to have a range of 0 to 4 and a grid of 0.25. Then you could add labels next to the fader for the different lengths.




IP: Logged

SSC
Administrator
posted 26 June 2003 12:46         Edit/Delete Message   Reply w/Quote
"could it work where all the samples start at the same time,"

If you put all of them into a mixer they will all start at the same time.

IP: Logged

pete
Member
posted 26 June 2003 13:39         Edit/Delete Message   Reply w/Quote

RadioButons.kym

 
Here a way of doing it with radio button(self canceling). It is RPM (Requires Petes Modules), but if there is a sample and hold expresion, it could be done without them and with less DSP. I can't remember if there is a sample and hold expresion though.

pete

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