Repository navigation
Releases
Releases · Ambiguous-Interactive/DxAudio
DxAudio 0.4.0
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
DspFiltereffect 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
AudioMixBusfor the object that carries theAudioListener: 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
DspGraphAssetand 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 aDspChain, 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
DspPitchShiftereffect 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
DspChainof 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 aBasicUsagesample scene that plays a cue, holds a loop, starts music and ducks it (#16). MusicPlayerraisesTrackChangedandStopped, and both players takePaused, which holds every voice at its playhead so resuming continues rather than restarts. The DxMessaging integration adds music requests, duck ids andAudioPauseRequest(#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.DropCountsandSfxPlayer.TryGetVoiceStateexpose the same data. Sampling allocates only while the overlay is enabled (#14). - An optional DxMessaging integration assembly drives
SfxPlayerfromSfxPlayRequest,SfxLoopRequest,SfxLoopStopRequest,SfxStopAllRequestandSfxMuteRequest, and broadcastsSfxLoopStartedMessageandSfxCueDroppedMessage. 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.PrepareandDspChain.PrepareintoTryPrepare, which answers a layout the stage cannot run withfalseinstead of an exception, so game code reports a bad layout rather than catching one (#70). - Require
modeeditoron every bridgedtest_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.pywrites 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;MusicEasevalues shift by one andMusicClipLoadTypegains the sentinel and a stored ease migrates to its original curve (#47). - Format every source type at the 180-character line length the
.editorconfigalready 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:fastpass again, and run the assembly warning policy in the fast check, the gate, and CI. The policy fails a hidden warning: a#pragma warning disablein 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.UnloadAudioDataandResources.UnloadAssetleave 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).
DxAudio 0.3.0
Added
MusicDuckReasonTable<TKey>hands oneIMusicDuckReasonper key, the same object on every call, for
reasons that only code raises.MusicDuckStackkeys a hold by reference, so a reason made anew per
call could not be released
(#18).MusicOverride<TTrack>takes an optionalisPlayablecheck, andTakerefuses a track that the check
rejects.MusicPlayerpassesMusicTrack.IsPlayable
(#19).
DxAudio 0.2.1
Fixed
MusicOverride<TTrack>sees a destroyed Unity track.Currentgives the context's music while the
override track is destroyed,Takerefuses a destroyed track, and releasing the override announces the
context's music again. Generic code compares by reference, so??and== nulltreated a destroyed
track as music to play.
Changed
package.jsonlists its dependencies, which are none, and the runtime assembly takes no precompiled
DLL that it does not name. CI fails when an assembly references a package thatpackage.jsondoes not
list, or when a listed version is not exact
(#7).- The README's scoped registry covers
com.wallstop-studios, so other Wallstop Studios packages on npm
resolve from the same entry. The package is on OpenUPM too, from 0.1.2. SfxSelection<TKey>.TryFollowdocuments that it compares keys for equality only.
DxAudio 0.2.0
Changed
- Breaking:
SfxThrottleandSfxSelectionareSfxThrottle<TKey>andSfxSelection<TKey>, with an
optionalIEqualityComparer<TKey>. A game that keys cues by a struct no longer boxes the key on every
call: 1,000 calls on warmed struct keys allocated 120,000 bytes before and allocate none now.
SfxPlayerkeys both bySfxCue, as before. Replacenew SfxThrottle()with
new SfxThrottle<YourKey>(), and the same forSfxSelection.
DxAudio 0.1.2
Added
- Releases publish to npm as
com.wallstop-studios.dxaudio, so Unity can install the package from a
scoped registry. Each GitHub Release carries the same tarball and its SHA-256.
Changed
- The package holds only
Runtime,Testsand the docs. CI, the .NET test project and editor settings
stay in the repository.
DxAudio 0.1.1
Fixed
- Voices are
DontSaveonly in edit mode, soFindObjectsOfType<AudioSource>still finds them in
Play mode and a game's own pause-all reaches them. MusicPlayerdestroys its voices with a deferredDestroyonly.- The
SfxCueinterval tooltip says loops are never rate-limited.
Install: add https://github.com/Ambiguous-Interactive/DxAudio.git#v0.1.1 in the Package Manager.
DxAudio 0.1.0
Added
SfxCue,SfxVariantandSfxLibraryassets: takes with start offsets, volume, pitch jitter, rate
limits, priority, looping, pause behaviour, mixer routing and 3D falloff.SfxPlayer: a pooled voice player with priority stealing, per-cue rate limits, no-repeat take
selection, matched takes (FollowsTakeOf), loop handles, a looping voice limit, mute and drop reports.MusicTrack,MusicLibraryandMusicDuckassets.MusicPlayer: music per context with crossfades, reclaiming music that is fading out, overrides by
lease, composing ducks with low- and high-pass filters, abandoned-holder sweeps and mute.- An engine-free core (
SfxVoiceArbiter,SfxThrottle,SfxSelection,MusicDuckStack,
MusicAttenuation,MusicRamp,MusicEasing,MusicHandOff,MusicOverride,AudioLoudness,
AudioMath) with tests that run on .NET and in Unity.
Install: add https://github.com/Ambiguous-Interactive/DxAudio.git#v0.1.0 in the Package Manager.