packages.lisp 4.4 KB

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