Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play MIDI file from Common Lisp

Is it possible to play a MIDI file (existing on the hard drive) from Common Lisp? If so, how?

like image 758
Paul Reiners Avatar asked Oct 24 '10 20:10

Paul Reiners


1 Answers

If your Common Lisp implementation supports FFI, you might be able to use a library like PortAudio. (Also see the Common Lisp Foreign Function Interface project). Another option is to use the venerable Simple DirectMedia Layer which already have Lisp bindings. (But you may also have to get Timidity).

like image 126
Vijay Mathew Avatar answered Oct 22 '22 17:10

Vijay Mathew