packages.lisp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. (:use #:common-lisp #:utils))
  65. (defpackage #:flac
  66. (:export #:audio-info
  67. #:filename
  68. #:flac-file
  69. #:flac-get-tag
  70. #:flac-headers
  71. #:flac-show-raw-tag
  72. #:flac-tags
  73. #:get-flac-audio-info
  74. #:get-flac-audio-info
  75. #:is-valid-flac-file
  76. #:parse-audio-file
  77. #:vpprint)
  78. (:use #:common-lisp #:utils #:audio-streams))
  79. (defpackage #:m4a
  80. (:export #:*skipped-m4a-atoms*
  81. #:+itunes-album+
  82. #:+itunes-album-artist+
  83. #:+itunes-artist+
  84. #:+itunes-comment+
  85. #:+itunes-compilation+
  86. #:+itunes-composer+
  87. #:+itunes-copyright+
  88. #:+itunes-cover-art+
  89. #:+itunes-disk+
  90. #:+itunes-encoder+
  91. #:+itunes-genre+
  92. #:+itunes-genre-x+
  93. #:+itunes-groups+
  94. #:+itunes-lyrics+
  95. #:+itunes-purchased-date+
  96. #:+itunes-tempo+
  97. #:+itunes-title+
  98. #:+itunes-tool+
  99. #:+itunes-track+
  100. #:+itunes-track-n+
  101. #:+itunes-writer+
  102. #:+itunes-year+
  103. #:atom-file-pos
  104. #:atom-size
  105. #:atom-type
  106. #:audio-info
  107. #:clear-skipped
  108. #:filename
  109. #:get-mp4-audio-info
  110. #:is-valid-m4-file
  111. #:map-mp4-atoms
  112. #:mp4-atom
  113. #:mp4-atoms
  114. #:mp4-file
  115. #:mp4-show-raw-tag-atoms
  116. #:parse-audio-file
  117. #:tag-get-value
  118. #:vpprint)
  119. (:use #:common-lisp #:audio-streams #:utils))
  120. (defpackage #:id3
  121. (:export #:album
  122. #:artist
  123. #:audio-info
  124. #:clear-skipped
  125. #:comment
  126. #:comment
  127. #:desc
  128. #:encoding
  129. #:filename
  130. #:frames
  131. #:genre
  132. #:get-frames
  133. #:id
  134. #:id3-frame
  135. #:id3-header
  136. #:info
  137. #:is-valid-mp3-file
  138. #:lang
  139. #:map-id3-frames
  140. #:mp3-file
  141. #:parse-audio-file
  142. #:picture-info
  143. #:title
  144. #:v21-tag-header
  145. #:val
  146. #:version
  147. #:vpprint
  148. #:year
  149. #:*skipped-id3-frames*)
  150. (:use #:common-lisp #:audio-streams #:utils #:iso-639-2))
  151. (defpackage #:abstract-tag
  152. (:export #:album
  153. #:album-artist
  154. #:artist
  155. #:comment
  156. #:composer
  157. #:copyright
  158. #:encoder
  159. #:get-id3v1-genre
  160. #:groups
  161. #:lyrics
  162. #:*raw-tags*
  163. #:title
  164. #:show-tags
  165. #:writer)
  166. (:use #:common-lisp #:audio-streams #:utils))
  167. (defpackage #:mpeg
  168. (:export #:get-mpeg-audio-info
  169. #:vpprint)
  170. (:use #:common-lisp #:audio-streams #:utils))