The mp3-duration Reference Manual

This is the mp3-duration Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:23:24 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 mp3-duration

Get the duration of an MP3 file

Author

Eitaro Fukamachi

License

BSD 2-Clause

Long Description

# Mp3-Duration - Get the duration of an MP3 file

## Usage

“‘common-lisp
(import ’mp3-duration:estimate-duration)

;; Get the duration of an MP3 file in seconds. (estimate-duration #P"Music/ピノキオP/ありふれたせかいせいふく.mp3") ;=> 202.97144
“‘

## Author

* Eitaro Fukamachi (e.arrows@gmail.com)

## Copyright

Copyright (c) 2016 Eitaro Fukamachi (e.arrows@gmail.com)

## License

Licensed under the BSD 2-Clause License.

Version

0.1

Source

mp3-duration.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 mp3-duration/src

Source

mp3-duration.asd.

Parent Component

mp3-duration (system).

Child Component

mp3-duration.lisp (file).


4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 mp3-duration/mp3-duration.asd

Source

mp3-duration.asd.

Parent Component

mp3-duration (system).

ASDF Systems

mp3-duration.

Packages

mp3-duration-asd.


4.1.2 mp3-duration/src/mp3-duration.lisp

Source

mp3-duration.asd.

Parent Component

src (module).

Packages

mp3-duration.

Public Interface

estimate-duration (function).

Internals

5 Packages

Packages are listed by definition order.


5.1 mp3-duration-asd

Source

mp3-duration.asd.

Use List
  • asdf/interface.
  • common-lisp.

5.2 mp3-duration

Source

mp3-duration.lisp.

Use List

common-lisp.

Public Interface

estimate-duration (function).

Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Ordinary functions

Function: estimate-duration (input)
Package

mp3-duration.

Source

mp3-duration.lisp.


6.2 Internals


6.2.1 Special variables

Special Variable: *skip-buffer*
Package

mp3-duration.

Source

mp3-duration.lisp.


6.2.2 Ordinary functions

Function: copy-peekable-stream (instance)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: make-peekable-stream (&key peek real-stream)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: parse-frame (in)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: peek-byte (stream)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: peekable-stream-p (object)
Package

mp3-duration.

Source

mp3-duration.lisp.

Reader: peekable-stream-peek (instance)
Writer: (setf peekable-stream-peek) (instance)
Package

mp3-duration.

Source

mp3-duration.lisp.

Target Slot

peek.

Reader: peekable-stream-real-stream (instance)
Writer: (setf peekable-stream-real-stream) (instance)
Package

mp3-duration.

Source

mp3-duration.lisp.

Target Slot

real-stream.

Function: read-byte* (stream)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: skip-bytes (in count)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: skip-id3-tag (in)
Package

mp3-duration.

Source

mp3-duration.lisp.

Function: unread-byte (stream byte)
Package

mp3-duration.

Source

mp3-duration.lisp.


6.2.3 Structures

Structure: peekable-stream
Package

mp3-duration.

Source

mp3-duration.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: peek
Type

(or null (unsigned-byte 8))

Readers

peekable-stream-peek.

Writers

(setf peekable-stream-peek).

Slot: real-stream
Type

stream

Readers

peekable-stream-real-stream.

Writers

(setf peekable-stream-real-stream).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
C   E   F   M   P   R   S   U  
Index Entry  Section

(
(setf peekable-stream-peek): Private ordinary functions
(setf peekable-stream-real-stream): Private ordinary functions

C
copy-peekable-stream: Private ordinary functions

E
estimate-duration: Public ordinary functions

F
Function, (setf peekable-stream-peek): Private ordinary functions
Function, (setf peekable-stream-real-stream): Private ordinary functions
Function, copy-peekable-stream: Private ordinary functions
Function, estimate-duration: Public ordinary functions
Function, make-peekable-stream: Private ordinary functions
Function, parse-frame: Private ordinary functions
Function, peek-byte: Private ordinary functions
Function, peekable-stream-p: Private ordinary functions
Function, peekable-stream-peek: Private ordinary functions
Function, peekable-stream-real-stream: Private ordinary functions
Function, read-byte*: Private ordinary functions
Function, skip-bytes: Private ordinary functions
Function, skip-id3-tag: Private ordinary functions
Function, unread-byte: Private ordinary functions

M
make-peekable-stream: Private ordinary functions

P
parse-frame: Private ordinary functions
peek-byte: Private ordinary functions
peekable-stream-p: Private ordinary functions
peekable-stream-peek: Private ordinary functions
peekable-stream-real-stream: Private ordinary functions

R
read-byte*: Private ordinary functions

S
skip-bytes: Private ordinary functions
skip-id3-tag: Private ordinary functions

U
unread-byte: Private ordinary functions