Skip to content

Commit 1dc7d0f

Browse files
committed
This is 1.2.1
1 parent acfb6a7 commit 1dc7d0f

File tree

7 files changed

+27
-35
lines changed

7 files changed

+27
-35
lines changed

.github/workflows/StandaloneMetadata/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "com.llealloo.audiolink",
33
"displayName" : "AudioLink",
4-
"version" : "1.2.0",
4+
"version" : "1.2.1",
55
"unity" : "2022.3",
66
"description" : "Audio reactive prefabs for VRChat",
77
"gitDependencies" : {},

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## 1.2.1 - December 9th, 2023
4+
### Changes
5+
- Enabled Async GPU readbacks on mobile platforms, including Quest. This let's you access data via Udon much more cheaply. To facilitate this, AudioLink now requires Unity 2022.3 or newer. (pema)
6+
- Moved the AudioLink menu in the top menu bar into the "Tools" submenu, to bring it in line with other similar packages. (techanon)
7+
- Updated the "Add AudioLink Prefab to Scene" button to check for the existence of a prefab before adding a new one. (techanon)
8+
- Made the controller call `AudioLink.AudioLinkEnable` and `AudioLink.AudioLinkDisable` instead of toggling the AudioLink GameObject. (Nestorboy)
9+
10+
### Bugfixes
11+
- Fixed normals being incorrectly flipped on the logo of the AudioLink controller. (llealloo)
12+
- Fixed a bug where shader ID's used by AudioLink weren't properly initialized in some cases. (Nestorboy)
13+
- Updated the shader used for the AudioLink controller logo to support single pass stereo instanced rendering. (Nestorboy)
14+
315
## 1.2.0 - October 9th, 2023
416
### Changes
517
- **Important for shader developers:** Deprecated AudioLinkGetVersion() and replaced it with AudioLinkGetVersionMajor() and AudioLinkGetVersionMinor(). For this current release, major will read 1.0f, and minor will read 2.0f. Unfortunately, the recent 1.0.0 and 1.1.0 versions will be detected as 0 on the major version due to an oversight. These should be the only versions in existence with an incorrect version number. For all other versions, these 2 functions are backwards compatible. Any shaders going forward should use these 2 functions, or read directly from green (major version) and alpha (minor version) of the pixel at `ALPASS_GENERALVU`.

