This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FourteenBitCC { | |
| /* | |
| //Use Case: | |
| MIDIIn.connectAll; | |
| ~x = FourteenBitCC.new("x", 72, 104); | |
| ~x.func = {|val| ("x: "++val).postln}; | |
| //MPE Example with Sensel Morph | |
| MIDIIn.connectAll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- base sequins | |
| s1 = s{0,4,7} | |
| s1(),s1(),s1() --> 0, 4, 7 | |
| -- apply a pattern 'transformer' function to maybe add an octave | |
| s1:fn(function(n) return (n>5) and n or n+12 end) | |
| s1(),s1(),s1() --> 12, 16, 7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- some possible implementations of a probable function | |
| -- really comes down to whether it's a timeline native behaviour | |
| -- or if we just want a general fn to a wrap an application with chance | |
| -- original version without chance | |
| notesss = { 1, kick | |
| , 1, {ii.wsyn.play_note, s{0,-12}, 2} | |
| } | |
| -- tl.chance is a function that takes a probability, and an action |
OlderNewer