packages.lisp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 #:utils
  5. (:export #:warn-user *break-on-warn-user* #:printable-array #:upto-null #:has-extension #:redirect
  6. #:get-bitfield)
  7. (:use #:common-lisp))
  8. (defpackage #:iso-639-2
  9. (:export #:get-iso-639-2-language)
  10. (:use #:common-lisp))
  11. (defpackage #:audio-streams
  12. (:export #:octets #:make-octets *get-audio-info* #:audio-stream-condition
  13. #:mp3-file-stream #:mp4-file-stream #:base-mem-stream
  14. #:id3-header #:audio-info #:mp4-atoms
  15. #:parse-mp3-file #:parse-mp4-file #:parse-audio-file
  16. #:make-mem-stream #:make-file-stream #:stream-filename
  17. #:stream-read-u8 #:stream-read-u16 #:stream-read-u24 #:stream-read-u32 #:stream-read-u64 #:stream-read-octets
  18. #:stream-decode-iso-string #:stream-deocode-ucs-string #:stream-decode-ucs-be-string
  19. #:stream-decode-utf-8-string #:stream-decode-string #:stream-read-iso-string-with-len
  20. #:stream-read-ucs-string-with-len #:stream-read-ucs-be-string-with-len
  21. #:stream-read-utf-8-string-with-len #:stream-read-string-with-len
  22. #:stream-read-iso-string #:stream-read-ucs-string #:stream-read-ucs-be-string
  23. #:stream-read-utf-8-string #:stream-read-string
  24. #:stream-read-string #:stream-read-sequence #:stream-size
  25. #:stream-seek #:stream-close)
  26. (:use #:common-lisp #:utils))
  27. (defpackage #:mp4-atom
  28. (:export #:mp4-atom #:map-mp4-atom #:find-mp4-atoms #:traverse #:mp4-atom-condition
  29. #:atom-file-position #:atom-children #:atom-size #:atom-of-interest #:atom-decoded
  30. #:atom-type #:vpprint #:*tag-path* #:tag-get-value #:mp4-atom-condition
  31. #:mp4-show-raw-tag-atoms #:get-mp4-audio-info #:is-valid-m4-file
  32. #:+itunes-album+
  33. #:+itunes-album-artist+
  34. #:+itunes-artist+
  35. #:+itunes-comment+
  36. #:+itunes-composer+
  37. #:+itunes-copyright+
  38. #:+itunes-year+
  39. #:+itunes-encoder+
  40. #:+itunes-groups+
  41. #:+itunes-lyrics+
  42. #:+itunes-purchased-date+
  43. #:+itunes-title+
  44. #:+itunes-tool+
  45. #:+itunes-writer+
  46. #:+itunes-compilation+
  47. #:+itunes-cover-art+
  48. #:+itunes-disk+
  49. #:+itunes-genre+
  50. #:+itunes-genre-x+
  51. #:+itunes-tempo+
  52. #:+itunes-track+
  53. #:+itunes-track-n+)
  54. (:use #:common-lisp #:audio-streams #:utils))
  55. (defpackage #:id3-frame
  56. (:export #:id3-frame #:find-id3-frames #:id3-frame-condition #:vpprint #:header #:get-frame-info #:is-valid-mp3-file
  57. #:encoding #:lang #:desc #:val #:comment #:artist #:album #:year #:comment #:year
  58. #:map-id3-frames #:frames #:year #:title #:genre #:id #:v21-tag-header #:info #:version)
  59. (:use #:common-lisp #:audio-streams #:utils #:iso-639-2))
  60. (defpackage #:mp3-tag
  61. (:export #:show-tags #:get-id3v1-genre)
  62. (:use #:common-lisp #:audio-streams #:id3-frame #:utils))
  63. (defpackage #:mp4-tag
  64. (:export #:show-tags #:album #:album-artist #:artist #:comment #:composer #:copyright #:created
  65. #:encoder #:groups #:lyrics #:purd #:title #:tool #:writer)
  66. (:use #:common-lisp #:audio-streams #:utils))
  67. (defpackage #:logging
  68. (:export #:with-logging)
  69. (:use #:common-lisp #:utils))
  70. (defpackage #:mpeg
  71. (:export #:get-mpeg-audio-info #:vpprint)
  72. (:use #:common-lisp #:audio-streams #:utils))