mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-15 00:44:05 +09:00
SF2 specific resample handling
This commit is contained in:
@@ -81,7 +81,7 @@ const PITCH_RANGE_HI = 0xA000 // ~C9
|
||||
// Colours — TSVM palette indices. Picked to read as amber/CRT chrome with
|
||||
// archetype-coded events. Background-transparent (255) lets the cell colour
|
||||
// fall through to the terminal default for ergonomic resize behaviour.
|
||||
const COL_BG = 0 // solid black panel background
|
||||
const COL_BG = 240 // solid black panel background
|
||||
const COL_BORDER = 250 // light grey panel chrome
|
||||
const COL_LABEL = 220 // amber panel label
|
||||
const COL_DIM = 235 // muted text
|
||||
@@ -1155,6 +1155,7 @@ function drawTickLights(tickInRow, tickRate) {
|
||||
}
|
||||
|
||||
// ── Initial paint ───────────────────────────────────────────────────────────
|
||||
graphics.setBackground(0,0,0)
|
||||
drawFrame()
|
||||
drawTitle()
|
||||
drawStatus(0)
|
||||
|
||||
@@ -319,7 +319,7 @@ const AG_VIS_H = AG_ROW_VIS_BOT - AG_ROW_VIS_TOP + 1 // 24
|
||||
const AG_VIS_W = AG_LANE_W // 78
|
||||
|
||||
// Palette (TSVM 256-colour indices)
|
||||
const AG_COL_BG = 0
|
||||
const AG_COL_BG = 240
|
||||
const AG_COL_BORDER = 250
|
||||
const AG_COL_LABEL = 220
|
||||
const AG_COL_DIM = 235
|
||||
@@ -1228,6 +1228,7 @@ function audioInit(params) {
|
||||
|
||||
con.curs_set(0)
|
||||
con.clear()
|
||||
graphics.setBackground(0,0,0)
|
||||
ag_drawFrame()
|
||||
ag_drawTitle()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user