Skip to content

Instantly share code, notes, and snippets.

@premek
premek / guitar.sh
Created Jan 21, 2017
guitar start/restart/record scripts
View guitar.sh
if test "$1" = "record"; then
killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck /home/pi/chuck/rec.ck:/home/pi/rec.wav &
exit
fi
if test "$1" = "play"; then
killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck &
exit
fi
View build.sh
#!/usr/bin/env bash
set -x
P="enjoy"
LV="0.10.1" # love version
LZ="https://bitbucket.org/rude/love/downloads/love-${LV}-win32.zip"
### clean
if [ "$1" == "clean" ]; then
rm -rf "target"
View .travis.yml
language: bash
sudo: false
install: true
addons:
apt:
packages:
- lua5.1
- python2.7
- luarocks
before_install:
@premek
premek / g.ck
Created Dec 28, 2016
ChucK reverb guitar effect
View g.ck
adc => NRev r => Gain AM => SinOsc od => dac;
3 => AM.op;
1 => od.sync;
day => now;
View test-adc.ck
adc => dac;
3::second => now;
View test-dac.ck
SinOsc s => dac;
3::second => now;