Thin wrapper over libsndfile for Common Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.appveyor.yml
.gitattributes
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
bodge-sndfile.asd
bodge_sndfile.h
claw.lisp
example.lisp
libsndfile.lisp
main.lisp
packages.lisp
sample.ogg

README.md

Build Status Build status

BODGE-SNDFILE

Thin Common Lisp wrapper over libsndfile cross-platform library for reading and writing files containing sampled sound.

Requirements

  • ASDF/Quicklisp
  • x86_64/i686 GNU/Linux, macOS or Windows

Loading

(ql:quickload '(sndfile-blob bodge-sndfile))

Usage

Interface

All wrapped functions can be found in %sf package. On the other hand, a bit more lispified functionality reside in sf package.

Example

Common Lisp example of bodge-sndfile usage can be found in example.lisp

To run it, evaluate in your REPL:

(ql:quickload :bodge-sndfile/example)
;; for metadata printing
(sndfile.example:run)
;; for getting samples out of the example .ogg file
(sndfile.example:decode)