fix(amps): Phase 1 review nits — docs, redundant init, test style
- AmpVoicePedal: powerAmpDriveInput / powerAmpOversample docs now cover the lower-headroom-variant case (fixed higher drive), not just master-volume amps. - FullertonReverbAmpPedal: drop the redundant override init(name:) — the class inherits AmpVoicePedal's designated init, so the convenience init and the subclasses' super.init(name:) resolve without it. - FullertonDeluxe doc: correct "2×12 Twin"/"Master drives" wording (both share the American cab; the difference is a higher fixed power-amp drive). - Tests: explicit for-loop binding type annotations; accurate diff comment. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -83,22 +83,14 @@ open class FullertonReverbAmpPedal: AmpVoicePedal {
|
||||
/// - Parameters:
|
||||
/// - inputBus: Audio bus index to read the dry input from. Defaults to `0`.
|
||||
/// - outputBus: Audio bus index to write the processed output to. Defaults to `0`.
|
||||
/// The blackface-combo variants (Deluxe / Princeton) call the inherited
|
||||
/// `AmpVoicePedal.init(name:inputBus:outputBus:)` designated init to set their own name while
|
||||
/// inheriting the shared reverb + tremolo + bright control surface.
|
||||
public convenience init(inputBus: Int = 0, outputBus: Int = 0) {
|
||||
self.init(name: "Fullerton Reverb", inputBus: inputBus, outputBus: outputBus)
|
||||
gain = 4.0 // headroom-rich clean default
|
||||
}
|
||||
|
||||
/// Designated init used by the blackface-combo variants (Deluxe / Princeton) to set their own
|
||||
/// name while inheriting the shared reverb + tremolo + bright control surface.
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - name: Display name for this amp voice.
|
||||
/// - inputBus: Audio bus index to read the dry input from. Defaults to `0`.
|
||||
/// - outputBus: Audio bus index to write the processed output to. Defaults to `0`.
|
||||
public override init(name: String, inputBus: Int = 0, outputBus: Int = 0) {
|
||||
super.init(name: name, inputBus: inputBus, outputBus: outputBus)
|
||||
}
|
||||
|
||||
// MARK: - Switches
|
||||
|
||||
public override var effectSwitches: [PedalSwitch] {
|
||||
|
||||
Reference in New Issue
Block a user