Skip to content

Instantly share code, notes, and snippets.

@rndmcnlly
rndmcnlly / chromatic-maze-generator.lp
Created August 31, 2010 05:06
chromatic maze generator in ASP
%%%%
%%%% A chromatic maze generator
%%%%
% By Adam M. Smith ([email protected])
% This answer set program was designed to work with the Potassco (the Potsdam
% Answer Set Solving Collection) tools, namely "clingo".
%% Chromatic Mazes
@rndmcnlly
rndmcnlly / Dac.java
Created April 23, 2010 00:40
DSP Engine from Ethereal Dialpad
package as.adamsmith.etherealdialpad.dsp;
import android.media.AudioFormat;
import android.media.AudioManager;
import android.media.AudioTrack;
public class Dac extends UGen {
private final float[] localBuffer;
private boolean isClean;