Skip to content

Commit 961dc3f

Browse files
committed
YD
1 parent ff25700 commit 961dc3f

File tree

20 files changed

+713
-538
lines changed

20 files changed

+713
-538
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ main, develop, personality_disorder_innit ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.11'
21+
22+
- name: Install PlatformIO
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install platformio
26+
27+
- name: Build firmware
28+
run: |
29+
pio run -e m5cardputer
30+
31+
- name: Upload firmware artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: firmware
35+
path: .pio/build/m5cardputer/firmware.bin
36+
retention-days: 30

.github/workflows/test.yml

Lines changed: 0 additions & 125 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
.pio
2-
.vscode/.browse.c_cpp.db*
3-
.vscode/c_cpp_properties.json
4-
.vscode/launch.json
5-
.vscode/ipch
2+
.vscode/
63
*.csv
74
src/build_info.h
85
m5porkchop_builds/
96
porkchop_*.bins
107
secret/
118
release_notes/
129
# like the build pipeline will change lol
13-
.github/
1410
temp/
1511
docs/
1612
m5sirloin/

.vscode/extensions.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.vscode/m5porkchop.code-workspace

Lines changed: 0 additions & 11 deletions
This file was deleted.

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
platform = espressif32@6.12.0
55
board = m5stack-stamps3
66
framework = arduino
7-
custom_version = 0.1.7_DNKROZ
7+
custom_version = 0.1.8.YDE
88
board_build.mcu = esp32s3
99
board_build.f_cpu = 240000000L
1010
board_build.flash_mode = qio

src/audio/sfx.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,24 @@ static const Note SND_CHALLENGE_SWEEP[] = {
247247
{0, 0, 0}
248248
};
249249

250+
// YOU_DIED: "Dark Souls" style death sound
251+
// Impact (43Hz), then F3 wobble (172/178), with dissonant B3/Eb4, fading to sub
252+
static const Note SND_YOU_DIED[] = {
253+
{43, 200, 20}, // Impact F1 (Sub-bass thud)
254+
{172, 80, 0}, // F3 wobble 1
255+
{178, 80, 0}, // F3 wobble 1
256+
{172, 80, 0}, // F3 wobble 2
257+
{178, 80, 0}, // F3 wobble 2
258+
{247, 60, 0}, // B3 (poison/dissonance)
259+
{172, 80, 0}, // F3 wobble 3
260+
{178, 80, 0}, // F3 wobble 3
261+
{311, 60, 0}, // Eb4 (metallic edge)
262+
{174, 400, 0}, // F3 sustain (The "Doom Tone")
263+
{87, 400, 0}, // F2 drop
264+
{43, 800, 0}, // F1 - tail (Sub-bass fade)
265+
{0, 0, 0}
266+
};
267+
250268
// ==[ MORSE REMOVED ]==
251269
// Morse GG was too long (600ms+), replaced with warm resolve in HANDSHAKE
252270

@@ -412,6 +430,9 @@ bool update() {
412430
case CHALLENGE_SWEEP:
413431
startSequence(SND_CHALLENGE_SWEEP);
414432
break;
433+
case YOU_DIED:
434+
startSequence(SND_YOU_DIED);
435+
break;
415436
default:
416437
break;
417438
}

src/audio/sfx.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ enum Event {
5151
PIGSYNC_BOOT, // extended boot sequence for PIGSYNC
5252

5353
// === SPECIAL ===
54-
SIREN // police siren effect (replaces flashSiren audio)
54+
SIREN, // police siren effect (replaces flashSiren audio)
55+
YOU_DIED // Dark Souls style death sound
5556
};
5657

5758
// Initialize audio system (call once at startup)

src/build_info.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Auto-generated build info
22
#pragma once
3-
#define BUILD_TIME "2026-01-16T22:32:09.576333"
4-
#define BUILD_VERSION "0.1.7_DNKROZ"
5-
#define BUILD_COMMIT "4a0e065"
3+
#define BUILD_TIME "2026-01-19T16:07:02.868621"
4+
#define BUILD_VERSION "0.1.8.YDE"
5+
#define BUILD_COMMIT "febca11"

0 commit comments

Comments
 (0)