Skip to content

DxAudio 0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Nov 02:15

Added

  • Create balanced cues from selected clips, with shuffle, per-take level, low-pass variation, and seeded A/B audition (#81).
  • Add cue pitch and level variation, seeded series audition, and a visual path to the cue's DSP assets (#81).
  • Add a DxAudio authoring window for audio assets, with a DSP node canvas, ordered effects, repair tools, and live dry/wet audition (#86).
  • Reopen saved drawn EQ targets and apply new fits with Undo while keeping generated Bell references (#89).
  • Draw an EQ target in the DSP Chain inspector, compare the fitted response, and save a new chain of Bell filters (#85).
  • Add a DspFilter effect and its asset: one state-variable core gives low pass, high pass, band pass, notch, peak and symmetric bell modes, a knob move is ramped rather than stepped, and it allocates nothing per block (#27).
  • Add an AudioMixBus for the object that carries the AudioListener: Unity hands it the sum of every source, so a chain there holds a master ceiling that no per-voice bus can see (#74).
  • Add a DspGraphAsset and attach it to a cue or a music track: named nodes and edges author a parallel signal path, each voice builds its own graph, and the graph inspector shows each branch's delay (#72).
  • Add an engine-free DspGraph: each node holds a DspChain, an edge fans a node out and sums it back in, and the graph delays the shorter branch so parallel paths stay aligned. It refuses a cycle or an oversized graph before audio runs (#69).
  • Add a delay-line DspPitchShifter effect and its asset: it moves a sound from -24 to 24 semitones with two crossfaded read heads, reports its delay in samples, and allocates nothing per block (#27).
  • Add the DSP host: a cue or music track names a DspChainAsset, each pooled voice runs its own prepared copy, a player-wide bus runs after it, and a chain or cue inspector shows the live gain reduction of every stage (#59).
  • Add the engine-free DSP chain: an ordered DspChain of limiter, compressor, distortion and bit crusher effects that shape an interleaved block in place without allocating (#27).
  • Add a Clip Load Type to MusicTrack. Auto streams a clip longer than 30 seconds and decompresses the rest, the track inspector applies the choice to the clip's import settings, and the library check reports a clip that does not follow it (#44).
  • Add the user manual in Documentation~/ (install, quickstart, cues, music, ducks and troubleshooting) and a BasicUsage sample scene that plays a cue, holds a loop, starts music and ducks it (#16).
  • MusicPlayer raises TrackChanged and Stopped, and both players take Paused, which holds every voice at its playhead so resuming continues rather than restarts. The DxMessaging integration adds music requests, duck ids and AudioPauseRequest (#36).
  • An Audio Diagnostics overlay component lists busy voices with priorities and loop leases, active ducks and their holders, and dropped-cue counts by reason. SfxPlayer.DropCounts and SfxPlayer.TryGetVoiceState expose the same data. Sampling allocates only while the overlay is enabled (#14).
  • An optional DxMessaging integration assembly drives SfxPlayer from SfxPlayRequest, SfxLoopRequest, SfxLoopStopRequest, SfxStopAllRequest and SfxMuteRequest, and broadcasts SfxLoopStartedMessage and SfxCueDroppedMessage. It compiles only with DxMessaging installed, so the package keeps no dependency (#26).
  • Cue inspector with take start offsets and audition, duck inspector with a composed preview, and a library validation window (Tools > Wallstop Studios > DxAudio > Validate Libraries) that reports missing clips, duplicate keys or contexts, and unreachable tracks (#12).

Changed

  • Group DxAudio editor commands, asset creation, and components under Wallstop Studios > DxAudio (#87).
  • Make DspEffect.Prepare and DspChain.Prepare into TryPrepare, which answers a layout the stage cannot run with false instead of an exception, so game code reports a bad layout rather than catching one (#70).
  • Require mode editor on every bridged test_run, refuse play mode there, fail a PlayMode source that imports an asset, and name the crash record when the bridge outlives its editor (#53).
  • Compile every assembly with warnings as errors. scripts/sync_compiler_policy.py writes the response file and the ruleset beside each assembly definition before a local, gate, or CI build, and both files stay out of the repository and the npm payload (#40).
  • Move the cue, duck and music track inspectors, and the library window, to UI Toolkit with one shared style; audition, the composed duck preview and the clip import write work from the new tree (#48).
  • Require every enum to start with an obsolete Unknown = 0, so an unset serialized value is distinguishable from a chosen one; MusicEase values shift by one and MusicClipLoadType gains the sentinel and a stored ease migrates to its original curve (#47).
  • Format every source type at the 180-character line length the .editorconfig already declares, and keep each changelog entry on one line (#47).
  • Local development harness, gates, and MCP tooling for this repository. No package behavior changes.
  • Unity CI runs 6000.5 on pull requests and main. The 2021.3 lane moved to a nightly matrix, which runs every supported editor in both states of the optional DxMessaging integration (#25).

Fixed

  • Include the Basic Usage sample in packages installed from npm.
  • Speed up drawn EQ fits with many Bells in the DSP Chain inspector while preserving the fitted response (#100).
  • Fit broad drawn EQ ramps closer to the preview edge at low sample rates with a small Bell budget (#96).
  • Improve drawn EQ cuts and boosts near the preview edge when the sample rate limits Bell centers (#91).
  • Fit the response between draw points to reduce overshoot on narrow EQ targets (#88).
  • Make npm run check:fast pass again, and run the assembly warning policy in the fast check, the gate, and CI. The policy fails a hidden warning: a #pragma warning disable in shipped code, an assembly response file or ruleset, or a missing warnings-as-errors setting in the engine-free build (#37).
  • Free a voice whose clip audio data was unloaded or failed to load. AudioClip.UnloadAudioData and Resources.UnloadAsset leave the clip assigned, so a held loop kept its voice and its looping slot, and music reported playback it did not make (#32).
  • Free a voice whose clip was destroyed. Unity keeps the source reporting playback with no clip, so a released loop held its voice and its looping slot for the session. A stranded voice hid idle ones, and music reported playback it did not make (#15).
  • Start music again when a request names the track that a released clip stopped. The selection had not changed, so the request started nothing (#15).