Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
if [ $# -ne 3 ];then
echo "Usage: $0 <mount|unmount> <crypt-volume> <target-name>"
exit 0
fi
ACTION=$1
SRC=$2
TARGET=$3
on init
declare $portamentoTime := 60000
declare $pitchChange
declare const $Off := 0
declare const $Arm := 1
declare const $Aon := 2
declare const $ABon := 3
declare const $evtCCOff := 0
@kbhaines
kbhaines / cdrecord.sh
Created September 15, 2019 09:07
Simple CD recording script, also converting wav to 44.1KHz
#!/bin/sh
set -e
echo "Recording CD for the following tracks:"
tracks=`ls *wav`
echo $tracks
echo "Press ENTER"
<?xml version="1.0" encoding="UTF-8"?>
<ArdourMIDIBindings version="1.0.0" name="Nektar Impact LX">
<DeviceInfo bank-size="8"/>
<!-- Buttons labelled 'track-' and 'track+' mapped to switch banks -->
<Binding channel="16" ctl="109" function="prev-bank"/>
<Binding channel="16" ctl="110" function="next-bank"/>
<!-- MixerMode -->
<?xml version="1.0" encoding="UTF-8"?>
<ArdourMIDIBindings version="1.0.0" name="Nektar Impact LX - Enhanced2">
<DeviceInfo bank-size="8"/>
<!-- Transport controls -->
<Binding channel="16" ctl="102" function="loop-toggle"/>
<Binding channel="16" ctl="103" action="Transport/Rewind"/>
<Binding channel="16" ctl="104" action="Transport/Forward"/>
<Binding channel="16" ctl="105" function="transport-stop"/>
midimap v1
forward-unmatched
# Dyn, expr, Vibrato, Reverb
CC 73 ANY | CHN0 1 SAME
CC 75 ANY | CHN0 11 SAME
CC 72 ANY | CHN0 21 SAME
CC 91 ANY | CHN0 66 SAME
# Mics