mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-06 05:28:31 +09:00
more ui changes
This commit is contained in:
@@ -146,7 +146,7 @@ const panFxNames = {
|
|||||||
3:"Fine slide",
|
3:"Fine slide",
|
||||||
30:"Fine slide L",
|
30:"Fine slide L",
|
||||||
31:"Fine slide R",
|
31:"Fine slide R",
|
||||||
999:"--",
|
999:"---",
|
||||||
}
|
}
|
||||||
const volFxNames = {
|
const volFxNames = {
|
||||||
0:"Set to",
|
0:"Set to",
|
||||||
@@ -155,7 +155,7 @@ const volFxNames = {
|
|||||||
3:"Fine slide",
|
3:"Fine slide",
|
||||||
30:"Fine slide DN",
|
30:"Fine slide DN",
|
||||||
31:"Fine slide UP",
|
31:"Fine slide UP",
|
||||||
999:"--",
|
999:"---",
|
||||||
}
|
}
|
||||||
|
|
||||||
const pitchTablePresets = {
|
const pitchTablePresets = {
|
||||||
@@ -940,7 +940,7 @@ function drawVoiceDetail(isVerticalLayout = false, ptn = null, activeRow = -1, c
|
|||||||
|
|
||||||
const lines = []
|
const lines = []
|
||||||
lines.push({ label: 'Note ', value: `${noteToStr(note)} ($${note.hex04()})`, fg: colNote })
|
lines.push({ label: 'Note ', value: `${noteToStr(note)} ($${note.hex04()})`, fg: colNote })
|
||||||
lines.push({ label: 'Inst ', value: inst === 0 ? '--' : inst.hex02(), fg: colInst })
|
lines.push({ label: 'Inst ', value: inst === 0 ? '---' : ('$'+inst.hex02()), fg: colInst })
|
||||||
lines.push({ label: 'Vx ', value: `${volFxNames[voleffop1]} ${voleffarg1}`, fg: colVol })
|
lines.push({ label: 'Vx ', value: `${volFxNames[voleffop1]} ${voleffarg1}`, fg: colVol })
|
||||||
lines.push({ label: 'Px ', value: `${panFxNames[paneffop1]} ${paneffarg1}`, fg: colPan })
|
lines.push({ label: 'Px ', value: `${panFxNames[paneffop1]} ${paneffarg1}`, fg: colPan })
|
||||||
lines.push({ label: 'Fx ', value: fxName.trimEnd(), fg: colEffOp })
|
lines.push({ label: 'Fx ', value: fxName.trimEnd(), fg: colEffOp })
|
||||||
@@ -950,7 +950,7 @@ function drawVoiceDetail(isVerticalLayout = false, ptn = null, activeRow = -1, c
|
|||||||
if (cumState !== null) {
|
if (cumState !== null) {
|
||||||
lines.push({ label: '------', value: '', fg: colSep })
|
lines.push({ label: '------', value: '', fg: colSep })
|
||||||
lines.push({ label: 'L.Note', value: noteToStr(cumState.lastNote), fg: colNote })
|
lines.push({ label: 'L.Note', value: noteToStr(cumState.lastNote), fg: colNote })
|
||||||
lines.push({ label: 'L.Inst', value: cumState.lastInst === 0 ? '--' : cumState.lastInst.hex02(), fg: colInst })
|
lines.push({ label: 'L.Inst', value: cumState.lastInst === 0 ? '---' : ('$'+cumState.lastInst.hex02()), fg: colInst })
|
||||||
lines.push({ label: 'Vol ', value: `$${cumState.volAbs.hex02()}`, fg: colVol })
|
lines.push({ label: 'Vol ', value: `$${cumState.volAbs.hex02()}`, fg: colVol })
|
||||||
lines.push({ label: 'Pan ', value: `$${cumState.panAbs.hex02()}`, fg: colPan })
|
lines.push({ label: 'Pan ', value: `$${cumState.panAbs.hex02()}`, fg: colPan })
|
||||||
const _apo = Math.abs(cumState.pitchOff)
|
const _apo = Math.abs(cumState.pitchOff)
|
||||||
@@ -1112,6 +1112,8 @@ function setTimelineRowStyle(style) {
|
|||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
con.curs_set(0)
|
con.curs_set(0)
|
||||||
|
graphics.setBackground(34, 38, 51)
|
||||||
|
graphics.setGraphicsMode(0)
|
||||||
|
|
||||||
let currentPanel = VIEW_TIMELINE
|
let currentPanel = VIEW_TIMELINE
|
||||||
let cueIdx = 0
|
let cueIdx = 0
|
||||||
@@ -1438,7 +1440,7 @@ function simulateRowState(ptnDat, uptoRow) {
|
|||||||
let lastNote = 0xFFFF, lastInst = 0
|
let lastNote = 0xFFFF, lastInst = 0
|
||||||
let volAbs = 0x3F, panAbs = 0x20
|
let volAbs = 0x3F, panAbs = 0x20
|
||||||
let pitchOff = 0, portaTarget = -1
|
let pitchOff = 0, portaTarget = -1
|
||||||
let speed = 6
|
let speed = 6 // FIXME of course it's not always 6
|
||||||
let memEF = 0, memG = 0
|
let memEF = 0, memG = 0
|
||||||
let memHU = { speed: 0, depth: 0 }
|
let memHU = { speed: 0, depth: 0 }
|
||||||
let memR = { speed: 0, depth: 0 }
|
let memR = { speed: 0, depth: 0 }
|
||||||
|
|||||||
1
assets/disk0/tvdos/bin/taut_fileop.js
Normal file
1
assets/disk0/tvdos/bin/taut_fileop.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// filesystem navigator for Taut
|
||||||
0
assets/disk0/tvdos/bin/taut_instredit.js
Normal file
0
assets/disk0/tvdos/bin/taut_instredit.js
Normal file
0
assets/disk0/tvdos/bin/taut_notationedit.js
Normal file
0
assets/disk0/tvdos/bin/taut_notationedit.js
Normal file
0
assets/disk0/tvdos/bin/taut_sampleedit.js
Normal file
0
assets/disk0/tvdos/bin/taut_sampleedit.js
Normal file
Reference in New Issue
Block a user