Releases: man572142/Bro_Audio
Releases · man572142/Bro_Audio
BroAudio 2.0.2
Behavior Changes
- The
Play()
method on the SoundSource component has changed to use the currentPosition Mode
settings instead of defaulting to global. - SoundSource component now stops the current playback before playing a new one to prevent losing control and reference to the previous play.
Fixes & Improvements
- Added
PlayGlobally()
to SoundSource to play sounds globally, ignoringPosition Mode
. - Added missing Undo/Redo functionality to the ClipEditor.
- Added
Pause()
andUnPause()
public static methods with an audio type parameter. - Added open the last edited asset preference option for LibraryManager.
- Added a preference setting for showing the play button when entities are collapsed in LibraryManager.
- Exposed the override playback group on SoundSource component and added tooltips for all properties.
- Fixed an issue where audio track changed unexpectedly after unpausing.
- Fixed a LayoutWindow exception at project launch by removing an unnecessary asset-saving process.
- Fixed comb filtering time not working correctly when set to zero.
- Fixed a warning appearing incorrectly when SoundSource tried to display the debugging player.
- Renamed and added a tooltip for the spatial setting field.
- Removed the non-2D spatialBlend warning.
- Improved public API summaries.
BroAudio 2.0.1
- Fixed a stack overflow issue that occurred when no groups were assigned
- Fixed an issue where PlaybackGroup was unintentionally saved to the ScriptableObject in play mode
- Fixed a conflict in LibraryManager where the Delete key was used for both deleting entities and removing object references
- Fixed an issue where the dominator was not set to the correct track
BroAudio 2.0.0
New Features
- Added Playback Group feature
- Added support for Addressables
- SpectrumAnalyzer component is now fully released
New APIs
- Added SetScheduledStartTime() and SetScheduledEndTime() to IAudioPlayer for scheduling playback
- Added SetDelay() to IAudioPlayer for delaying playback
- Added CurrentPlayingClip property to IAudioPlayer for accessing clip information (e.g., StartPosition, FadeOut, etc.)
- Added IsPlaying() property to SoundSource component
Improvements
- Added a [None] option to the SoundID dropdown menu
- Clicking on the label now expands an audio entity in Library Manager
- Added right-click menus and shortcuts in LibraryManager for duplicating and removing entities
- Implemented an automatic cleanup process for demo audio assets if they are not imported
- Added undo/redo functionality to the Preferences window
- Added editor preferences to the Audio Clip Editor
- Reordered SetPitch() method arguments to fix inconsistency with other APIs
- Improved user data generation process
- Various code refactoring and optimizations
Fixes
- Fixed an issue where changing the master volume in WebGL did not work as expected
- Fixed APIs that couldn't avoid accessing a recycled player
- Fixed an issue where editor assets were mistakenly included in the build; they have been moved to Editor/Resources
- Fixed MusicPlayer and DominatorPlayer not updating their instances during seamless looping
- Fixed an issue where an audio player couldn't be stopped if it was still waiting for delayed playback
BroAudio 1.15
- Fixed Pause() and Stop() method's override fadieTime doesn't work with a value of 0
- Fixed drag and drop with MultipleForEach option doesn't work as intended
- Added a debug object reference to SoundID
BroAudio 1.14
- Fixed
SoundID
doesn't work as intended when it's in an array - Fixed
OnEnd
is executed on the first loop of the play
BroAudio 1.13
- Fixed the volume dominator that wasn't working as intended
- Fixed the GUIStyle failing to initialize during project launch
- Fixed player never finishes playing when the start position is greater than 0
- Improved BroAudioType check
1.12
Breaking Change
The minimum supported Unity version is now set to 2020.2, and the code base has been upgraded to C# 8.0.
Play Mode
- Added velocity play mode.
- Added APIs for resetting clip sequence/shuffle data.
No-Code Components
- Added SoundVolume component to help create volume configurations without coding.
- Added a preview version of SpectrumAnalyzer component.
API
- Added GetAudioClip and Play extension method to SoundID.
- Added message type methods: OnStart(), OnUpdate(), OnEnd(), and OnAudioFilterRead() to IAudioPlayer.
- Added audio analysis methods: GetOutputData() and GetSpectrumData() to IAudioPlayer.
- Added UnPause() methods.
- Added AudioSourceProxy to IAudioPlayer to safely access AudioSource and Unity APIs.
- Deprecated OnEndPlaying event (replaced with OnEnd).
Other New Things
- Added a runtime-only audio player object field in the sound source inspector for debugging purposes.
- Added expand/collapse all entities feature to LibraryManager.
Fixes and Improvements
- Fixed missing BroAudioData when upgrading from a different path.
- Fixed issue where preview audio with pitch did not work as intended during fading processes.
- Fixed slider float field clipping when the [Volume] and [Frequency] attributes were used in a sub-structure.
- Improved shuffle picking algorithm to prevent repetition.
- Improved GUI UX and drawing precision.
- Updated demo scene to showcase all new features.
BroAudio 1.11
- Fixed an issue where the fading used for BGM transitions was applied to later loops.
- Fixed SoundID dropdown menu failed to open if there were any empty audio assets.
- Fixed SoundManager would overwrite the current reference of BroAudioData after upgrading BroAudio.
BroAudio 1.10
- Fixed issue where switching tabs in the LibraryManager caused the scroll position to change significantly.
- Fixed SetEffect() with Dominator resulting the effect doesn’t get reset issue.
- Fixed audioTypeVolume not resetting when the player finishes playing.
- Added a preview button to the SoundID inspector.
- Added an ID to the entity option menu for debugging purposes.
- Added a fade-out setting for the “Stop On Disable” feature on the SoundSource.
- Changed the audio player follow target design to fix the issue with players being destroyed.
BroAudio 1.09
- Fixed SetVolume with fading doesn’t work as intended
- Avoid making change to source control after using the audio preview