Compare commits
3 Commits
3228614071
...
v2.1.3
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d67c7b450 | |||
| 551b650d45 | |||
| 7720fbec7b |
@@ -4,6 +4,19 @@ 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).
|
||||
|
||||
## [2.1.3] — 2026-07-13
|
||||
|
||||
A tuner fix. Engaging the chromatic tuner could crackle or pop through the output —
|
||||
even with "Mute while tuning" on — until a steady note was detected.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Tuner no longer leaks into the audio output.** The tuner's pitch-detection stage
|
||||
was mistakenly written to an audio output bus instead of its internal analysis bus,
|
||||
so the tracked frequency was summed onto an output channel — bypassing the rig mute
|
||||
and crackling while the pitch was still unstable (it stopped once a note locked). The
|
||||
tuner now writes only to its analysis bus; engaging it leaves the output untouched.
|
||||
|
||||
## [2.1.1] — 2026-07-12
|
||||
|
||||
A quieter, more predictable startup. The input feeding the pedals now has its own
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 8;
|
||||
CURRENT_PROJECT_VERSION = 10;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_TEAM = HE5VJFE9E4;
|
||||
@@ -176,7 +176,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.0;
|
||||
MARKETING_VERSION = 2.0.0;
|
||||
MARKETING_VERSION = 2.1.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilder;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
@@ -194,7 +194,7 @@
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 8;
|
||||
CURRENT_PROJECT_VERSION = 10;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = HE5VJFE9E4;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
@@ -206,7 +206,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.0;
|
||||
MARKETING_VERSION = 2.0.0;
|
||||
MARKETING_VERSION = 2.1.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilder;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
|
||||
+2
-2
@@ -15,8 +15,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://realizedsound.mooo.com/josh/Lyrebird",
|
||||
"state" : {
|
||||
"revision" : "032b7c39d351eba4029e8399e1ab1ee201e8bb5c",
|
||||
"version" : "1.2.0"
|
||||
"revision" : "c058493a9853695c441895a12e9f4a5dbc7295b0",
|
||||
"version" : "1.2.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.0.0</string>
|
||||
<string>2.1.2</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>7</string>
|
||||
<string>10</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.music</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
||||
+2
-2
@@ -15,8 +15,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://realizedsound.mooo.com/josh/Lyrebird",
|
||||
"state" : {
|
||||
"revision" : "032b7c39d351eba4029e8399e1ab1ee201e8bb5c",
|
||||
"version" : "1.2.0"
|
||||
"revision" : "c058493a9853695c441895a12e9f4a5dbc7295b0",
|
||||
"version" : "1.2.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+11
@@ -1,4 +1,15 @@
|
||||
# Releases
|
||||
## ShoeGaze 2.1.3
|
||||
|
||||
A tuner fix. Engaging the chromatic tuner could crackle or pop through the output — even
|
||||
with "Mute while tuning" on — until you played a steady note.
|
||||
|
||||
### Fixed
|
||||
- **Tuner no longer leaks into the output.** The pitch-detection stage was written to an
|
||||
audio output bus instead of its internal analysis bus, so the tracked frequency was
|
||||
summed onto an output channel — bypassing the rig mute and crackling while the pitch was
|
||||
unstable (it stopped once a note locked). The tuner now writes only to its analysis bus.
|
||||
|
||||
## ShoeGaze 2.1.1
|
||||
|
||||
A quieter, more predictable startup. The signal feeding the pedals now has its own mute
|
||||
|
||||
@@ -55,6 +55,12 @@ final class TunerTap: SynthesizerBase {
|
||||
)
|
||||
let capture: TunerPitchCapture = TunerPitchCapture(input: filtered)
|
||||
pitchCapture = capture
|
||||
output(bus: scratchControlBus, source: capture)
|
||||
// Route through `controlOutput` (Out.Control → control-bus memory), NOT `output`
|
||||
// (Out.Audio → *audio*-bus memory at the same index). The scratch bus exists only to give
|
||||
// the engine a reason to evaluate the capture generator; writing the capture's pitch signal
|
||||
// to an audio bus at the control-bus index would land it on a hardware output channel (a low
|
||||
// control index collides with the output buses) — audible as crackle while the pitch is
|
||||
// unstable — and, because this tap runs after `mainGroup`, would bypass the rig mute.
|
||||
controlOutput(bus: scratchControlBus, source: capture)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,4 +120,45 @@ struct TunerTests {
|
||||
shoeGaze.engageTuner()
|
||||
#expect(shoeGaze.rigMuted, "Second engageTuner() call while already engaged must be a no-op")
|
||||
}
|
||||
|
||||
/// With the rig muted, an engaged tuner must leave the audio output silent. Guards against the
|
||||
/// tuner's pitch-capture signal leaking into a hardware output channel: its scratch bus is a
|
||||
/// *control* bus, but writing it through the audio-rate `output(bus:)` helper would treat that
|
||||
/// index as an *audio* bus (colliding with the low output-bus indices) and, since the tap runs
|
||||
/// after `mainGroup`, bypass the rig mute — audible as crackle while the pitch is unstable.
|
||||
@Test func engagedTunerDoesNotLeakIntoOutput() throws {
|
||||
let renderDuration: Double = 0.4
|
||||
let sampleRate: Double = 44100.0
|
||||
let (engine, url): (SynthesisEngine, URL) = makeNRTEngine(duration: renderDuration, numAudioBuses: 256)
|
||||
defer { try? FileManager.default.removeItem(at: url) }
|
||||
let shoeGaze: ShoeGaze = ShoeGaze(engine: engine, inputSource: .testLoop)
|
||||
|
||||
try withExtendedLifetime(shoeGaze) {
|
||||
let board: PedalBoard = try shoeGaze.addBoard()
|
||||
try board.add(VolumePedal())
|
||||
try shoeGaze.finalizeBoard(board)
|
||||
|
||||
// Feed the test-loop signal so the pitch tracker produces a real (non-zero) estimate —
|
||||
// the value that would leak if the scratch write hit an audio bus.
|
||||
shoeGaze.setInputMuted(false)
|
||||
shoeGaze.tunerMutesRig = true
|
||||
shoeGaze.engageTuner()
|
||||
#expect(shoeGaze.rigMuted)
|
||||
|
||||
try engine.start()
|
||||
let samples: [Float] = readStereoCAF(url: url, sampleRate: sampleRate)
|
||||
|
||||
// Ignore the opening window: the rig-mute gain ramps up over its first blocks (a separate,
|
||||
// pre-existing BoardOutputMaster behaviour), briefly passing the test-loop signal. Once it
|
||||
// settles the output must be exactly silent — the tuner leak, if present, persists for the
|
||||
// whole render (it bypasses the mute), so the settled tail catches it.
|
||||
let channels: Int = 2
|
||||
let settleSeconds: Double = 0.15
|
||||
let tailStart: Int = Int(settleSeconds * sampleRate) * channels
|
||||
let tail: [Float] = Array(samples[min(tailStart, samples.count)...])
|
||||
#expect(!tail.isEmpty)
|
||||
#expect(!hasNonSilentOutput(tail),
|
||||
"once the rig mute settles, an engaged tuner must not leak its pitch signal into the output")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user