NCN (Karaoke Format): Difference between revisions
Jump to navigation
Jump to search
Created page with "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." |
moved ncn spec from rustykaraoke |
||
Line 1: | Line 1: | ||
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 == | |||
=== 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"> | |||
Title | |||
Artist | |||
Key | |||
Lyrics.... | |||
</syntaxhighlight>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: | |||
<math>C = \frac{\left(\frac{\mathrm{tick}}{\mathrm{resolution}}\right)}{\mathrm{BPM}} \cdot 24 \cdot 60</math> | |||
=== MIDI === | |||
A standard MIDI file, that accompanies the lyrics and the cursor file. |
Revision as of 02:17, 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.