Skip to content

cutterbl/CDGPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDGPlayer Libraries

CDGPlayer logo

CDGPlayer provides browser karaoke playback libraries under the @cxing/media-* package family.

BREAKING CHANGE: The legacy CDGPlayer and CDGControls monolithic packages have been deprecated and replaced with a modular package architecture. See the migration guide for details.

Packages

  • @cxing/media-core: shared media contracts, parser interfaces, and runtime primitives.
  • @cxing/media-parser-cdg: CD+G parsing, instruction execution, and frame rendering primitives.
  • @cxing/media-loader: zip/file/url loading with normalized track payloads and metadata.
  • @cxing/media-player: high-level playback orchestration, audio sync, and rendering dispatch.
  • @cxing/media-playback-controls: framework-agnostic controls model and UI control builders.
  • @cxing/logger: standalone scoped logging utility shared across runtime packages.

Install

Install the packages your app needs.

  • Minimal playback setup: @cxing/media-player
  • Loader-only integrations: @cxing/media-loader
  • UI control integrations: @cxing/media-playback-controls
  • Runtime logging integrations: @cxing/logger

Toolchain Baseline

  • pnpm is pinned via packageManager in package.json.
  • TypeScript baseline is 6.x for workspace development and CI.

Documentation

Repository Contribution

Repository setup, CI/CD workflows, and branch protection policy are documented in CONTRIBUTING.md.

Storybook Hub Static Build

The composed hub build (pnpm nx run storybook-hub:site) embeds the framework-specific Storybooks under apps/storybook-hub/.dist.

Storybook 10 emits index.json for references. During static hosting, compatibility files (stories.json, metadata.json) are mirrored from index.json for each embedded ref to avoid 404 requests from composition clients that still probe legacy manifest names.

About

A browser based HTML5/JS karaoke 'Player', that takes a zip file containing an mp3 and cdg file, allowing the user to render and play directly in the browser.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors