diff --git a/.github/workflows/StandaloneMetadata/package.json b/.github/workflows/StandaloneMetadata/package.json index 38ab971b..e2a49cfd 100644 --- a/.github/workflows/StandaloneMetadata/package.json +++ b/.github/workflows/StandaloneMetadata/package.json @@ -1,7 +1,7 @@ { "name" : "com.llealloo.audiolink", "displayName" : "AudioLink", - "version" : "1.1.0", + "version" : "1.2.0", "description" : "Audio reactive prefabs for VRChat", "gitDependencies" : {}, "vpmDependencies" : { diff --git a/CHANGELOG.md b/CHANGELOG.md index e4cc62ce..cb498312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ # Changelog +## 1.2.0 - October 9th, 2023 +### Changes +- **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`. + ## 1.1.0 - October 8th, 2023 ### Changes - Made the logo on the new AudioLink controller audio reactive. - 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. -- **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 will be detected as 0 on the major version due to an oversight. This should be the only version 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`. ## 1.0.0 - September 29th, 2023 ### New features diff --git a/Packages/com.llealloo.audiolink/Editor/Scripts/AudioLinkAssetManager.cs b/Packages/com.llealloo.audiolink/Editor/Scripts/AudioLinkAssetManager.cs index e7be069b..fb904d68 100644 --- a/Packages/com.llealloo.audiolink/Editor/Scripts/AudioLinkAssetManager.cs +++ b/Packages/com.llealloo.audiolink/Editor/Scripts/AudioLinkAssetManager.cs @@ -42,7 +42,7 @@ public static void OpenExampleScene() { if (EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo()) { - string baseAssetsPath = "Samples/AudioLink/1.1.0"; + string baseAssetsPath = "Samples/AudioLink/1.2.0"; string packagePath = "Packages/com.llealloo.audiolink/Samples~/AudioLinkExampleScene"; string assetsPath = Path.Combine("Assets", baseAssetsPath, "AudioLinkExampleScene"); if (!Directory.Exists(Path.Combine(Application.dataPath, baseAssetsPath, "AudioLinkExampleScene"))) diff --git a/Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs b/Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs index 492cc64a..f232f6cd 100644 --- a/Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs +++ b/Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs @@ -25,7 +25,7 @@ public partial class AudioLink : MonoBehaviour #endif { const float AudioLinkVersionNumberMajor = 1.00f; - const float AudioLinkVersionNumberMinor = 1.00f; + const float AudioLinkVersionNumberMinor = 2.00f; [Header("Main Settings")] [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")] diff --git a/Packages/com.llealloo.audiolink/Runtime/VERSION.txt b/Packages/com.llealloo.audiolink/Runtime/VERSION.txt index 1cc5f657..867e5243 100644 --- a/Packages/com.llealloo.audiolink/Runtime/VERSION.txt +++ b/Packages/com.llealloo.audiolink/Runtime/VERSION.txt @@ -1 +1 @@ -1.1.0 \ No newline at end of file +1.2.0 \ No newline at end of file diff --git a/Packages/com.llealloo.audiolink/package.json b/Packages/com.llealloo.audiolink/package.json index 763d0cc9..72283f63 100644 --- a/Packages/com.llealloo.audiolink/package.json +++ b/Packages/com.llealloo.audiolink/package.json @@ -1,7 +1,7 @@ { "name" : "com.llealloo.audiolink", "displayName" : "AudioLink", - "version" : "1.1.0", + "version" : "1.2.0", "description" : "Audio reactive prefabs for VRChat", "gitDependencies" : {}, "vpmDependencies" : { diff --git a/README.md b/README.md index fbaea96b..e406e9c5 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,15 @@ The per-frequency audio amplitude data is first read briefly into Udon using Uni ### [Frequently Asked Questions](FAQ.md) ### [Documentation for shader creators](https://github.com/llealloo/vrc-udon-audio-link/tree/master/Docs) +## 1.2.0 - October 9th, 2023 +### Changes +- **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`. + ## 1.1.0 - October 8th, 2023 ### Changes - Made the logo on the new AudioLink controller audio reactive. - 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. -- **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 will be detected as 0 on the major version due to an oversight. This should be the only version 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`. + ## 1.0.0 - September 29th, 2023 ### New features