Skip to content

Instantly share code, notes, and snippets.

@fayaaz
fayaaz / snapserver.conf
Created May 3, 2022 12:44
Lower latency snapserver conf
###############################################################################
# ______ #
# / _____) #
# ( (____ ____ _____ ____ ___ _____ ____ _ _ _____ ____ #
# \____ \ | _ \ (____ || _ \ /___)| ___ | / ___)| | | || ___ | / ___) #
# _____) )| | | |/ ___ || |_| ||___ || ____|| | \ V / | ____|| | #
# (______/ |_| |_|\_____|| __/ (___/ |_____)|_| \_/ |_____)|_| #
# |_| #
# #
# Snapserver config file #
@fayaaz
fayaaz / mixxx_rpi_opengles_qt4.sh
Last active March 23, 2018 23:36
Compiling Mixxx on the Raspberry Pi with OpenGL ES and QT4
sudo apt-get install libjack-dev libjack0 portaudio19-dev
sudo apt-get build-dep mixxx
sudo apt-get install g++ git scons libqt4-dev libqt4-sql-sqlite libportmidi-dev \
libopusfile-dev libshout-dev libtag1-dev libprotobuf-dev protobuf-compiler \
libusb-1.0-0-dev libfftw3-dev libmad0-dev \
portaudio19-dev libchromaprint-dev librubberband-dev libsqlite3-dev \
libid3tag0-dev libflac-dev libsndfile-dev libupower-glib-dev
sudo apt-get install libfaad-dev libmp4v2-dev
git clone https://github.com/mixxxdj/mixxx.git
cd mixxx
@fayaaz
fayaaz / drum_machine.rb
Last active January 20, 2017 16:16
Drum machine in Sonic Pi
#Inspiration from https://gist.github.com/xavriley/71b255775829b486249b
#
# Drum Machine in Sonic Pi
#SET THE BPM
current_bpm = 140.0
use_bpm current_bpm
####################################################################################
#DRUM PATTERNS use 0-9 to trigger a sound at different volumes
@fayaaz
fayaaz / mpidinstall.sh
Last active August 29, 2015 14:10
Shell script to install mpid on a raspberry pi running raspbian wheezy. Run as root.
#!/bin/sh
nginxconfcontents='server {
listen 80;
root '/var/www/mpid/';
access_log /var/log/mpid/access.log;
error_log /var/log/mpid/error.log;
location = /{