This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; -*- Mode: Lisp; Syntax: Common-Lisp; -*- | |
;;; Code from Paradigms of Artificial Intelligence Programming | |
;;; Copyright (c) 1991 Peter Norvig | |
;;; krep.lisp: Knowledge representation code; final version. | |
;;; Adds support for worlds and attached functions. | |
;;; Stand-alone version. | |
(defpackage :krep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; Fun with Lisp: Just-intonation and Microtonality. | |
;;;; If you're interested in Lisp, audio/music hacking, just-intonation or | |
;;;; microtonality, then this is the sort of thing you're interested in. | |
;;;; (C) Copyright 2012 Andy Hefner <ahefner@gmail.com> | |
;;;; This code is released in the public domain. | |
;;; First, we'll need a way to play audio. In the past, I dumped the | |
;;; raw audio out to a file in /tmp and played it by shelling out to |