packages.lisp 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ;;; -*- Mode: Lisp; show-trailing-whitespace: t; Base: 10; indent-tabs: nil; Syntax: ANSI-Common-Lisp; Package: CL-USER; -*-
  2. ;;; Copyright (c) 2013, Mark VandenBrink. All rights reserved.
  3. (in-package #:cl-user)
  4. (defpackage #:audio-streams
  5. (:export #:octets #:make-octets *get-mpeg-info*
  6. #:mp3-file-stream #:mp4-file-stream #:base-mem-stream
  7. #:parse-mp3-file #:parse-mp4-file #:mp3-frame-condition
  8. #:make-mem-stream #:stream-filename
  9. #:mp4-atoms #:mp3-header #:mpeg-info
  10. #:stream-read-u8 #:stream-read-u16 #:stream-read-u24 #:stream-read-u32 #:stream-read-octets
  11. #:stream-decode-iso-string #:stream-deocode-ucs-string #:stream-decode-ucs-be-string
  12. #:stream-decode-utf-8-string #:stream-decode-string #:stream-read-iso-string-with-len
  13. #:stream-read-ucs-string-with-len #:stream-read-ucs-be-string-with-len
  14. #:stream-read-utf-8-string-with-len #:stream-read-string-with-len
  15. #:stream-read-iso-string #:stream-read-ucs-string #:stream-read-ucs-be-string
  16. #:stream-read-utf-8-string #:stream-read-string #:trim-string
  17. #:stream-read-string #:stream-read-sequence #:stream-size
  18. #:stream-seek #:stream-close)
  19. (:use #:common-lisp))
  20. (defpackage #:mp4-atom
  21. (:export #:mp4-atom #:map-mp4-atom #:find-mp4-atoms #:traverse #:mp4-atom-condition
  22. #:atom-file-position #:atom-children #:atom-size #:atom-of-interest #:atom-decoded
  23. #:atom-type #:vpprint #:*tag-path* #:tag-get-value #:mp4-atom-condition
  24. #:mp4-show-raw-tag-atoms
  25. #:+itunes-album+
  26. #:+itunes-album-artist+
  27. #:+itunes-artist+
  28. #:+itunes-comment+
  29. #:+itunes-composer+
  30. #:+itunes-copyright+
  31. #:+itunes-year+
  32. #:+itunes-encoder+
  33. #:+itunes-groups+
  34. #:+itunes-lyrics+
  35. #:+itunes-purchased-date+
  36. #:+itunes-title+
  37. #:+itunes-tool+
  38. #:+itunes-writer+
  39. #:+itunes-compilation+
  40. #:+itunes-cover-art+
  41. #:+itunes-disk+
  42. #:+itunes-genre+
  43. #:+itunes-genre-x+
  44. #:+itunes-tempo+
  45. #:+itunes-track+
  46. #:+itunes-track-n+)
  47. (:use #:common-lisp #:audio-streams))
  48. (defpackage :mp3-frame
  49. (:export #:mp3-frame #:find-mp3-frames #:mp3-frame-condition #:vpprint #:header #:get-frame-info
  50. #:encoding #:lang #:desc #:val #:comment #:artist #:album #:year #:comment #:year
  51. #:mp3-map-frames #:frames #:year #:title #:genre #:id #:v21-tag-header #:info #:version)
  52. (:use #:common-lisp #:audio-streams))
  53. (defpackage #:mp3-tag
  54. (:export #:show-tags #:get-id3v1-genre)
  55. (:use #:common-lisp #:audio-streams #:mp3-frame))
  56. (defpackage #:mp4-tag
  57. (:export #:show-tags #:album #:album-artist #:artist #:comment #:composer #:copyright #:created
  58. #:encoder #:groups #:lyrics #:purd #:title #:tool #:writer)
  59. (:use #:common-lisp #:audio-streams))
  60. (defpackage #:logging
  61. (:export #:with-logging)
  62. (:use #:common-lisp))
  63. (defpackage #:mpeg
  64. (:export #:get-mpeg-info #:vpprint)
  65. (:use #:common-lisp #:audio-streams))