packages.lisp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 #:audio-streams
  5. (:export #:octets #:make-octets
  6. #:base-stream
  7. #:filename #:instream #:file-size #:endian
  8. #:stream-read-u8 #:stream-read-u16 #:stream-read-u24 #:stream-read-u32
  9. #:stream-read-string #:stream-read-octets
  10. #:stream-seek #:stream-close
  11. #:mp4-stream #:make-mp4-stream #:mp4-atoms
  12. #:mp3-stream #:make-mp3-stream #:mp3-header
  13. #:stream-read-sync-safe-u32 #:stream-read-sync-safe-octets)
  14. (:use #:common-lisp #:binary-types))
  15. (defpackage #:mp4-atom
  16. (:export #:mp4-atom #:map-mp4-atom #:find-mp4-atoms #:traverse #:mp4-atom-condition
  17. #:atom-file-position #:atom-children #:atom-size #:atom-of-interest #:atom-decoded
  18. #:atom-type #:vpprint #:*tag-path* #:tag-get-value
  19. #:+itunes-album+
  20. #:+itunes-album-artist+
  21. #:+itunes-artist+
  22. #:+itunes-comment+
  23. #:+itunes-composer+
  24. #:+itunes-copyright+
  25. #:+itunes-year+
  26. #:+itunes-encoder+
  27. #:+itunes-groups+
  28. #:+itunes-lyrics+
  29. #:+itunes-purchased-date+
  30. #:+itunes-title+
  31. #:+itunes-tool+
  32. #:+itunes-writer+
  33. #:+itunes-compilation+
  34. #:+itunes-cover-art+
  35. #:+itunes-disk+
  36. #:+itunes-genre+
  37. #:+itunes-genre-x+
  38. #:+itunes-tempo+
  39. #:+itunes-track+
  40. #:+itunes-track-n+)
  41. (:use #:common-lisp #:binary-types #:audio-streams))
  42. (defpackage :mp3-frame
  43. (:export :mp3-frame #:find-mp3-frames #:mp3-frame-condition #:vpprint #:header)
  44. (:use :common-lisp :binary-types :audio-streams))
  45. (defpackage :mp3-tag
  46. (:export :show-tags)
  47. (:use :common-lisp :binary-types :audio-streams))
  48. (defpackage #:tag
  49. (:export #:get-genre-text)
  50. (:use #:common-lisp))
  51. (defpackage #:mp4-tag
  52. (:export #:show-tags #:album #:album-artist #:artist #:comment #:composer #:copyright #:created
  53. #:encoder #:groups #:lyrics #:purd #:title #:tool #:writer)
  54. (:use #:common-lisp #:audio-streams))
  55. (defpackage #:logging
  56. (:export #:with-logging)
  57. (:use #:common-lisp))