Add rig-wide output volume + hard mute, MIDI-mappable
Volume is a CC-mappable [0,1] gain applied after every board's output; mute is a separate hard gate (not the existing dry bypass), togglable via Program Change. Both are lagged to avoid clicks and fan out across all boards from a single ShoeGaze-level setter. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -99,6 +99,7 @@ public struct MIDIMappingSheet: View {
|
||||
private var switchRowModels: [SwitchRowModel] {
|
||||
var rows: [SwitchRowModel] = [
|
||||
SwitchRowModel(id: "sw-rig", action: .rigBypass, label: "Rig Bypass"),
|
||||
SwitchRowModel(id: "sw-mute", action: .rigMute, label: "Rig Mute"),
|
||||
SwitchRowModel(id: "sw-all", action: .allBoards, label: "All Boards On"),
|
||||
]
|
||||
for boardPair: (offset: Int, element: PedalBoard) in shoeGaze.boards.enumerated() {
|
||||
@@ -124,7 +125,9 @@ public struct MIDIMappingSheet: View {
|
||||
}
|
||||
|
||||
private var ccRowModels: [CCRowModel] {
|
||||
var rows: [CCRowModel] = []
|
||||
var rows: [CCRowModel] = [
|
||||
CCRowModel(id: "cc-rigvol", target: .rigVolume, label: "Rig · Volume"),
|
||||
]
|
||||
for boardPair: (offset: Int, element: PedalBoard) in shoeGaze.boards.enumerated() {
|
||||
let boardIndex: Int = boardPair.offset
|
||||
let board: PedalBoard = boardPair.element
|
||||
|
||||
Reference in New Issue
Block a user