1 unstable release

Uses old Rust 2015

0.1.0 Sep 14, 2016

#5 in #sector

Download history 1833/week @ 2024-07-22 1412/week @ 2024-07-29 1487/week @ 2024-08-05 2079/week @ 2024-08-12 1955/week @ 2024-08-19 1564/week @ 2024-08-26 1729/week @ 2024-09-02 1848/week @ 2024-09-09 1997/week @ 2024-09-16 2369/week @ 2024-09-23 2333/week @ 2024-09-30 2238/week @ 2024-10-07 3158/week @ 2024-10-14 2929/week @ 2024-10-21 3507/week @ 2024-10-28 2601/week @ 2024-11-04

12,325 downloads per month
Used in 2 crates

ISC license

11KB
178 lines

A CD+G parser

This documentation is probably best read alongside CD+G Revealed

The CD+G format is very closely tied to the details of how compact discs store audio; it's intended to be stored in the subchannel data alongside normal Red Book audio. For the purposes of consuming this data from a .cdg file using this library, all that it is important to know is that the file is divided into sectors of 96 bytes, each of which represents 1/75th of a second.

The CD+G display model is a 300x216-pixel indexed color framebuffer divided into 6x12-pixel tiles, with a 16-color palette. The outermost cell on each side (i.e., the top and bottom 12 rows and the left and right 6 columns) are drawn a solid "border color" rather than drawn from the framebuffer.

No runtime deps