如何解码mp3文件

时间:2010-11-17 12:35:15

标签: lisp mp3 common-lisp id3

如何使用lisp获取mp3文件的艺术家

(let ((in (open "test.mp3" :direction 
        :input 
        :element-type '(unsigned-byte 8))))
 (when in
   (loop for line =  (read-byte 'utf-8 in)

      while line do (format t "~a" line ))
    (close in)))

1 个答案:

答案 0 :(得分:5)

书籍Practical Common Lisp, chapter 25中描述了一个完整的ID3(MP3标签)解析器。