packages.lisp 4.4 KB

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