Packages/com.llealloo.audiolink/Editor/Scripts/AudioLinkAssetManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static void OpenExampleScene()
4545
{
4646
if (EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo())
4747
{
48-
string baseAssetsPath = "Samples/AudioLink/1.2.0";
48+
string baseAssetsPath = "Samples/AudioLink/1.2.1";
4949
string packagePath = "Packages/com.llealloo.audiolink/Samples~/AudioLinkExampleScene";
5050
string assetsPath = Path.Combine("Assets", baseAssetsPath, "AudioLinkExampleScene");
5151
if (!Directory.Exists(Path.Combine(Application.dataPath, baseAssetsPath, "AudioLinkExampleScene")))

Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public partial class AudioLink : MonoBehaviour
2525
#endif
2626
{
2727
const float AudioLinkVersionNumberMajor = 1.00f;
28-
const float AudioLinkVersionNumberMinor = 2.00f;
28+
const float AudioLinkVersionNumberMinor = 2.01f;
2929

3030
[Header("Main Settings")]
3131
[Tooltip("Should be used with AudioLinkInput unless source is 2D. WARNING: if used with a custom 3D audio source (not through AudioLinkInput), audio reactivity will be attenuated by player position away from the Audio Source")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.2.1

Packages/com.llealloo.audiolink/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "com.llealloo.audiolink",
33
"displayName" : "AudioLink",
4-
"version" : "1.2.0",
4+
"version" : "1.2.1",
55
"unity" : "2022.3",
66
"description" : "Audio reactive prefabs for VRChat",
77
"gitDependencies" : {},

README.md

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,17 @@ The per-frequency audio amplitude data is first read briefly into Udon using Uni
1212
### [Frequently Asked Questions](FAQ.md)
1313
### [Documentation for shader creators](https://github.com/llealloo/vrc-udon-audio-link/tree/master/Docs)
1414

15-
## 1.2.0 - October 9th, 2023
15+
## 1.2.1 - December 9th, 2023
1616
### Changes
17-
- **Important for shader developers:** Deprecated AudioLinkGetVersion() and replaced it with AudioLinkGetVersionMajor() and AudioLinkGetVersionMinor(). For this current release, both will return 1.0f. Unfortunately, the recent 1.0.0 and 1.1.0 versions will be detected as 0 on the major version due to an oversight. These should be the only versions in existence with an incorrect version number. For all other versions, these 2 functions are backwards compatible. Any shaders going forward should use these 2 functions, or read directly from green (major version) and alpha (minor version) of the pixel at `ALPASS_GENERALVU`.
18-
19-
## 1.1.0 - October 8th, 2023
20-
### Changes
21-
- Made the logo on the new AudioLink controller audio reactive.
22-
- Changed the recently added [C# Data API](https://github.com/llealloo/vrc-udon-audio-link/blob/master/Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.DataAPI.cs) to not use Vector2Int. This type does not work correctly in UdonSharp.
23-
24-
25-
## 1.0.0 - September 29th, 2023
26-
### New features
27-
- Added a new AudioLink Controller, with a completely revamped design. The old controller is still included, if you don't want to change. (Thanks to everyone who helped, including Pema, Lea, Teeh, Sacred, TechAnon and more)
28-
- Added automatic gain adjustment. It's enabled by default, but you can disable it on the AudioLink controller. (Thanks, cnlohr)
29-
- Added Async GPU Readback, you can toggle it on the AudioLink prefab. This means you can read data from AudioLink in Udon, without having to pay a heavy performance penalty! Note that this feature only works on PC. Quest (and other mobile platforms) will continue to use the old slow synchronous readbacks, which we advise against.
30-
- Added [a new C# API](https://github.com/llealloo/vrc-udon-audio-link/blob/master/Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.DataAPI.cs) for reading audio data in Udon, to better accomodate the new Async Readbacks.
31-
- Added Media Playback States, which provide information about the currently playing track. ([See Docs](https://github.com/llealloo/vrc-udon-audio-link/tree/master/Docs)). (Thanks, fundale)
32-
- Added Media States Udon API [VideoPlayer API](https://github.com/llealloo/vrc-udon-audio-link/tree/master/Docs/PlayerAPI.md), to control the aforementioned Playback States. (Thanks, fundale)
33-
- Added an AudioLink prefab for ChilloutVR.
34-
### Changes
35-
- We have switched to using [Semantic Versioning](https://semver.org/), marking this release as 1.0.0. This may break shaders written for very old versions of AudioLink. The version will now read as `1.00f` to AudioLink shaders.
36-
- The "VRCAudioLink" namespace has been renamed to "AudioLink". This is a breaking change. We've added a new scripting define, `AUDIOLINK_V1`, which will be present for future versions of AudioLink, to aid with backwards compatability.
37-
- Removed the dependency on the VPM package resolver.
38-
### Improvements
39-
- Made yt-dlp integration resolve URLs asynchronously.
40-
- Improved the yt-dlp integration UI in a number of ways. (Thanks, rRazgriz)
41-
- Improved the "Add Audiolink Prefab to Scene" button.
42-
- Improved logging, with less meaningless warning spam.
43-
- Cache the local player in AudioLink scripts for slightly improved performance. (Thanks, Nessie)
44-
- Fixed null reference exceptions being fired when a player leaves the world. (Thanks, Nessie)
45-
- Fixed an issue where theme colors would reset to the defaults on world start (https://github.com/llealloo/vrc-udon-audio-link/issues/281).
17+
- Enabled Async GPU readbacks on mobile platforms, including Quest. This let's you access data via Udon much more cheaply. To facilitate this, AudioLink now requires Unity 2022.3 or newer. (pema)
18+
- Moved the AudioLink menu in the top menu bar into the "Tools" submenu, to bring it in line with other similar packages. (techanon)
19+
- Updated the "Add AudioLink Prefab to Scene" button to check for the existence of a prefab before adding a new one. (techanon)
20+
- Made the controller call `AudioLink.AudioLinkEnable` and `AudioLink.AudioLinkDisable` instead of toggling the AudioLink GameObject. (Nestorboy)
21+
22+
### Bugfixes
23+
- Fixed normals being incorrectly flipped on the logo of the AudioLink controller. (llealloo)
24+
- Fixed a bug where shader ID's used by AudioLink weren't properly initialized in some cases. (Nestorboy)
25+
- Updated the shader used for the AudioLink controller logo to support single pass stereo instanced rendering. (Nestorboy)
4626

4727
## Updating projects from version 0.2.8 or lower? (...first time setup? please see next section)
4828
1. Before upgrading your project, **MAKE A BACKUP**! The latest version of AudioLink changes many things - better safe than sorry.

0 commit comments

Comments
 (0)