Repository navigation
Conversation
llozd
marked this pull request as ready for review
November 24, 2026 08:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary & Goal
Four buses, each with 3 insert slots and a volume, so a group of channels can share effects. For example, send tracks 1 to 4 to Bus 1 and put one EQ and one compressor on it, instead of one on every track. OpenSpec:
openspec/changes/bus-channels/.Behavior & Changes
MixerAndFxshas 4 stereo bus mixers and 4AudioEffectInserts (insert channels 12-15). They return into the tracks mixer, which goes from 11 to 15 inputs. Routing is done by mixer gain with the audio interrupt off, andAudioMixerramps each gain change over one block, so changes don't click.AudioMixer: an input with 0 gain is now dropped without being mixed, so a mixer with every input silenced sends nothing. Without this, every bus insert would run on blocks of zeros whenever any track played.channelOutput[11],busVolume[4]andbusInsertSlot[4][3]. Older projects open with everything sent to the master. Projects stay portable: the Original keeps the settings and ignores them.fxtakesb1-b4.Target Devices
MK66) (stores the settings only)IMX)IMX)Hardware Testing Status
MK66)IMX)IMX)How to Test
fx,cpu), compare the CPU load with nothing on the buses against tracks on a bus with effects.Developer Checklist
CONTRIBUTING.md).make allcompiles cleanly for all three devices (Original,Plus,Mini).SRAM_DTC,EXTERNAL_RAM,FLASH) was checked and stays within safe hardware headroom.new/malloc) or SD card I/O were added to real-time audio callbacks..mtprojects,.ptiinstruments,.ptssynth patches, andmtConfigsettings remain backward-compatible.