Skip to content

Wakes v0.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Oct 20:42
· 1 commit to main since this release
8a37749

What's New in v0.9.0

  • Custom scales: v0.9.0 lets you configure the scales used by Plaits' quantizer and Marbles' X STPS quantization, via scales.cnfg, at <SP-1>:/WAKES/CNFG. Wakes has 7 scale slots for you to play with. Plug your SP-1 into your host while it's in STANDBY, and edit the file in a text editor.
  • Scala format: scales.cnfg uses the Scala .scl format to define scales, so any scale that you build and export as .scl from tools like Scale Workshop can be pasted into a slot as-is. Wakes adds two extras on top: a weight parameter following each interval definition, which decides how prominent that note's presence is as you move Marbles' STPS upwards, and plaits = N, which acts as a threshold determining the notes Plaits' quantizer chooses to play out of the scale. The intent is to create a functionality where you can make scales appear out of chromatic tuning definitions. The file explains both states, with examples.
  • A scales wiki: below the [scales_wiki] line, scales.cnfg contains a reference library of scales for you to copy into your slots and use: the seven musical modes (Ionian to Locrian), and examples of experimental microtonal scales 31-EDO's chromatic definition and the first mode of its cute and dreamy Mothra[6]. Wakes doesn't read anything below [scales_wiki], so the library doesn't get in the way of any parsing. Copy between the two markers around each scale, scroll above [scales_wiki], and paste the definition under one of the slots [1]-[7] to use the scale.
  • Bigger scales: a scale can now hold up to 64 notes, so large microtonal tunings like 31-EDO and 53-EDO fit. Scales don't have to repeat at the octave either; any period works, for example the 3/1 tritave of Bohlen-Pierce.
  • New default scale: whole-tone now ships in slot 7 (○○○●), so all 7 slots are filled out of the box.
  • Tune By Ear: tune Plaits' FREQ by ear while checking it with TRIG, then turn the quantizer on with SCL> (T3). For most scales, Wakes takes the note you were playing as the root tuning of the selected scale. Stepping between scales keeps that root; turning the quantizer off and on again allows you to take a new one. Pelog, bhairav and shri are examples for scales that stay rooted on C. You can switch Tune By Ear on or off per scale, it is a setting in scales.cnfg.
  • OCTV's two-octave lock: below the octave switch, OCTV used to lock FREQ to ±7 semitones. It now locks FREQ to two octaves around the root note. That way, FREQ's extremes land on root notes with any scale, as long as it has a period. Just below max, FREQ still sweeps full octaves of the root note, or your scale root's octaves when the quantizer is on.
  • PRSTs remember Tune By Ear's root, so a PRST is loaded in the key you originally tuned it to, in case it was part of a project.
  • If something's wrong in scales.cnfg, Wakes ignores the whole file and uses the built-in scales. If you define more than 7 slots, extras get dropped. Either way, the log tells you what happened. Made a mess? Delete the file. Wakes will write a fresh copy with the defaults the next time it turns ON.
  • Logging: logs.cnfg has a new scales setting, off by default. Turn it on to see each of your scales in the log at every ON.
  • Updating from v0.8.2: v0.9.0 changes the PRST format to store Tune By Ear's root, so this release uses the fresh bin. Back up your WAKES folder first (copy it off to somewhere in your PC), then follow the Flashing steps below. Older Wakes versions can't read v0.9.0's PRSTs: if you go back to v0.8.2, those slots load as defaults.

Flashing

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

  1. v0.9.0 needs the fresh bin, for everyone. It formats your storage, so if you've used Wakes before, plug your SP-1 into your PC while it's in STANDBY and copy the WAKES folder off to somewhere in your PC first. It holds your PRSTs, your .cnfg edits and your logs.

  2. Download wakes-sp1-v0.9.0-fresh.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, it will perform a short format of the eMMC card. Give it a moment. Wakes then writes its default PRSTs and all five .cnfg files, scales.cnfg included.

  8. If you had edited your .cnfg files, copy your changes back into the new files by hand, from your backup. Once everything's set, delete your backups.

  9. For future versions, use the regular bin again, unless the release notes say otherwise.

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.9.0-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.2

plaits vs v0.8.2

Config: plaits

base head Δ of total
FLASH (.bin) 509,952 537,528 +27,576 58.85%
RAM 126,964 135,758 +8,794 51.79%
Sections that changed
section base head Δ
rodata 220,844 242,544 +21,700
bss 80,460 89,250 +8,790
text 283,436 289,320 +5,884
datas 3,492 3,496 +4
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 0xa33b8)
  [PASS] wakes-sp1.bin matches the ELF's loadable span  (537528 B vs 537528 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: 537528 B (58.85% of the slot), plaits config
OK: safe to hand over for flashing

fresh vs v0.8.2

Config: plaits

base head Δ of total
FLASH (.bin) 514,852 542,432 +27,580 59.39%
RAM 127,862 136,656 +8,794 52.13%
Sections that changed
section base head Δ
rodata 221,756 243,460 +21,704
bss 81,322 90,112 +8,790
text 287,408 293,276 +5,868
datas 3,512 3,516 +4
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 0xa46e0)
  [PASS] wakes-sp1.bin matches the ELF's loadable span  (542432 B vs 542432 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: 542432 B (59.39% of the slot), plaits config
OK: safe to hand over for flashing

fallback vs v0.8.2

Config: fallback

base head Δ of total
FLASH (.bin) 87,000 87,000 0 9.52%
RAM 124,532 124,532 0 47.51%
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

863d89700ea633b2413e57e6f0fb7935e9578a7f24fa844cd2b4bec2f3d5a580  wakes-sp1-fresh.bin
2196e61fc227e955c427aff412f0aad0a6e14717acb837f098484534e7818886  wakes-sp1-v0.9.0-fallback.bin
863d89700ea633b2413e57e6f0fb7935e9578a7f24fa844cd2b4bec2f3d5a580  wakes-sp1-v0.9.0-fresh.bin
7254ceb72920a35ebe7cef6739727e74137ad38b87f7a0106692561692b61fde  wakes-sp1-v0.9.0.bin
7254ceb72920a35ebe7cef6739727e74137ad38b87f7a0106692561692b61fde  wakes-sp1.bin