Skip to content

Commit

Permalink
This is 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pema99 committed Oct 8, 2023
1 parent 9822a41 commit f4fad27
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/StandaloneMetadata/package.json
Original file line number Diff line number Diff line change
@@ -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" : {
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion Packages/com.llealloo.audiolink/Runtime/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.2.0
2 changes: 1 addition & 1 deletion Packages/com.llealloo.audiolink/package.json
Original file line number Diff line number Diff line change
@@ -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" : {
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4fad27

Please sign in to comment.