kyma•tweaky . Share . Expressions
|
-- CarlaScaletti - 07 Jan 2004
- bounce.kym: Examples of how to generate a "bounce" gesture. Discussion?
-- CarlaScaletti - 20 Apr 2004
- MIDINotesToEnvelope.txt: Smalltalk program for use in the Sample Editor, for converting a MIDI sequence (of notes) into a wavetable for use as an envelope. Discussion
-- 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
- triggers.txt: Two capytalk expressions (in the form of Smalltalk closures) that generate gates of fixed duration from transient boolean conditions. HoldTrigger value: condition value: 1 s generates a 1-second gate when condition becomes non-zero. The value of condition is ignored until the gate returns to zero. DelayedTrigger value: condition value: 2 s value: 1 s generates a 1-second gate, 2 seconds after condition becomes non-zero. The value of condition is ignored during the entire 3-second period that the gate is pending and on. These are useful for generating fixed-duration triggers and gates from conditions that change or repeat rapidly, e.g., an amplitude follower exceeding a threshold.
-- 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.
- Simplest way to BPM sync restart sequencers so a trigger syncs and then holds its on state
(!RESTART alignWith: (1 bpm: !BPM )) sustainBy: (1 - !RESTART)
-- CristianVogel - 30 Apr 2009
Copyright © 1999-2014 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding kyma•tweaky? Send feedback.