From de87021d79796c306fc072c619618a9087ad196f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lumi=C3=A8re=20=C3=89lev=C3=A9?= <88174309+PoneyClairDeLune@users.noreply.github.com> Date: Sat, 27 Jan 2024 14:27:41 +0000 Subject: [PATCH] Minor code cleanup. --- data/map/s90es.10.tsv | 8 ++++++ data/map/s90es.12.tsv | 4 +++ data/map/xg.10.tsv | 66 +++++++++++++++++++++++++++++++++++++++++++ src/basic/index.mjs | 3 -- 4 files changed, 78 insertions(+), 3 deletions(-) diff --git a/data/map/s90es.10.tsv b/data/map/s90es.10.tsv index 527d092d..9b07db1f 100644 --- a/data/map/s90es.10.tsv +++ b/data/map/s90es.10.tsv @@ -1,4 +1,12 @@ ID Name +NaturalS Natural S7 +ElegantS Elegant S7 +Bright S BrightS700 +Dark S Dark S700 +Mono S Mono S700 +Agresive Aggressive +HousePno HousePiano +OldBlues Old Blues AnalogT9 Analog T9 BackPdMW BackPad MW BaladKey Ballad Key diff --git a/data/map/s90es.12.tsv b/data/map/s90es.12.tsv index 1a1a3ac0..3f13e70c 100644 --- a/data/map/s90es.12.tsv +++ b/data/map/s90es.12.tsv @@ -1,4 +1,8 @@ ID Name +NaturalS Natural S700 +ElegantS Elegant S700 +Bright S Bright S700 +HousePno House Piano AnalogT9 AnalogT9 Kit BackPdMW Back Pad MW BlyDance BellyDanceKt diff --git a/data/map/xg.10.tsv b/data/map/xg.10.tsv index 7e440ff9..ea49da24 100644 --- a/data/map/xg.10.tsv +++ b/data/map/xg.10.tsv @@ -571,19 +571,83 @@ ChorTine ChorusTine DXEP+Cho DXEP+Chor. RichHpsi RichHarpsi PhaseClv PhaseClavi +VintLead Vintage Ld +SpaceZoo Space Zoo +Gtr Hero GuitarHero StoneHng Stonehenge +SimpleBa SimpleBass +ClavBass Clavi.Bass +SuperBas Super Bass +New Slap NewSlapBas +RockPigs Rock Pigs +Cybastrg Cybastring +Buzz Saw Buzzy Saw +OsciLead Oscil.Lead +SqrLead! Square Ld! AnaSquid AnalgSquid +SharpSyn SharpSynth +Ana.Wave AnalogWave +Ana.Wurl AnalgWurly +FngrBas! FingerBas! +UprghtBa UprightBas +FlageoBa FlageoBass DampBass Damp Bass Fretles! Fretless! +Fretls!2 Fretless!2 +ThumBass Thumb Bass +RockBass Rock Bass +SmooBass SmoothBass +WarmBass Warm Bass +YamaBass Yama Bass +FruitBas FruityBass +AcidBas! Acid Bass! +SqrBass! SquareBas! +PlsClav! PulseClav! +MogueBas Mogue Bass +BoppaBas Boppa Bass +BuzzerBa BuzzerBass +MuteHrBa MutedHrtBa +Tek.Bass TeknoBass! +TranzBas TranceBass +Chamlion Chamelion +Para.Syn Para.Synth +SteamBas Steam Bass +WhelkBas Whelk Bass +AttakSyn AttakSynth Q. Klav Q. Klav. +India IndiaSitar YamSteel Yama Steel +Stung St StungStrng Waterfon Waterphone DinoPerc Dino Perc. +SpcHorse SpaceHorse +Suedhead Suedehead +EspaGtr! EspagnGtr! JazzGtr! JazzGuitr! WetPluck Wet Pluck +Comp.Gtr Compr.Gtr. +FunkyGtr Funky Gtr. Thin Gtr ThinGuitar +Carlos CarlosGtr. +Destiny DestinyGtr +Sync Ld! Sync Lead! +SimpleSy SimpleSyn. +SlitMinu Slit.Minu. +SynHarmo SynthHarmo +Syn.Skex Synth Skex +Reso.Sqr ResoSquare +Wurli Ld Wurli Lead +FlatLead Flat Lead +Pluck Ld Pluck Lead +Brassyn BrassSynth +AcoSynLd Acou.SynLd +Binafone Binaphone AlbaPipe Alba Pipe +BaClari! BassClari! +WX Clari WXClarinet +WX JzGtr WX JazzGtr Shakuha! Shakhachi! +LipClari LipClarint LiteAlto Light Alto Trombon! Trombone! Air Sax Airy Sax @@ -596,6 +660,8 @@ SweetAlt Sweet Alto BrtTenor BriteTenor SoftPipe Soft Pipe BowedSaw Bowed Saw +Squeeze SqeezAcord +MouthKey Mouth Key AmpdHarp AmpdHarmnc CromHarp ChromHrmnc YamaBotl YamaBottle diff --git a/src/basic/index.mjs b/src/basic/index.mjs index cecbcf85..a75098e4 100644 --- a/src/basic/index.mjs +++ b/src/basic/index.mjs @@ -243,9 +243,6 @@ let RootDisplay = class extends CustomEventSource { if (raw.type == 9) { if (raw.data[1] > 0) { notes.add(raw.part * 128 + raw.data[0]); - /*if (writeStrength[raw.part] == 0) { - upThis.#mimicStrength[raw.part] = raw.data[1]; - };*/ } else { if (notes.has(raw.part * 128 + raw.data[0])) { extraPoly ++;