Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: add composite label 'cmp' to waveLabels array

Same issue as WAVE_COLORS — waveLabels had 6 entries but wavetypes
has 7 after adding composite. Index 6 was undefined → length crash.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+1 -1
+1 -1
fedac/native/pieces/notepat.mjs
··· 2052 2052 { 2053 2053 const waveRowY = settingsY + 36; 2054 2054 const waveRowH = 14; 2055 - const waveLabels = ["sine", "tri", "saw", "square", "noise", "sample"]; 2055 + const waveLabels = ["sine", "tri", "saw", "square", "cmp", "noise", "sample"]; 2056 2056 const octBtnW = 22; // octave button on right 2057 2057 const waveAreaW = w - octBtnW - 1; 2058 2058 const btnW2 = Math.floor(waveAreaW / wavetypes.length);