packages.lisp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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 #:add-child
  6. #:at-path
  7. #:data
  8. #:find-tree
  9. #:first-child
  10. #:make-node
  11. #:next-sibling
  12. #:print-tree
  13. #:traverse)
  14. (:use #:common-lisp))
  15. (defpackage #:utils
  16. (:export #:*standard-optimize-settings*
  17. #:aif
  18. #:awhen
  19. #:dbg
  20. #:dbg-helper
  21. #:defconstant*
  22. #:dump-data
  23. #:get-bitfield
  24. #:it
  25. #:make-keyword
  26. #:make-octets
  27. #:memoize
  28. #:octet
  29. #:octets
  30. #:printable-array
  31. #:redirect
  32. #:timings
  33. #:upto-null
  34. #:warn-user *break-on-warn-user*
  35. #:while
  36. #:with-gensyms)
  37. (:use #:common-lisp))
  38. (defpackage #:profile
  39. (:export #:off
  40. #:on
  41. #:reset
  42. #:report)
  43. (:use #:common-lisp))
  44. (defpackage #:iso-639-2
  45. (:export #:get-iso-639-2-language)
  46. (:use #:common-lisp :utils))
  47. (defpackage #:audio-streams
  48. (:export #:make-audio-stream
  49. #:open-audio-file
  50. #:stream-filename
  51. #:stream-read-iso-string
  52. #:stream-read-sequence
  53. #:stream-read-u128
  54. #:stream-read-u16
  55. #:stream-read-u24
  56. #:stream-read-u32
  57. #:stream-read-u64
  58. #:stream-read-u8
  59. #:stream-read-ucs-string
  60. #:stream-read-utf-8-string
  61. #:stream-seek
  62. #:stream-size
  63. #:*get-audio-info*
  64. #:*current-file*)
  65. (:use #:common-lisp #:utils))
  66. (defpackage #:flac
  67. (:export #:audio-info
  68. #:filename
  69. #:flac-file
  70. #:flac-get-tag
  71. #:flac-headers
  72. #:flac-show-raw-tag
  73. #:flac-tags
  74. #:get-flac-audio-info
  75. #:get-flac-audio-info
  76. #:is-valid-flac-file
  77. #:parse-audio-file
  78. #:vpprint
  79. #:*current-file*)
  80. (:use #:common-lisp #:utils #:audio-streams))
  81. (defpackage #:m4a
  82. (:export #:*skipped-m4a-atoms*
  83. #:+itunes-album+
  84. #:+itunes-album-artist+
  85. #:+itunes-artist+
  86. #:+itunes-comment+
  87. #:+itunes-compilation+
  88. #:+itunes-composer+
  89. #:+itunes-copyright+
  90. #:+itunes-cover-art+
  91. #:+itunes-disk+
  92. #:+itunes-encoder+
  93. #:+itunes-genre+
  94. #:+itunes-genre-x+
  95. #:+itunes-groups+
  96. #:+itunes-lyrics+
  97. #:+itunes-purchased-date+
  98. #:+itunes-tempo+
  99. #:+itunes-title+
  100. #:+itunes-tool+
  101. #:+itunes-track+
  102. #:+itunes-track-n+
  103. #:+itunes-writer+
  104. #:+itunes-year+
  105. #:atom-file-pos
  106. #:atom-size
  107. #:atom-type
  108. #:audio-info
  109. #:clear-skipped
  110. #:filename
  111. #:get-mp4-audio-info
  112. #:is-valid-m4-file
  113. #:map-mp4-atoms
  114. #:mp4-atom
  115. #:mp4-atoms
  116. #:mp4-file
  117. #:mp4-show-raw-tag-atoms
  118. #:parse-audio-file
  119. #:tag-get-value
  120. #:vpprint)
  121. (:use #:common-lisp #:audio-streams #:utils))
  122. (defpackage #:id3
  123. (:export #:album
  124. #:artist
  125. #:audio-info
  126. #:clear-skipped
  127. #:comment
  128. #:comment
  129. #:desc
  130. #:encoding
  131. #:filename
  132. #:frames
  133. #:genre
  134. #:get-frames
  135. #:id
  136. #:id3-frame
  137. #:id3-header
  138. #:info
  139. #:is-valid-mp3-file
  140. #:lang
  141. #:map-id3-frames
  142. #:mp3-file
  143. #:parse-audio-file
  144. #:picture-info
  145. #:title
  146. #:v21-tag-header
  147. #:val
  148. #:version
  149. #:vpprint
  150. #:year
  151. #:*skipped-id3-frames*)
  152. (:use #:common-lisp #:audio-streams #:utils #:iso-639-2))
  153. (defpackage #:abstract-tag
  154. (:export #:album
  155. #:album-artist
  156. #:artist
  157. #:comment
  158. #:composer
  159. #:copyright
  160. #:encoder
  161. #:get-id3v1-genre
  162. #:groups
  163. #:lyrics
  164. #:*raw-tags*
  165. #:title
  166. #:show-tags
  167. #:writer)
  168. (:use #:common-lisp #:audio-streams #:utils))
  169. (defpackage #:mpeg
  170. (:export #:get-mpeg-audio-info
  171. #:vpprint)
  172. (:use #:common-lisp #:audio-streams #:utils))