./../../src/globals.lsp

## sc/globals.lsp [ Modules ]

[ Top ] [ Modules ]

NAME

     globals

     File:             globals.lsp

     Class Hierarchy:  None: no classes defined.

     Version:          1.0.2

     Project:          slippery chicken (algorithmic composition)

     Purpose:          Definition of the user-changeable global parameters.

     Author:           Michael Edwards: m@michael-edwards.org

     Creation date:    30th May 2013

     $$ Last modified: 20:07:35 Tue Jun  4 2013 BST

     SVN ID: $Id: sclist.lsp 963 2010-04-08 20:58:32Z medward2 $

## globals/+cmn-display-auto-open+ [ Global Parameters ]

[ Top ] [ Global Parameters ]

DESCRIPTION

     Whether to automatically open EPS files generated with CMN via cmn-display.
     Currently only works with SBCL on Mac OSX.

ARGUMENTS

     T or NIL

SYNOPSIS

    (defparameter +cmn-display-auto-open+ #+sbcl T #-sbcl nil)

## globals/+lilypond-command+ [ Global Parameters ]

[ Top ] [ Global Parameters ]

DESCRIPTION

     The full path to the lilypond command.  We need to set this if we'll call
     lp-display, i.e. if we want to automatically call Lilypond and open the
     resultant PDF directly from Lisp.  The default should work if you have the
     Lilypond app in your Applications folder on OSX.

ARGUMENTS

     T or NIL

SYNOPSIS

    (defparameter +lilypond-command+
      "/Applications/LilyPond.app/Contents/Resources/bin/lilypond")

## globals/+lp-display-auto-open+ [ Global Parameters ]

[ Top ] [ Global Parameters ]

DESCRIPTION

     Whether to automatically open PDF files generated with via lp-display.
     Currently only works with SBCL on Mac OSX.

ARGUMENTS

     T or NIL

SYNOPSIS

    (defparameter +lp-display-auto-open+ #+sbcl T #-sbcl nil)

## globals/+midi-play-auto-open+ [ Global Parameters ]

[ Top ] [ Global Parameters ]

DESCRIPTION

     Whether to automatically open MIDI files generated with via midi-play.
     Currently only works with SBCL on Mac OSX.

ARGUMENTS

     T or NIL

SYNOPSIS

    (defparameter +midi-play-auto-open+ #+sbcl T #-sbcl nil)

## globals/+sc-default-dir+ [ Global Parameters ]

[ Top ] [ Global Parameters ]

DESCRIPTION

     The default directory for output of sound files, EPS files, and Lilypond
     files. Don't forget the trailing slash (i.e. "/tmp/" not "/tmp").  Bear in
     mind that on OSX the /tmp directory is emptied upon reboot so you shouldn't
     store any files you'd like to keep in there.

ARGUMENTS

     T or NIL

SYNOPSIS

    (defparameter +sc-default-dir+ "/tmp/")

## pitch-seq/ +pitch-seq-lowest-equals-prefers-low+ [ Global Parameters ]

[ Top ] [ pitch-seq ] [ Global Parameters ]

DESCRIPTION

     A slippery-chicken constant variable used to indicate the lowest number in
     a pitch-seq that would indicate that the get-notes algorithm should select
     the lowest notes possible for the instrument/set. If not otherwise
     specified, this value defaults to 1.

ARGUMENTS

     - An integer that is the lowest number in a pitch-seq that would indicate
       that the given instrument prefers high notes for that sequence.

SYNOPSIS

    (defparameter +pitch-seq-lowest-equals-prefers-low+ 1)

## pitch-seq/+pitch-seq-lowest-equals-prefers-high+ [ Global Parameters ]

[ Top ] [ pitch-seq ] [ Global Parameters ]

DESCRIPTION

     A slippery-chicken constant variable used to indicate the lowest number in
     a pitch-seq that would indicate that the get-notes algorithm should select
     the highest notes possible for the instrument/set. If not otherwise
     specified, this value defaults to 5.

ARGUMENTS

     - An integer that is the lowest number in a pitch-seq that would indicate
       that the given instrument prefers high notes for that sequence.

SYNOPSIS

    (defparameter +pitch-seq-lowest-equals-prefers-high+ 5)