k y m a • t w e a k y — the kyma collective

/ WebHome / Share.Expressions

Search


Share Section


Sounds
Samples
Timelines
Tools
Microsounds

Home 
Topics 
More... 

All Sections


Products
Order
Company
Community
Share
Learn

Login / Register 
Change password
Forgot password?

Symbolic Sound


Home
Kyma Forum
Eighth Nerve

TWiki Links


twiki.org
-- CarlaScaletti - 07 Jan 2004

-- CarlaScaletti - 20 Apr 2004

-- LuddyHarrison - 13 Sep 2007

* Here is a useful bit of code to generate tags and markers in the VCS from filenames in a directory - Paste it as Code in your Tick Marks and Labels labelling scheme... For example, I designed it to give me an index of slectable impulse responses, but equally for names of multisamples on a keyboard.. replace 'ah.aif' with a filename in the directory you would like to reference the contents of...

| dirSize IRdir |
IRdir :=  {'ah.aif' sampleFileNamesInSameFolder}.
dirSize := IRdir size.
(0 to: dirSize) collect: [:n | (((n of:  IRdir) asFilename) displayTailWithoutFileExtension)].

-- CristianVogel - 15 Oct 2007

Another way to write this expression would be:

'ah.aif' sampleFileNamesInSameFolder collect: [:f |  f asFilename displayTailWithoutFileExtension]

(NB: Remember to set the range of your !Index fader to min = 1, max = number files, and grid = 1). Then use the Code option in Set Tic marks and Grid.

-- CarlaScaletti - 16 Oct 2007

[ADDENDUM: Don't forget to change the 'fader value change between marks' from the default value (0.25) to 1]

-- MatteoMilani - 25 Oct 2007

I tend to be too verbose in when I use code in CapyTalk? - it's a hang up from 80's BASIC !

-- CristianVogel - 17 Oct 2007

I found Kyma working fine with !Index fader range to min = 0, max = (number files) - 1, and grid = 1

-- MatteoMilani - 24 Nov 2007

-- LuddyHarrison - 24 Nov 2008

Thanks Luddy, this code is very useful in so many ways. There's plenty more triggers treatments in capytalk, some already implemented and some not. Triggers and gates have a different character to normal on/off events, in that they can have durations/dutycycle, are usually instantaneous, they have leading edges and release edges so on.

(!RESTART alignWith: (1 bpm: !BPM )) sustainBy: (1 - !RESTART)

-- CristianVogel - 30 Apr 2009

 
 
© 2003-2014 by the contributing authors. / You are TWikiGuest