NCN (Karaoke Format): Difference between revisions

From DisNCord Community Wiki
Jump to navigation Jump to search
CappyIshihara (talk | contribs)
No edit summary
CappyIshihara (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Preservation and Documentation]]
[[Category:Preservation and Documentation]]
NCN is a karaoke file format used by the Thai karaoke player Nick Karaoke. It is a collection of 3 files: a MIDI, a plaintext lyrics file, and a binary cursor containing a list of 16-bit unsigned integers.
NCN is a karaoke file format used by the Thai karaoke player [[Nick Karaoke]]. It is a collection of 3 files: a MIDI, a plaintext lyrics file, and a binary cursor containing a list of 16-bit unsigned integers.


== Format ==
== Format ==


=== Lyrics (.lyr) ===
=== Lyrics (.lyr) ===
The first 4 lines of the lyrics file is metadata, including the title, artist, and key. The fourth line is used as a delimiter.<syntaxhighlight line="1">
The first 4 lines of the lyrics file is metadata, including the title, artist, and key. The fourth line is used as a delimiter.<syntaxhighlight line="1" lang="text">
Title
Title
Artist
Artist

Latest revision as of 02:30, 29 November 2022

NCN is a karaoke file format used by the Thai karaoke player Nick Karaoke. It is a collection of 3 files: a MIDI, a plaintext lyrics file, and a binary cursor containing a list of 16-bit unsigned integers.

Format

Lyrics (.lyr)

The first 4 lines of the lyrics file is metadata, including the title, artist, and key. The fourth line is used as a delimiter.

Title
Artist
Key

Lyrics....

Each character after the fourth line will be scrolled according to the MIDI ticks in the cursor file

Cursor file (.cur)

The cursor file contains a list of 16-bit unsigned integers indicating when each character will be scrolled to the song. The entire MIDI song is split into 65535 ticks. The formula for figuring out the current NCN tick is as follows:

MIDI

A standard MIDI file, that accompanies the lyrics and the cursor file.