- Play:
Press Play - Stop: Press Stop
- Sequence: Hold Trig + key
- Sequence v2: Hold Rec + keys
- Live Record: Hold Rec + Play + key/Play
- Stop Recording: Press Rec
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
| ( | |
| // how many | |
| n = 9; | |
| // grid of nxn | |
| ~grid = 0!n!n; | |
| // our process | |
| ~process = {1.0.rand2}; |
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
| // install | |
| Quarks.install("https://github.com/yotamorimoto/sc_ca.git"); | |
| Quarks.install("https://github.com/yotamorimoto/sc_sample.git"); | |
| // recompile class library | |
| // before proceeding | |
| // look | |
| Pca1({2.rand}!512, 50).plot; |
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
| mogrify -path DESTINATIONFOLDER -filter Triangle -define filter:support=2 -thumbnail 1200 -unsharp 0.25x0.08+8.3+0.045 -dither FloydSteinberg -type Grayscale -colors 2 -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB SOURCEFOLDER/* |
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
| 'use strict' | |
| /* | |
| This is meant to be a concise explanation on the difference between | |
| functions declaration, function expressions, and es6 fat arrow functions | |
| You should be able to just clone this or paste it in a file and run `node <filname>` | |
| */ | |
| /* |
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
| // Example of OSC control of Hydra video synth w/Orca programming language | |
| // by Yancy Way (echophon) | |
| // | |
| // https://github.com/hundredrabbits/Orca | |
| // https://github.com/ojack/hydra | |
| // https://github.com/ojack/hydra-examples | |
| // https://atom.io/packages/atom-hydra | |
| // | |
| // Prerequisites: Orca, Atom, Atom-hydra extension | |
| // |
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
| // Animated falling paw shapes | |
| // originally posted as gist May 10, 2016 | |
| int pawcount = 50; | |
| Paw[] paws = new Paw[pawcount]; | |
| float ang1, ang2; | |
| void setup() { | |
| size(800,600); | |
| randomSeed(1994); |
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
| #!/bin/sh | |
| set -e | |
| cd myfw | |
| # mkyaffs2 from mkyaffs2 0.2.9_20120815 | |
| sudo ../mkyaffs2 fifo_rootfs fifo_rootfs.yaffs2 | |
| echo -n `md5sum fifo_rootfs.yaffs2 | cut -c1-32` > fifo_rootfs.yaffs2.md5 | |
| tar zcvf ../X1II.repacked.fw fifo_uimage fifo_uimage.md5 fifo_uimageesmt fifo_uimageesmt.md5 fifo_rootfs.yaffs2 fifo_rootfs.yaffs2.md5 |
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
| #!/bin/sh | |
| set -e | |
| mkdir -p myfw | |
| tar zxvf X1II.fw -C myfw | |
| # unyaffs2 from yaffs2utils is not working | |
| #sudo ./unyaffs2 myfw/fifo_rootfs.yaffs2 myfw/fifo_rootfs | |
| # Use unyaffs from ubuntu's unyaffs package (apt-get install unyaffs) | |
| sudo unyaffs myfw/fifo_rootfs.yaffs2 myfw/fifo_rootfs |
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
| #!/bin/bash -e | |
| modprobe libcomposite | |
| cd /sys/kernel/config/usb_gadget/ | |
| mkdir g && cd g | |
| echo 0x1d6b > idVendor # Linux Foundation | |
| echo 0x0104 > idProduct # Multifunction Composite Gadget | |
| echo 0x0100 > bcdDevice # v1.0.0 |
NewerOlder