packages.lisp 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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
  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
  10. #:stream-read-u8 #:stream-read-u16 #:stream-read-u24 #:stream-read-u32
  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)
  55. (:use :common-lisp :audio-streams :mp3-frame))
  56. (defpackage #:tag
  57. (:export #:get-genre-text)
  58. (:use #:common-lisp))
  59. (defpackage #:mp4-tag
  60. (:export #:show-tags #:album #:album-artist #:artist #:comment #:composer #:copyright #:created
  61. #:encoder #:groups #:lyrics #:purd #:title #:tool #:writer)
  62. (:use #:common-lisp #:audio-streams))
  63. (defpackage #:logging
  64. (:export #:with-logging)
  65. (:use #:common-lisp))