i-love-cookies.md (2527B)
1 # I Love Cookies 2 3 Signal & CV Sequencer. Uses Text as input. Because after all, don't we all love cookies? 4 5 Knobs are labeled with lowercase letters: a-z. Inputs are labeled with uppercase letters A-Z. Programming in the sequence: `abcd` will sequentially output the values of knobs a, b, c, and finally d. It will then loop back to step 1: knob a again. An exact voltage can be programmed by enclosing the value in square brackets. For example: `<4.20>`. Following a sequence of values (lowercase, uppercase, or exact value) with "@8" will loop the sequence after 8 steps. 8 is not a special value, any number is allowed after the "@" symbol. Here is an example with some I Love Cookies inputs their equivalents: 6 7 ~~~~ 8 Input Equivalent Input 9 10 a@3 aaa 11 ab@5 ababa 12 <1><0>@8 <1><0><1><0><1><0><1><0> 13 abcde@8 abcdeabc 14 abcdef@3 abc 15 ~~~~ 16 17 ## Randomization 18 19 Enclosing values (lowercase letter, uppercase letter, or exact voltage) in curly braces {} will randomly select one of the values with equal probability. For example, `{ab}` will choose either `a` or `b` at each clock step. `{g<2.55>}` will output either the value of knob `g` or `2.55` volts with equal probability. `{}` will choose one of the 26 knobs `a` thru `z`. 20 21 ## Square Bracket Expansion 22 23 Enclosing comma-separated sequences with square brackets allows for even more complex patterns to be generated. 24 25 ~~~~ 26 Input Equivalent Input Comment 27 28 [ab,c]@4 ababcccc 4 steps of "ab", then 4 steps of "c" 29 [A,cde]@5 AAAAAcdecd 5 steps from input "A", then 5 steps of "cde" 30 ~~~~ 31 32 33 ======= 34 35 ~~~~ 36 Input Equivalent Input 37 38 a@3 aaa 39 ab@5 ababa 40 <1><0>@8 <1><0><1><0><1><0><1><0> 41 abcde@8 abcdeabc 42 abcdef@3 abc 43 ~~~~ 44 45 46 All of the following are valid I Love Cookies programs: 47 ~~~~ 48 <4.20> 49 {abc} 50 ab(cd) 51 def@10 52 [abc,de]@6 53 {}@8,arphald 54 ~~~~ 55 56 57 ~~~~ 58 ┭ ۳┭┭ ۳۳┭┭ ┭ ┭ ┭┭┭ ┭۳┭۳۳┭ 59 ۳ ۳┭ ۳۳۳┭۳ ┭ ┭ ┭ ┭۳ ┭ 60 ┭┭ ┭۳ ┭ ┭ ┭ ┭┭ ۳۳۳┭۳ ۳┭┭ ۳ ┭۳ ۳ 61 62 ┭ ۳┭┭ ۳۳┭┭ ┭ ┭ ┭┭┭ ┭۳┭۳۳┭ 63 ۳ ۳┭ ۳۳۳┭۳ ┭ ┭ ┭ ┭۳ ┭ 64 ┭┭ ┭۳ ┭ ┭ ┭ ┭┭ ۳۳۳┭۳ ۳┭┭ ۳ ┭۳ ۳ 65 66 ┭ ۳┭┭ ۳۳┭┭ ┭ ┭ ┭┭┭ ┭۳┭۳۳┭ 67 ۳ ۳┭ ۳۳۳┭۳ ┭ ┭ ┭ ┭۳ ┭ 68 ┭┭ ┭۳ ┭ ┭ ┭ ┭┭ ۳۳۳┭۳ ۳┭┭ ۳ ┭۳ ۳ 69 ~~~~ 70