unity-technologies / nativeaudioplugins Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I want to use these effects on Android, but this can be used only on the computer!
Problem
Env
Build Log - Fail
C:\Users\user01\Desktop\$AS\audiostream_development\AudioPlugin\AudioPluginUtil.cpp(491): Unit test 'Accuracy' failed for expression 'err < errtol'.
C:\Users\user01\Desktop\$AS\audiostream_development\AudioPlugin\AudioPluginUtil.cpp(488): Unit test 'Accuracy' failed for expression 'err < errtol'.
With two or more plug-in instances active in an AudioMixer (e.g. in two Groups), the Custom GUI won't reflect the plug-in parameter's state after a parameter has been set via the Custom GUI's script. It only shows the last set value independent of the plug-in instance.
In code words:
after calling
plugin.SetFloatParameter("parameterName", value);
in IAudioEffectPluginGUI
's OnGUI(IAudioEffectPlugin plugin)
method,
plugin.GetFloatParameter("parameterName", out float value);
always returns the value which was set most recently, independent on which plugin instance is currently selected.
NativeCode
AudioPluginDemo.bundle
on macOS) into the projects (assets)EqualizerCustomGUI.cs
, GUIHelpers.cs
, MathHelpers.cs
from GUICode/AudioPluginDemoGUI
I don't think this is a bug of this repository, but rather one in Unity itself. Or is there something you can do in the scripts to prevent this from happening?
This behaviour renders the CustomGUI feature unusable if the GUI is used to change parameter values and not only displays them (like in all the UI examples in this repository).
Problem:
We are shipping commercial audio plugin and we would like to hide symbols of internal components. However, the UNITY_AUDIODSP_EXPORT_API macro does not force visibility so we ended up hiding UnityGetAudioEffectDefinitions symbol as well, resulting in Unity can't find our audio plugin on android.
To reproduce:
Proposed fix:
Inside AudioPluginInterface.h, change
#if PLATFORM_WIN
#define UNITY_AUDIODSP_EXPORT_API __declspec(dllexport)
#else
#define UNITY_AUDIODSP_EXPORT_API
#endif
to this:
#if PLATFORM_WIN
#define UNITY_AUDIODSP_EXPORT_API __declspec(dllexport)
#else
#define UNITY_AUDIODSP_EXPORT_API attribute((visibility("default")))
#endif
Hope this got fixed soon.
I guess this SDK can be import as C++ dll in C# script? like Dllimport[...], or add dll in plugin folder? but this repo is like a project? how to install this SDK? download this repo and copy to unity projects? don't get it..
basic question, hope get the answer...
I am getting this when building: unsealed contents present in the bundle root
Command CodeSign failed with a nonzero exit code
See https://stackoverflow.com/questions/25950544/codesign-what-are-unsealed-contents
This commit:
fd08cdc
Changed the lines from:
atk = GetTimeConstant(0.99f, _atk); rel = GetTimeConstant(0.99f, _rel);
to:
atk = GetTimeConstant(0.99f, atk); rel = GetTimeConstant(0.99f, rel);
which means atk and rel are never being set correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.