2 Commits

Author SHA1 Message Date
josh f8926ecfb8 fix(mutant): double-width pedal so switch captions don't wrap — 3.1.1
The Mutant envelope filter's three segmented switches (Direction / Mode /
Range — seven segments total) were crammed into a single-width pedal, so the
"Down" caption wrapped to "Do wn". Mutant is now double-width, like the
Cabinet and amp pedals, giving the switch row room for its captions.

Bumps both apps to MARKETING_VERSION 3.1.1 and records the fix in
CHANGELOG.md / RELEASES.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-13 20:04:56 -07:00
josh 9873dd258b fix(rigs): don't let starter overwrites be reverted by reseeding
External-review findings for 3.1.0:

- A starter rig can no longer be overwritten in place. Saving over a loaded
  starter previously stored the edited content under the rig's fixed factory
  id, so the next starter-catalog update (or Restore Starter Rigs) would
  silently revert it to the shipped version. The confirmation now offers only
  Save as New Rig / Cancel — a starter is managed content, and the player's
  changes are kept as their own rig (a new id) instead.
- restoreStarterRigs advances the seed-version marker only on success, matching
  start(), so a failed manual restore no longer suppresses the next launch's
  automatic catch-up seed.
- CHANGELOG: correct the starter-rig count (18, not 19).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-13 10:38:26 -07:00
7 changed files with 39 additions and 17 deletions
+10 -1
View File
@@ -4,6 +4,15 @@ All notable changes to ShoeGaze are recorded here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses
[semantic versioning](https://semver.org/spec/v2.0.0.html).
## [3.1.1] — 2026-08-13
### Fixed
- **Mutant switch captions no longer wrap.** The envelope filter's three segmented switches
(Direction / Mode / Range — seven segments in all) were crammed into a single-width pedal,
wrapping the "Down" caption to "Do wn". Mutant is now double-width, like the Cabinet and amp
pedals, so the switch captions have room.
## [3.1.0] — 2026-08-13
Starter rigs and a deeper envelope filter. ShoeGaze now ships a library of ready-to-play
@@ -12,7 +21,7 @@ plus a batch of rig-switching and reverb fixes.
### Added
- **19 built-in starter rigs**, seeded into the library on first launch and grouped by
- **18 built-in starter rigs**, seeded into the library on first launch and grouped by
style — **Shoegaze Walls**, **Dreampop**, **Classic**, **Ambient**, and **Experimental**.
A **Mine / Starters** toggle at the top of the rig sidebar switches between your own rigs
and the shipped ones (grouped under category headers); the sidebar opens on whichever
@@ -163,7 +163,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = "21``";
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_HARDENED_RUNTIME = YES;
@@ -175,7 +175,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 15.0;
MARKETING_VERSION = 3.1.0;
MARKETING_VERSION = 3.1.1;
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilder;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -193,7 +193,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 19;
CURRENT_PROJECT_VERSION = "21``";
DEAD_CODE_STRIPPING = YES;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = ShoeGazeBuilder/Info.plist;
@@ -204,7 +204,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 15.0;
MARKETING_VERSION = 3.1.0;
MARKETING_VERSION = 3.1.1;
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilder;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -175,7 +175,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.1.0;
MARKETING_VERSION = 3.1.1;
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilderiOS;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
@@ -203,7 +203,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.1.0;
MARKETING_VERSION = 3.1.1;
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilderiOS;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
+9
View File
@@ -1,4 +1,13 @@
# Releases
## ShoeGaze 3.1.1
A small fix for the Mutant envelope filter's control panel.
### Fixed
- **Mutant switch captions no longer wrap.** Its three segmented switches (Direction / Mode /
Range) were cramped into a single-width pedal, wrapping "Down" to "Do wn". Mutant is now
double-width — like the Cabinet and amp pedals — so the captions fit.
## ShoeGaze 3.1.0
Starter rigs, two new pedals, and a deeper envelope filter — plus smoother rig switching.
@@ -153,6 +153,11 @@ public final class MutantPedal: Pedal {
]
}
/// Double-width so the three segmented switches (Direction / Mode / Range — seven segments in
/// all) have room for their captions instead of wrapping ("Do wn"), the same reason the Cabinet
/// and amp pedals are double-width.
public override var widthUnits: Int { 2 }
// MARK: - Init
public init(inputBus: Int = 0, outputBus: Int = 0) {
@@ -69,7 +69,9 @@ public enum RigLibraryBootstrap {
/// - Returns: The number of starter rigs written (0 on a build/encode failure).
@discardableResult
public static func restoreStarterRigs(into store: RigLibraryStore) -> Int {
let written: Int = installFactoryRigs(into: store) ?? 0
// Advance the seed marker only on success, mirroring `start()` — a failed restore must not
// suppress the automatic catch-up seed on the next launch.
guard let written: Int = installFactoryRigs(into: store) else { return 0 }
UserDefaults.standard.set(FactoryRigLibrary.seedVersion, forKey: seedVersionKey)
return written
}
@@ -320,7 +320,7 @@ public struct ShoeGazeBuilderView: View {
.background(actionErrorAnchor)
.rigNamePrompt($namePrompt)
.confirmationDialog(
"Overwrite starter rig?",
"Starter rig",
isPresented: Binding(
get: { factoryOverwrite != nil },
set: { presented in if !presented { factoryOverwrite = nil } }
@@ -328,12 +328,9 @@ public struct ShoeGazeBuilderView: View {
titleVisibility: .visible,
presenting: factoryOverwrite
) { request in
Button("Overwrite", role: .destructive) {
persist(
shoeGaze.captureEntry(name: request.entry.name, id: request.entry.id),
then: request.completion
)
}
// A starter rig is managed content: it is refreshed to the shipped version whenever the
// starter catalog updates, so it deliberately cannot be overwritten in place — that would
// silently revert on the next update. The player keeps their changes as a new rig instead.
Button("Save as New Rig…") {
// Defer one runloop hop: presenting the name-entry alert while the confirmation
// dialog is still dismissing can drop the new presentation on some SwiftUI versions.
@@ -342,8 +339,8 @@ public struct ShoeGazeBuilderView: View {
}
Button("Cancel", role: .cancel) { }
} message: { request in
Text("“\(request.entry.name)” is a built-in starter rig. Overwriting replaces it in "
+ "your library. Save as a new rig to keep the original.")
Text("“\(request.entry.name)” is a built-in starter rig and can't be changed in place. "
+ "Save your changes as a new rig to keep them.")
}
}