Skip to content

Instantly share code, notes, and snippets.

@matason
Last active May 15, 2016 18:10
Show Gist options
  • Save matason/acd191c8e90cefad576208efc5a94293 to your computer and use it in GitHub Desktop.
Save matason/acd191c8e90cefad576208efc5a94293 to your computer and use it in GitHub Desktop.
UltiSnips (snippet plugin for Vim) snippets for live coding with tidalcycles/Tidal
snippet bps
bps (${1:240}/120)
endsnippet
snippet d
d${1:1} $ $0
endsnippet
snippet sound
sound "$1"
endsnippet
snippet samples
sound (samples "$2" $3)
endsnippet
snippet gain
gain "${1:1}"
endsnippet
snippet speed
speed "${1:1}"
endsnippet
snippet accelerate
accelerate "${1:1}"
endsnippet
snippet unit
unit "c"
endsnippet
snippet delay
delay "${1:1}"
endsnippet
snippet run
(run $1)
endsnippet
snippet irand
(irand $1)
endsnippet
snippet every
every $1 ($2)
endsnippet
snippet foldEvery
foldEvery [$1] ($2)
endsnippet
snippet stack
d${1:1} $ stack [
$2
]
endsnippet
snippet cat
d${1:1} $ cat [
$2
]
endsnippet
snippet slowcat
d${1:1} $ slowcat [
$2
]
endsnippet
snippet randcat
d${1:1} $ randcat [
$2
]
endsnippet
snippet silence
d${1:1} silence
endsnippet
snippet =
|=| $0
endsnippet
snippet +
|+| $0
endsnippet
snippet -
|-| $0
endsnippet
snippet /
|/| $0
endsnippet
snippet *
|*| $0
endsnippet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment