Skip to content

Wakes v0.8.2

Choose a tag to compare

@github-actions github-actions released this 16 Oct 18:09
· 4 commits to main since this release
ff371e0

What's New in v0.8.2

  • Configuration from storage: v0.8.2 adds advanced configuration through .cnfg files found in Wakes' onboard storage, at <SP-1>:/WAKES/CNFG. You don't need to fork Wakes' GitHub repository anymore to configure your version of Wakes. Plug your SP-1 into your host while it's in STANDBY, and edit the files directly in a text editor. .cnfg files are in the .ini format, and contain comments explaining what each setting does.
  • Four files to play with: engines.cnfg (your Plaits engine stack), midi.cnfg (MIDI note handling and CC bindings), audio.cnfg (USB audio level and the speaker) and logs.cnfg (what goes into Wakes' logs).
  • Changes apply at the next ON. Wakes reads its .cnfg files every time it's turned ON. If Wakes can't read a line, that setting keeps its default, and the log tells you which line it was. Made a mess? Delete the file: Wakes writes a fresh copy with the defaults the next time it turns ON.
  • Your engine stack: engines.cnfg lets you test, curate and rearrange your sound engines across up to 24 slots, for a perfect selection. ENG- (T2), ENG+ (T3) and the MODEL input (via MIDI CC) will skip empty slots. Ripping Out Plaits' Cables takes you back to the first engine in your stack. If Wakes can't use the file (a misspelled engine, an engine used twice, or no engines at all), it ignores the whole file and loads the original 16 Plaits 1.0 engines.
  • The default stack is now the 16 original Plaits engines. VA-VCF, phase distortion, wave terrain, string machine and chiptune moved out of it, and are ready for you to add back in through engines.cnfg. Your PRSTs that use them will still load them. PRSTs that load engines that are outside of your stack have a special flashing 4-LED glyph.
  • An engine encyclopedia: engines.cnfg also contains a reference for every Plaits engine offered by Wakes. Read its ENGINES section to learn about each engine, each parameter it offers, and what's on its AUX output.
  • New MIDI defaults: Wakes now listens to every MIDI channel (omni) by default. Wakes is also set to legato mode by default. Velocity no longer opens LEVL by default; bind it back in midi.cnfg if you want it.
  • Logging: <SP-1>:/WAKES/LOGS contains .logs files. Each session (from ON to OFF/STANDBY) creates a logfile with a session number as its name, and Wakes keeps the last 5. logs.cnfg lets you choose what gets logged. If you encounter bugs, Adara might ask you to turn some of these on and send her one of your .logs files.
  • Fix: a single noisy fader reading could stop a SHFT hold from shutting Wakes down. It now takes a real fader move to defer shutdown.
  • Updating from v0.8.0: Backup your PRST files (copy the folders off to somewhere in your PC). Flash the regular wakes-sp1.bin. Your PRSTs should stay where they are, and Wakes will set up the rest, writing the four .cnfg files into WAKES/CNFG the first time it turns ON. Once everything's set, delete your backups.

Flashing

Read docs/SAFETY.md first. The SP-1 has no hardware reset pin.

  1. Wakes features new storage protocols for the SP-1. If you've never used Wakes before, you need to format your storage partition.

    To do that, Download the latest fresh bin below.

  2. If you've used Wakes before, and want to avoid touching your storage, Download the latest regular bin below.

  3. Older Wakes versions and release notes are available through the repo's releases page.

  4. Open https://solderless.engineering. Hold down T1+T4. Keep them held while connecting the SP-1 over USB-C.

  5. Follow solderless.engineering's instructions on how to connect to your SP-1 to flash it.

  6. Select the .bin in Solderless Engineering's "firmware utility" page, flash it, and once done, you can unplug.

  7. The first time you turn Wakes ON after flashing a fresh bin, it will perform a short format of the eMMC card. Give it a moment.

wakes-sp1.bin and wakes-sp1-fresh.bin are the same files as the versioned bins, under a fixed name, so the README's download link works.

When in doubt, check the files against SHA256SUMS before flashing.

Storage: wakes-sp1 vs wakes-sp1-fresh

  • wakes-sp1-*.bin never formats the SP-1's internal storage (the eMMC). Flash

    it to update: your presets and files stay where they are.

  • wakes-sp1-*-fresh.bin FORMATS the eMMC the first time it turns ON, and

    erases everything on it, including whatever another firmware left there (stock

    stems, tape-looper recordings). Flash it once to set the storage up, or to start

    over; a progress bar shows on T1-T4 while it formats. Flashing the same fresh file

    again does not format a second time. wakes-sp1-fresh.bin is the same file under

    a fixed name.

  • Without a formatted card, Wakes can still operate, but the storage features get turned off.

wakes-sp1-v0.8.2-fallback.bin is the test-tone recovery build. Plaits and Marbles are offline.

It never touches the eMMC, and is for diagnosing hardware only in case of issues.

Claude's Blurb

Size vs v0.8.0

plaits vs v0.8.0

Config: plaits

base head Δ of total
FLASH (.bin) 459,736 509,952 +50,216 55.83%
RAM 204,935 126,964 -77,971 48.43%
Sections that changed
section base head Δ
noinit 124,212 42,312 -81,900
rodata 184,412 220,844 +36,432
text 269,892 283,436 +13,544
bss 76,763 80,460 +3,697
datas 3,260 3,492 +232
check_image
check_image: build/zephyr
  [PASS] _vector_table at 0x20000  (0x20000)
  [PASS] no load segment below 0x20000  (lowest LMA 0x20000)
  [PASS] no load segment at or above 0xFF000  (image ends 0x9c800)
  [PASS] wakes-sp1.bin matches the ELF's loadable span  (509952 B vs 509952 B)
  [PASS] .map: FLASH region origin 0x20000  (0x20000)
  [PASS] .map: FLASH region ends at 0xFF000  (0xff000)
  [PASS] .map: _vector_table at 0x20000  (0x0000000000020000)
  [PASS] CONFIG_USE_DT_CODE_PARTITION=y  (got y)
  [PASS] CONFIG_FLASH_LOAD_OFFSET=0x20000  (got 0x20000)
  [PASS] CONFIG_WATCHDOG=y  (got y)
  [PASS] CONFIG_REBOOT=y  (got y)
  [PASS] CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y  (got y)
  [PASS] one layout per Plaits/Marbles class  (175 classes)
  [PASS] plaits::sp1_zero calls nothing (#36)  (152 B, leaf)
  [PASS] ParticleEngine::Reset clears without memset (#36)  (no libc fill)
  [PASS] String::Reset clears without memset (#36)  (no libc fill)
  [PASS] uacring_push copies without memcpy/memset (M5c)  (word copies)
  [PASS] uacring_pop copies without memcpy/memset (M5c)  (word copies)
  [PASS] frames_copy copies without memcpy/memset (M5c)  (word copies)
  [PASS] storage: a failed mount never formats (FS_FATFS_MOUNT_MKFS off)  (got None)
  [PASS] storage: normal image contains no formatter  (no f_mkfs)
  [PASS] SP1_FORCE_CALIB is 0  (got 0)
wakes-sp1.bin: 509952 B (55.83% of the slot), plaits config
OK: safe to hand over for flashing

fresh vs v0.8.0

Config: plaits

base head Δ of total
FLASH (.bin) 464,616 514,852 +50,236 56.37%
RAM 205,833 127,862 -77,971 48.78%
Sections that changed
section base head Δ
noinit 124,228 42,328 -81,900
rodata 185,320 221,756 +36,436
text 273,840 287,408 +13,568
bss 77,625 81,322 +3,697
datas 3,280 3,512 +232
check_image
check_image: build/zephyr
  [PASS] _vector_table at 0x20000  (0x20000)
  [PASS] no load segment below 0x20000  (lowest LMA 0x20000)
  [PASS] no load segment at or above 0xFF000  (image ends 0x9db24)
  [PASS] wakes-sp1.bin matches the ELF's loadable span  (514852 B vs 514852 B)
  [PASS] .map: FLASH region origin 0x20000  (0x20000)
  [PASS] .map: FLASH region ends at 0xFF000  (0xff000)
  [PASS] .map: _vector_table at 0x20000  (0x0000000000020000)
  [PASS] CONFIG_USE_DT_CODE_PARTITION=y  (got y)
  [PASS] CONFIG_FLASH_LOAD_OFFSET=0x20000  (got 0x20000)
  [PASS] CONFIG_WATCHDOG=y  (got y)
  [PASS] CONFIG_REBOOT=y  (got y)
  [PASS] CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y  (got y)
  [PASS] one layout per Plaits/Marbles class  (175 classes)
  [PASS] plaits::sp1_zero calls nothing (#36)  (152 B, leaf)
  [PASS] ParticleEngine::Reset clears without memset (#36)  (no libc fill)
  [PASS] String::Reset clears without memset (#36)  (no libc fill)
  [PASS] uacring_push copies without memcpy/memset (M5c)  (word copies)
  [PASS] uacring_pop copies without memcpy/memset (M5c)  (word copies)
  [PASS] frames_copy copies without memcpy/memset (M5c)  (word copies)
  [PASS] storage: a failed mount never formats (FS_FATFS_MOUNT_MKFS off)  (got None)
  [PASS] storage: FRESH image links the formatter  (f_mkfs present)
  [NOTE] FRESH IMAGE: formats the eMMC on its first entry to ON. Ship it as wakes-sp1-fresh, never as wakes-sp1.
  [PASS] SP1_FORCE_CALIB is 0  (got 0)
wakes-sp1.bin: 514852 B (56.37% of the slot), plaits config
OK: safe to hand over for flashing

fallback vs v0.8.0

Config: fallback

base head Δ of total
FLASH (.bin) 86,648 87,000 +352 9.52%
RAM 124,503 124,532 +29 47.51%
Sections that changed
section base head Δ
text 74,332 74,680 +348
noinit 117,208 117,228 +20
bss 5,687 5,696 +9
check_image
check_image: build/zephyr
  [PASS] _vector_table at 0x20000  (0x20000)
  [PASS] no load segment below 0x20000  (lowest LMA 0x20000)
  [PASS] no load segment at or above 0xFF000  (image ends 0x353d8)
  [PASS] wakes-sp1.bin matches the ELF's loadable span  (87000 B vs 87000 B)
  [PASS] .map: FLASH region origin 0x20000  (0x20000)
  [PASS] .map: FLASH region ends at 0xFF000  (0xff000)
  [PASS] .map: _vector_table at 0x20000  (0x0000000000020000)
  [PASS] CONFIG_USE_DT_CODE_PARTITION=y  (got y)
  [PASS] CONFIG_FLASH_LOAD_OFFSET=0x20000  (got 0x20000)
  [PASS] CONFIG_WATCHDOG=y  (got y)
  [PASS] CONFIG_REBOOT=y  (got y)
  [PASS] CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y  (got y)
  [PASS] SP1_FORCE_CALIB is 0  (got 0)
wakes-sp1.bin: 87000 B (9.52% of the slot), fallback config
OK: safe to hand over for flashing

SHA-256

e21ce887a3d8d11fe697cbb03a2dab69b1ec06445d347c2a3cec5cbea8e8e331  wakes-sp1-fresh.bin
6b620a70380ba32b1baf57aa41e70b5e4fd5665cb1ae57f8b7b0860b51afbb6d  wakes-sp1-v0.8.2-fallback.bin
e21ce887a3d8d11fe697cbb03a2dab69b1ec06445d347c2a3cec5cbea8e8e331  wakes-sp1-v0.8.2-fresh.bin
3712aa6e184870794dd0fb0bb92a28ba16cf02cf38c448d80ce670724d97b121  wakes-sp1-v0.8.2.bin
3712aa6e184870794dd0fb0bb92a28ba16cf02cf38c448d80ce670724d97b121  wakes-sp1.bin