$argon2id$v=19$m=64,t=512,p=2$mpknJXWwj9fK1OT3EjofrA$69JwYQ1IKC8Jp/kIaNfh8w
This file contains 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
USAGE: | |
morphagene_ableton.py -w <inputwavfile> -l <inputlabels> -o <outputfile>' | |
Instructions in Ableton: | |
Insert locators as splice markers in your project (Create > Add Locator) | |
Export Audio/Video with | |
Sample Rate: 48000 Hz |
This file contains 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
#!/usr/bin/env python | |
""" | |
mo' noise | |
monome + noise | |
mono-ise | |
""" | |
# | |
# You will need sox and pysox | |
# https://github.com/rabitt/pysox#install | |
# |
This file contains 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
-- $ ghc-pkg describe $(ghc-pkg latest tidal) | grep data-dir | cut -f2 -d ' ' | |
-- /Users/pfig/.cabal/share/x86_64-osx-ghc-8.6.5/tidal-1.4.3 | |
-- $ cat /Users/pfig/.cabal/share/x86_64-osx-ghc-8.6.5/tidal-1.4.3/BootTidal.hs | |
:set -XOverloadedStrings | |
:set prompt "" | |
:set prompt-cont "" | |
import Sound.Tidal.Context |
This file contains 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
GHCi, version 8.2.1: http://www.haskell.org/ghc/ :? for help | |
Prelude> | |
<interactive>:3:18: error: | |
Variable not in scope: bpsUtils :: IO (a0, b0) | |
<interactive>:4:12: error: | |
Variable not in scope: superDirtSetters :: t0 -> IO (a0, b0) | |
<interactive>:4:29: error: Variable not in scope: getNow |
This file contains 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
# | |
# Run with gunicorn -k eventlet server:app | |
# | |
# Dependencies: | |
# eventlet==0.21.0 | |
# Flask==0.12.1 | |
# gunicorn==19.7.1 | |
# | |
import time | |
import random |
This file contains 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
import random | |
import string | |
# -*- coding: utf-8 -*- | |
def randomname(length = 6): | |
vowels = ['a','e','i','o','u',''] | |
consonants = ['b','c','d','f','g','h','j','k','l','m','n','p','q','r','s','t','v','w','x','y','z'] | |
a = random.sample(consonants,length/2) | |
x = 1 |
This file contains 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
s.quit; | |
s.boot; | |
( | |
b = Buffer.read(s, thisProcess.nowExecutingPath.dirname +/+ "press_the_red_again.wav"); | |
k = Buffer.read(s, thisProcess.nowExecutingPath.dirname +/+ "kissy_face.wav"); | |
m = Buffer.read(s, thisProcess.nowExecutingPath.dirname +/+ "notice_me_senpai_short.aiff"); | |
// Create a Synth capable of all the transforms we want | |
SynthDef(\reich, { |
From Tim Peters's Zen of Python
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>be.pfig.notebooks</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>ipython</string> | |
<string>notebook</string> |
NewerOlder