CL-FMOD
CL-Fmod is a set of common lisp bindings to fmod, utilizing
UFFI to attempt reasonable portability.
Development: Sourceforge project page
Requirements:
Running:
Several ASDF systems have been defined: fmod, fmod-samples
You can load them like so:
(load "fmod.asd")
(asdf:oos 'asdf:load-op 'fmod) ;for example
Or for the examples:
(load "fmod-samples.asd")
(asdf:oos 'asdf:load-op 'fmod-samples)
Current samples can be run like so:
(fmod-samples:simplest)
(fmod-samples:netstream
"http://www.location.of.file.com/file.mp3")
Note that the `load' command is only needed if your
distribution does not automatically load these files by
default.
Important Bugs / Notes:
- Any command having to do with callbacks is commented
out at the moment, due to lack of support in UFFI for callbacks.
May be added at a later date.
- Most commands that
returns arguments by argument pointer does not work currently.
Instead they need wrappers to return these values by (values ..)
instead, but I don't know exactly which functions these are at
the moment, so please send a patch (see
fsound:stream-net-get-status for an example) or let me know
which functions need converting and I will work on it when I
have time.
- Cl-fsound and cl-fmusic contain some useful
macros, but more work needs to be done here to include a lispier
interface. I've just been adding them as I've been using the
library, so if you think you've got a useful macro, send it in
and I'll see about including it.
- Only two demos have
been converted to lisp, I'll work on adding more when I get more
time.
Has been tested and known to work on:
Should work on but
untested (patches gladly accepted):
-
Allegro/Linux/x86
- SBCL/Linux/x86
- Allegro/Win32
-
Lispworks/Linux/x86
- Lispworks/Win32
- OpenMCL/Darwin/PPC
djwatson@docwatson.org
Last modified: Wed Aug 4 08:28:20 NZST 2004