Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the flac-metadata Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Apr 19 16:04:40 2021 GMT+0.
• Introduction | What flac-metadata is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
A utility for reading metadata embedded in FLAC audio files.
This utility was created as an alternative to flac-parser. They both do the same thing, but flac-metadata is faster, more concise, and I decided to abandon flac-parser.
(ql:quickload :flac-metadata)
You can read metadata from a FLAC audio file in one of two ways.
The following will return an object, representing the concrete syntax tree of the FLAC specification. With it, you can access the metadata you wish:
(load-file #p"/path/to/file.flac") ; => #<FLAC-METADATA::FLAC {100490C5F3}>
Alternatively, you may dump out the metadata pretty-printed:
(dump-file #p"/path/to/file.flac")
#|
File /path/to/file.flac
Marker fLaC
Metadata Blocks
Stream Information 34 bytes
Minimum block size 4,096 bytes
Maximum block size 4,096 bytes
Minimum frame size 14 bytes
Maximum frame size 12,297 bytes
Sample rate 44,100Hz
Channels 1
Bit depth 16 bits per sample
Total samples 5,157,936
MD5 checksum A2331F9298112C0E2121A371898B08D4
Seek Table 216 bytes
Seek Point
Target sample 0
Offset 0
Sample count 4,096
Seek Point
Target sample 438,272
Offset 1,068,557
Sample count 4,096
Seek Point
Target sample 880,640
Offset 2,185,151
Sample count 4,096
Seek Point
Target sample 1,318,912
Offset 3,327,723
Sample count 4,096
Seek Point
Target sample 1,761,280
Offset 4,511,460
Sample count 4,096
Seek Point
Target sample 2,203,648
Offset 5,723,533
Sample count 4,096
Seek Point
Target sample 2,641,920
Offset 6,845,851
Sample count 4,096
Seek Point
Target sample 3,084,288
Offset 7,985,828
Sample count 4,096
Seek Point
Target sample 3,526,656
Offset 9,136,439
Sample count 4,096
Seek Point
Target sample 3,964,928
Offset 10,295,520
Sample count 4,096
Seek Point
Target sample 4,407,296
Offset 11,529,075
Sample count 4,096
Seek Point
Target sample 4,849,664
Offset 12,563,214
Sample count 4,096
Vorbis Comment 1,405 bytes
Vendor reference libFLAC 1.3.1 20141125
Comments count 53
ACOUSTID_FINGERPRINT <empty>
ACOUSTID_ID <empty>
ALBUM Breath of Fire Original Soundtrack Special Box
ALBUM ARTIST Various Artists
ALBUMARTIST Various Artists
ALBUMARTISTSORT Various Artists
ALBUMARTIST_CREDIT Various Artists
ARTIST Yuko Takehara
ARTISTSORT Yuko Takehara
ARTIST_CREDIT Yuko Takehara
ASIN <empty>
BPM 0
CATALOGNUMBER CPCA-10146
COMPILATION 1
COMPOSER <empty>
DATE 2006
DISC 3
DISCC 11
DISCNUMBER 3
DISCSUBTITLE <empty>
DISCTOTAL 11
ENCODEDBY <empty>
ENCODER <empty>
GENRE Electronic
GROUPING <empty>
LABEL Suleputer
LANGUAGE eng
LYRICS <empty>
MEDIA CD
MUSICBRAINZ_ALBUMARTISTID 89ad4ac3-39f7-470e-963a-56509c546377
MUSICBRAINZ_ALBUMCOMMENT <empty>
MUSICBRAINZ_ALBUMID 46ac4441-e568-4a37-8fc2-22368b3a6dd9
MUSICBRAINZ_ALBUMSTATUS Pseudo-Release
MUSICBRAINZ_ALBUMTYPE soundtrack
MUSICBRAINZ_ARTISTID 7a463c32-b9b3-4143-8c4c-96590473dad0
MUSICBRAINZ_RELEASEGROUPID 4085f1c7-f74a-4c7d-bd4a-cc148b65d115
MUSICBRAINZ_TRACKID f9eea541-873f-422b-b28e-385f069cdff7
ORIGINALDATE 2006-03-31
PUBLISHER Suleputer
RELEASECOUNTRY JP
REPLAYGAIN_ALBUM_GAIN -6.12 dB
REPLAYGAIN_ALBUM_PEAK 1.000031
REPLAYGAIN_TRACK_GAIN -7.21 dB
REPLAYGAIN_TRACK_PEAK 0.858699
SCRIPT Latn
TITLE We're Rangers
TOTALDISCS 11
TOTALTRACKS 23
TRACK 9
TRACKC 23
TRACKNUMBER 9
TRACKTOTAL 23
YEAR 2006
Picture 58243
Type 0
MIME type image/jpeg
Description
Width 0px
Height 0px
Color depth 0bpp
Indexed colors 0
Size 58,201
Frames <not implemented>
|#
Copyright © 2017-2020 [Michael Fiano] mail@mfiano.net.
Licensed under the MIT License.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The flac-metadata system |
Michael Fiano <mail@mfiano.net>
MIT
A utility for reading metadata embedded in FLAC audio files.
flac-metadata.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The flac-metadata/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
/home/quickref/quicklisp/dists/quicklisp/software/flac-metadata-20210411-git/flac-metadata.asd
flac-metadata (system)
Next: The flac-metadata/flac․lisp file, Previous: The flac-metadata․asd file, Up: Lisp files [Contents][Index]
flac-metadata (system)
package.lisp
Next: The flac-metadata/datastream․lisp file, Previous: The flac-metadata/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
flac-metadata (system)
flac.lisp
Next: The flac-metadata/metadata․lisp file, Previous: The flac-metadata/flac․lisp file, Up: Lisp files [Contents][Index]
flac.lisp (file)
flac-metadata (system)
datastream.lisp
Next: The flac-metadata/metadata-types․lisp file, Previous: The flac-metadata/datastream․lisp file, Up: Lisp files [Contents][Index]
datastream.lisp (file)
flac-metadata (system)
metadata.lisp
Next: The flac-metadata/dump-data․lisp file, Previous: The flac-metadata/metadata․lisp file, Up: Lisp files [Contents][Index]
metadata.lisp (file)
flac-metadata (system)
metadata-types.lisp
Previous: The flac-metadata/metadata-types․lisp file, Up: Lisp files [Contents][Index]
metadata-types.lisp (file)
flac-metadata (system)
dump-data.lisp
dump-file (function)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The flac-metadata package |
package.lisp (file)
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions | ||
• Exported generic functions |
Next: Exported generic functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Print out the FLAC metadata of FILE. SPEC may be one or more of the following
to control which types of metadata are dumped, or NIL for all types:
:STREAMINFO, :APPLICATION, :SEEKTABLE, :VORBIS-COMMENT, :CUESHEET, :PICTURE.
dump-data.lisp (file)
Load the FLAC file located at the given filesystem PATH. Returns an object with the concrete syntax tree of the FLAC specification.
flac.lisp (file)
Previous: Exported functions, Up: Exported definitions [Contents][Index]
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal classes |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
dump-data.lisp (file)
dump-data.lisp (file)
flac.lisp (file)
metadata.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
metadata-types.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
flac.lisp (file)
metadata.lisp (file)
metadata.lisp (file)
metadata.lisp (file)
datastream.lisp (file)
datastream.lisp (file)
datastream.lisp (file)
metadata.lisp (file)
datastream.lisp (file)
dump-data.lisp (file)
Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
automatically generated reader method
metadata.lisp (file)
automatically generated reader method
metadata.lisp (file)
automatically generated reader method
metadata.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
dump-data.lisp (file)
automatically generated reader method
datastream.lisp (file)
automatically generated reader method
metadata.lisp (file)
automatically generated reader method
metadata.lisp (file)
automatically generated reader method
datastream.lisp (file)
automatically generated reader method
datastream.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
metadata-types.lisp (file)
automatically generated reader method
datastream.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
metadata-types.lisp (file)
standard-object (class)
:offset
:number
:isrc
:type
:pre-emphasis-flag
:index-count
:indices
metadata-types.lisp (file)
standard-object (class)
:offset
:number
datastream.lisp (file)
standard-object (class)
marker (generic function)
stream-info (generic function)
metadata-blocks (generic function)
frames (generic function)
flac.lisp (file)
standard-object (class)
file-path (generic function)
(setf file-path) (generic function)
parse-tree (generic function)
(setf parse-tree) (generic function)
metadata-types.lisp (file)
standard-object (class)
metadata.lisp (file)
standard-object (class)
(make-instance (quote flac-metadata::metadata-block-header))
header (generic function)
data (generic function)
metadata.lisp (file)
standard-object (class)
last-flag (generic function)
%metadata-type (generic function)
%metadata-size (generic function)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
metadata-types.lisp (file)
standard-object (class)
:sample
:offset
:sample-count
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L |
---|
Jump to: | F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
D F G H L M P S |
---|
Jump to: | %
(
D F G H L M P S |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | %
*
B C D H I L M S T U V W |
---|
Jump to: | %
*
B C D H I L M S T U V W |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C D F M P S |
---|
Jump to: | C D F M P S |
---|