标签: 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)))
答案 0 :(得分:5)
书籍Practical Common Lisp, chapter 25中描述了一个完整的ID3(MP3标签)解析器。