Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Wheeler ajwheeler

View GitHub Profile
@ajwheeler
ajwheeler / Autodiff.ipynb
Created Jun 28, 2021
autodiff with Korg
View Autodiff.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ajwheeler
ajwheeler / clapping.hs
Created Dec 31, 2020
Steve Reich's clapping music in with Euterpea in haskell
View clapping.hs
import Euterpea
rythm = [1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0]
r1 = concat $ take 13 (repeat rythm)
r2 = concat [drop i rythm ++ take i rythm | i <- [0..12]]
clap 1 = c 4 sn
clap 0 = rest sn
@ajwheeler
ajwheeler / minimal.yaml
Created Jun 26, 2017
example of chip_num not defined error
View minimal.yaml
modules:
- galsim_extra
- galsim.des
psf:
type: PSFEx
gal:
type: Gaussian
sigma: 2