Last active
August 29, 2015 14:24
-
-
Save kindohm/c00a106b14815eefc1ca to your computer and use it in GitHub Desktop.
atom-tidal snippets
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
# atom-tidal snippets | |
# | |
# These are atom editor snippets that automate some of my common tasks | |
# while live coding music with Tidal. They only work with .tidal files. | |
# | |
# To use, in Atom go to File -> Open Your Snippets, then paste in this code. | |
# | |
# I created these snippets because I often find myself typing the same Tidal code | |
# over and over again. Your mileage may vary; maybe these don't suit your needs, | |
# but you can also use them as a reference for your own Tidal snippets. | |
# | |
# An extra tab placeholder is added at the end of each snippet so you can tab | |
# out and keep coding after the completed snippet. | |
'.source.tidal': | |
'Low Pass Filter': | |
'prefix': 'lpf' | |
'body': '|+| cutoff "$1" |+| resonance "$2" $3' | |
'samples': | |
'prefix': 'samples' | |
'body': 'sound(samples "$1" ($2)) $3' | |
'cut': | |
'prefix': 'cut' | |
'body': '|+| cut "$1" $2' | |
'delay (without params)': | |
'prefix': 'delay' | |
'body': '|+| delay "$1" $2' | |
'delay params (time and feedback)': | |
'prefix': 'delayparams' | |
'body': '|+| delaytime "$1" |+| delayfeedback "$2" $3' | |
'striate scale': | |
'prefix': 'striatescale' | |
'body': 'spread\' (striate\' $1) (scale $2 $3 $ $4 sine1) $5' | |
'coarse quick': | |
'prefix': 'coarse' | |
'body': '|+| coarse "16 8 12" $1' | |
'speed harmony': | |
'prefix': 'harmony' | |
'body': '|+| speed "[[$1 $2]*2, [$3 $4]]" $5' | |
'fold everything': | |
'prefix': 'fold' | |
'body': 'foldEvery [3,4] (0.25 <~) $1' | |
'scale': | |
'prefix': 'scale' | |
'body': 'scale $1 $2 $ $3 sine1 $4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment