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