diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS/AudioPlugin_Hv_prototype03 b/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS/AudioPlugin_Hv_prototype03 deleted file mode 100755 index 3e04dab..0000000 Binary files a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS/AudioPlugin_Hv_prototype03 and /dev/null differ diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle.meta similarity index 91% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle.meta index cc1f0e2..e22441f 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: 27f019b6515c94aeeb49e43ea488f3b2 +guid: 87a22780621054e02930644317611c9e folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro PluginImporter: externalObjects: {} diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents.meta similarity index 70% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents.meta index fc47692..0fba874 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: e97464b728b814026b33928954b39f41 +guid: 4f9cf450ecf6f44ceae2a85d0c56bf35 folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/Info.plist b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/Info.plist similarity index 87% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/Info.plist rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/Info.plist index 9fc3a9c..9c6b490 100755 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/Info.plist +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/Info.plist @@ -7,13 +7,13 @@ CFBundleDevelopmentRegion English CFBundleExecutable - AudioPlugin_Hv_prototype03 + AudioPlugin_Hv_undulatingPlain CFBundleIdentifier - enzn.AudioPlugin-Hv-prototype03 + enzn.AudioPlugin-Hv-undulatingPlain CFBundleInfoDictionaryVersion 6.0 CFBundleName - AudioPlugin_Hv_prototype03 + AudioPlugin_Hv_undulatingPlain CFBundlePackageType BNDL CFBundleShortVersionString @@ -47,7 +47,7 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 9E145 + 9E501 DTPlatformVersion GM DTSDKBuild @@ -55,8 +55,8 @@ DTSDKName macosx10.13 DTXcode - 0930 + 0931 DTXcodeBuild - 9E145 + 9E501 diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/Info.plist.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/Info.plist.meta similarity index 67% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/Info.plist.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/Info.plist.meta index 27a250f..4827eae 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/Info.plist.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/Info.plist.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: ee7a9bd6501e0450eb9d9ce02397f03a -timeCreated: 1524438464 +guid: fb18670f417e947578d6bf6d629a5bfe +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS.meta similarity index 70% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS.meta index 366e139..c3b1135 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: af7715864bfa9475c8ffcc24e4ccf1f9 +guid: 7f06f5c6787964a698cc621e2712aa0c folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS/AudioPlugin_Hv_undulatingPlain b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS/AudioPlugin_Hv_undulatingPlain new file mode 100755 index 0000000..fce555e Binary files /dev/null and b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS/AudioPlugin_Hv_undulatingPlain differ diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS/AudioPlugin_Hv_prototype03.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS/AudioPlugin_Hv_undulatingPlain.meta similarity index 67% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS/AudioPlugin_Hv_prototype03.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS/AudioPlugin_Hv_undulatingPlain.meta index aba0c30..4ee22de 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/MacOS/AudioPlugin_Hv_prototype03.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/MacOS/AudioPlugin_Hv_undulatingPlain.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: fdd7a5608dce040e6a86f20ec7fbd0dd -timeCreated: 1524438465 +guid: 936a0e6f5cd014cafb50adf25f12eac6 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature.meta similarity index 70% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature.meta index 18f0bc1..149a7f6 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: f6d518092b41846c7a03d890d03ece84 +guid: b2eac946403a14cdba803fc69b1ca3c2 folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature/CodeResources b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature/CodeResources similarity index 100% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature/CodeResources rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature/CodeResources diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature/CodeResources.meta b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature/CodeResources.meta similarity index 67% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature/CodeResources.meta rename to Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature/CodeResources.meta index e8d4998..84f52fc 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature/CodeResources.meta +++ b/Assets/Plugins/AudioPlugin_Hv_undulatingPlain.bundle/Contents/_CodeSignature/CodeResources.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 998a67d2aabae4281bcab1d1ee02f723 -timeCreated: 1524438465 +guid: 88c6bf1d3e3be4664a6e9eb9faa82814 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS/Hv_prototype03_AudioLib b/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS/Hv_prototype03_AudioLib deleted file mode 100755 index 49a9799..0000000 Binary files a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS/Hv_prototype03_AudioLib and /dev/null differ diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS/Hv_prototype03_AudioLib.meta b/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS/Hv_prototype03_AudioLib.meta deleted file mode 100644 index f98a713..0000000 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS/Hv_prototype03_AudioLib.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6d38e4d5add8a4cd2bb843fdbc501766 -timeCreated: 1524438464 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle.meta similarity index 91% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle.meta index d91ed83..87bec91 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: 1da39f2fe6d1040a88009c365e9d97f2 +guid: b873c5e76afb34b8ba701dbdfa6cfd98 folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro PluginImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents.meta similarity index 70% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents.meta index be58ca5..e2e3f74 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: fb3750fcf8be4400ca04a1e78ded4ab2 +guid: 8eebb6229b1024736af30b5242688b12 folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/Info.plist b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/Info.plist similarity index 87% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/Info.plist rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/Info.plist index 9a5261d..6f56cea 100755 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/Info.plist +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/Info.plist @@ -7,13 +7,13 @@ CFBundleDevelopmentRegion English CFBundleExecutable - Hv_prototype03_AudioLib + Hv_undulatingPlain_AudioLib CFBundleIdentifier - enzn.Hv-prototype03-AudioLib + enzn.Hv-undulatingPlain-AudioLib CFBundleInfoDictionaryVersion 6.0 CFBundleName - Hv_prototype03_AudioLib + Hv_undulatingPlain_AudioLib CFBundlePackageType BNDL CFBundleShortVersionString @@ -47,7 +47,7 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 9E145 + 9E501 DTPlatformVersion GM DTSDKBuild @@ -55,8 +55,8 @@ DTSDKName macosx10.13 DTXcode - 0930 + 0931 DTXcodeBuild - 9E145 + 9E501 diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/Info.plist.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/Info.plist.meta similarity index 67% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/Info.plist.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/Info.plist.meta index 75d8d63..95c2d2c 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/Info.plist.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/Info.plist.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 1f73d4a64c18e4709a7c816d015fb63b -timeCreated: 1524438464 +guid: 159981fed78c349d4b67a429fd8e7223 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS.meta similarity index 70% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS.meta index 3a06b01..f149463 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/MacOS.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: d27cc34d6ec5b4e40b170c56ba8f3fd7 +guid: acf5d596459124ea2ba6043b9df38e2f folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS/Hv_undulatingPlain_AudioLib b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS/Hv_undulatingPlain_AudioLib new file mode 100755 index 0000000..dc73393 Binary files /dev/null and b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS/Hv_undulatingPlain_AudioLib differ diff --git a/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS/Hv_undulatingPlain_AudioLib.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS/Hv_undulatingPlain_AudioLib.meta new file mode 100644 index 0000000..33ab0f9 --- /dev/null +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/MacOS/Hv_undulatingPlain_AudioLib.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 502da9e10ca374b4381178f59c0d9a30 +timeCreated: 1532462818 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature.meta similarity index 70% rename from Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature.meta index a2d01aa..9c1af6a 100644 --- a/Assets/Plugins/AudioPlugin_Hv_prototype03.bundle/Contents/_CodeSignature.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 -guid: 6ab846e668936419eb17bb840a756475 +guid: f295d709d1ec24f478c15fd749543a24 folderAsset: yes -timeCreated: 1524438464 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature/CodeResources b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature/CodeResources similarity index 100% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature/CodeResources rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature/CodeResources diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature/CodeResources.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature/CodeResources.meta similarity index 67% rename from Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature/CodeResources.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature/CodeResources.meta index c37a745..48a0660 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.bundle/Contents/_CodeSignature/CodeResources.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.bundle/Contents/_CodeSignature/CodeResources.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 02178730cce34494e86fe81d6b035d91 -timeCreated: 1524438464 +guid: 2a270dd3075b54859b2528bd2e1d4f61 +timeCreated: 1532462818 licenseType: Pro DefaultImporter: externalObjects: {} diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.cs b/Assets/Plugins/Hv_undulatingPlain_AudioLib.cs similarity index 81% rename from Assets/Plugins/Hv_prototype03_AudioLib.cs rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.cs index f803496..1e30e3e 100755 --- a/Assets/Plugins/Hv_prototype03_AudioLib.cs +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.cs @@ -40,21 +40,21 @@ #if UNITY_EDITOR using UnityEditor; -[CustomEditor(typeof(Hv_prototype03_AudioLib))] -public class Hv_prototype03_Editor : Editor { +[CustomEditor(typeof(Hv_undulatingPlain_AudioLib))] +public class Hv_undulatingPlain_Editor : Editor { - [MenuItem("Heavy/prototype03")] - static void CreateHv_prototype03() { + [MenuItem("Heavy/undulatingPlain")] + static void CreateHv_undulatingPlain() { GameObject target = Selection.activeGameObject; if (target != null) { - target.AddComponent(); + target.AddComponent(); } } - private Hv_prototype03_AudioLib _dsp; + private Hv_undulatingPlain_AudioLib _dsp; private void OnEnable() { - _dsp = target as Hv_prototype03_AudioLib; + _dsp = target as Hv_undulatingPlain_AudioLib; } public override void OnInspectorGUI() { @@ -72,19 +72,19 @@ public override void OnInspectorGUI() { // build GUILayout.BeginHorizontal(); - float build = _dsp.GetFloatParameter(Hv_prototype03_AudioLib.Parameter.Build); + float build = _dsp.GetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Build); float newBuild = EditorGUILayout.Slider("build", build, 0.0f, 127.0f); if (build != newBuild) { - _dsp.SetFloatParameter(Hv_prototype03_AudioLib.Parameter.Build, newBuild); + _dsp.SetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Build, newBuild); } GUILayout.EndHorizontal(); // burst GUILayout.BeginHorizontal(); - float burst = _dsp.GetFloatParameter(Hv_prototype03_AudioLib.Parameter.Burst); + float burst = _dsp.GetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Burst); float newBurst = EditorGUILayout.Slider("burst", burst, 0.0f, 127.0f); if (burst != newBurst) { - _dsp.SetFloatParameter(Hv_prototype03_AudioLib.Parameter.Burst, newBurst); + _dsp.SetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Burst, newBurst); } GUILayout.EndHorizontal(); EditorGUI.indentLevel--; @@ -93,16 +93,16 @@ public override void OnInspectorGUI() { #endif // UNITY_EDITOR [RequireComponent (typeof (AudioSource))] -public class Hv_prototype03_AudioLib : MonoBehaviour { +public class Hv_undulatingPlain_AudioLib : MonoBehaviour { // Parameters are used to send float messages into the patch context (thread-safe). // Example usage: /* void Start () { - Hv_prototype03_AudioLib script = GetComponent(); + Hv_undulatingPlain_AudioLib script = GetComponent(); // Get and set a parameter - float build = script.GetFloatParameter(Hv_prototype03_AudioLib.Parameter.Build); - script.SetFloatParameter(Hv_prototype03_AudioLib.Parameter.Build, build + 0.1f); + float build = script.GetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Build); + script.SetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Build, build + 0.1f); } */ public enum Parameter : uint { @@ -114,12 +114,12 @@ public enum Parameter : uint { // Example usage: /* void Start () { - Hv_prototype03_AudioLib script = GetComponent(); + Hv_undulatingPlain_AudioLib script = GetComponent(); script.RegisterSendHook(); script.FloatReceivedCallback += OnFloatMessage; } - void OnFloatMessage(Hv_prototype03_AudioLib.FloatMessage message) { + void OnFloatMessage(Hv_undulatingPlain_AudioLib.FloatMessage message) { Debug.Log(message.receiverName + ": " + message.value); } */ @@ -138,7 +138,7 @@ public FloatMessage(string name, float x) { public float burst = 0.0f; // internal state - private Hv_prototype03_Context _context; + private Hv_undulatingPlain_Context _context; public bool IsInstantiated() { return (_context != null); @@ -148,8 +148,8 @@ public void RegisterSendHook() { _context.RegisterSendHook(); } - // see Hv_prototype03_AudioLib.Parameter for definitions - public float GetFloatParameter(Hv_prototype03_AudioLib.Parameter param) { + // see Hv_undulatingPlain_AudioLib.Parameter for definitions + public float GetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter param) { switch (param) { case Parameter.Build: return build; case Parameter.Burst: return burst; @@ -157,7 +157,7 @@ public float GetFloatParameter(Hv_prototype03_AudioLib.Parameter param) { } } - public void SetFloatParameter(Hv_prototype03_AudioLib.Parameter param, float x) { + public void SetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter param, float x) { switch (param) { case Parameter.Build: { x = Mathf.Clamp(x, 0.0f, 127.0f); @@ -176,7 +176,7 @@ public void SetFloatParameter(Hv_prototype03_AudioLib.Parameter param, float x) public void FillTableWithMonoAudioClip(string tableName, AudioClip clip) { if (clip.channels > 1) { - Debug.LogWarning("Hv_prototype03_AudioLib: Only loading first channel of '" + + Debug.LogWarning("Hv_undulatingPlain_AudioLib: Only loading first channel of '" + clip.name + "' into table '" + tableName + "'. Multi-channel files are not supported."); } @@ -190,7 +190,7 @@ public void FillTableWithFloatBuffer(string tableName, float[] buffer) { } private void Awake() { - _context = new Hv_prototype03_Context((double) AudioSettings.outputSampleRate); + _context = new Hv_undulatingPlain_Context((double) AudioSettings.outputSampleRate); } private void Start() { @@ -201,7 +201,7 @@ private void Start() { private void Update() { // retreive sent messages if (_context.IsSendHookRegistered()) { - Hv_prototype03_AudioLib.FloatMessage tempMessage; + Hv_undulatingPlain_AudioLib.FloatMessage tempMessage; while ((tempMessage = _context.msgQueue.GetNextMessage()) != null) { FloatReceivedCallback(tempMessage); } @@ -214,27 +214,27 @@ private void OnAudioFilterRead(float[] buffer, int numChannels) { } } -class Hv_prototype03_Context { +class Hv_undulatingPlain_Context { #if UNITY_IOS && !UNITY_EDITOR private const string _dllName = "__Internal"; #else - private const string _dllName = "Hv_prototype03_AudioLib"; + private const string _dllName = "Hv_undulatingPlain_AudioLib"; #endif // Thread-safe message queue public class SendMessageQueue { private readonly object _msgQueueSync = new object(); - private readonly Queue _msgQueue = new Queue(); + private readonly Queue _msgQueue = new Queue(); - public Hv_prototype03_AudioLib.FloatMessage GetNextMessage() { + public Hv_undulatingPlain_AudioLib.FloatMessage GetNextMessage() { lock (_msgQueueSync) { return (_msgQueue.Count != 0) ? _msgQueue.Dequeue() : null; } } public void AddMessage(string receiverName, float value) { - Hv_prototype03_AudioLib.FloatMessage msg = new Hv_prototype03_AudioLib.FloatMessage(receiverName, value); + Hv_undulatingPlain_AudioLib.FloatMessage msg = new Hv_undulatingPlain_AudioLib.FloatMessage(receiverName, value); lock (_msgQueueSync) { _msgQueue.Enqueue(msg); } @@ -247,7 +247,7 @@ public void AddMessage(string receiverName, float value) { private SendHook _sendHook = null; [DllImport (_dllName)] - private static extern IntPtr hv_prototype03_new_with_options(double sampleRate, int poolKb, int inQueueKb, int outQueueKb); + private static extern IntPtr hv_undulatingPlain_new_with_options(double sampleRate, int poolKb, int inQueueKb, int outQueueKb); [DllImport (_dllName)] private static extern int hv_processInlineInterleaved(IntPtr ctx, @@ -308,14 +308,14 @@ private static extern int hv_processInlineInterleaved(IntPtr ctx, private delegate void SendHook(IntPtr context, string sendName, uint sendHash, IntPtr message); - public Hv_prototype03_Context(double sampleRate, int poolKb=10, int inQueueKb=2, int outQueueKb=2) { + public Hv_undulatingPlain_Context(double sampleRate, int poolKb=10, int inQueueKb=2, int outQueueKb=2) { gch = GCHandle.Alloc(msgQueue); - _context = hv_prototype03_new_with_options(sampleRate, poolKb, inQueueKb, outQueueKb); + _context = hv_undulatingPlain_new_with_options(sampleRate, poolKb, inQueueKb, outQueueKb); hv_setPrintHook(_context, new PrintHook(OnPrint)); hv_setUserData(_context, GCHandle.ToIntPtr(gch)); } - ~Hv_prototype03_Context() { + ~Hv_undulatingPlain_Context() { hv_delete(_context); GC.KeepAlive(_context); GC.KeepAlive(_sendHook); diff --git a/Assets/Plugins/Hv_prototype03_AudioLib.cs.meta b/Assets/Plugins/Hv_undulatingPlain_AudioLib.cs.meta similarity index 77% rename from Assets/Plugins/Hv_prototype03_AudioLib.cs.meta rename to Assets/Plugins/Hv_undulatingPlain_AudioLib.cs.meta index 54f54c4..dbfdb76 100644 --- a/Assets/Plugins/Hv_prototype03_AudioLib.cs.meta +++ b/Assets/Plugins/Hv_undulatingPlain_AudioLib.cs.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: fe0129d09e7564a6dabe249035281aee -timeCreated: 1524438465 +guid: 994bc968d729c4aea991c436739c98e7 +timeCreated: 1532462818 licenseType: Pro MonoImporter: externalObjects: {} diff --git a/Assets/Scenes/UndulatingPlain.unity b/Assets/Scenes/UndulatingPlain.unity index 2ae2caa..8377f8e 100644 --- a/Assets/Scenes/UndulatingPlain.unity +++ b/Assets/Scenes/UndulatingPlain.unity @@ -433,6 +433,192 @@ Transform: m_PrefabParentObject: {fileID: 4140630664002196, guid: af10738c6c7c94a5699fc96a06db75e5, type: 2} m_PrefabInternal: {fileID: 518761437} +--- !u!1 &539095439 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1370872828641076, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 539095445} + - component: {fileID: 539095444} + - component: {fileID: 539095443} + - component: {fileID: 539095442} + - component: {fileID: 539095441} + - component: {fileID: 539095440} + m_Layer: 0 + m_Name: UndulatingCollider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &539095440 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114330619677238184, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539095439} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cc91671c2eb3f4f56aa0eb8672c7ced8, type: 3} + m_Name: + m_EditorClassIdentifier: + mixer: {fileID: 24100000, guid: 315b9cd5a5f504d7192d83831e4f53a0, type: 2} + cutoffRange: + lowBound: 600 + highBound: 1200 + resonanceRange: + lowBound: 1 + highBound: 2.8 + echoRange: + lowBound: 0.2 + highBound: 0.8 + ampRange: + lowBound: 0 + highBound: -4 +--- !u!82 &539095441 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 82273142643144672, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539095439} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 24300002, guid: 315b9cd5a5f504d7192d83831e4f53a0, + type: 2} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 1 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 532.2396 + Pan2D: 0.5 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 0 +--- !u!114 &539095442 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114560753008821676, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539095439} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 994bc968d729c4aea991c436739c98e7, type: 3} + m_Name: + m_EditorClassIdentifier: + build: 0 + burst: 0 +--- !u!114 &539095443 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114638482427118356, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539095439} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: be26b810e2f364053811eb270779aeb8, type: 3} + m_Name: + m_EditorClassIdentifier: + UpdateCountSpeed: 0.1 + currentlyCollidingVertices: 0 + totalCollidingVertices: 0 + maxSimultaneousVertexCollisions: 0 + maxVertices: 0 +--- !u!65 &539095444 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65228753498215008, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539095439} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 15, y: 2, z: 15} + m_Center: {x: 0, y: 0, z: 0} +--- !u!4 &539095445 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539095439} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 39.2, z: 0} + m_LocalScale: {x: 10, y: 10, z: 10} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &612301041 Prefab: m_ObjectHideFlags: 0 @@ -583,6 +769,7 @@ GameObject: - component: {fileID: 643021891} - component: {fileID: 643021892} - component: {fileID: 643021893} + - component: {fileID: 643021894} m_Layer: 0 m_Name: PlainManager m_TagString: Untagged @@ -628,6 +815,17 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 2e5842dc56eae468ba2f51aef115a542, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!114 &643021894 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 643021890} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bc93ab6410ca14f888aff52fe547112a, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &679663022 GameObject: m_ObjectHideFlags: 0 @@ -1384,73 +1582,6 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &1045344217 -Prefab: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalPosition.y - value: 39.2 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4199795921564110, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - propertyPath: m_RootOrder - value: 4 - objectReference: {fileID: 0} - - target: {fileID: 114330619677238184, guid: f73fc2e1d8fcc4e789818d335416b0a2, - type: 2} - propertyPath: cutoffRange.lowBound - value: 600 - objectReference: {fileID: 0} - - target: {fileID: 114330619677238184, guid: f73fc2e1d8fcc4e789818d335416b0a2, - type: 2} - propertyPath: resonanceRange.highBound - value: 2.8 - objectReference: {fileID: 0} - - target: {fileID: 114330619677238184, guid: f73fc2e1d8fcc4e789818d335416b0a2, - type: 2} - propertyPath: echoRange.lowBound - value: 0.2 - objectReference: {fileID: 0} - - target: {fileID: 114330619677238184, guid: f73fc2e1d8fcc4e789818d335416b0a2, - type: 2} - propertyPath: echoRange.highBound - value: 0.8 - objectReference: {fileID: 0} - - target: {fileID: 114330619677238184, guid: f73fc2e1d8fcc4e789818d335416b0a2, - type: 2} - propertyPath: ampRange.highBound - value: -4 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: f73fc2e1d8fcc4e789818d335416b0a2, type: 2} - m_IsPrefabParent: 0 --- !u!1001 &1061840281 Prefab: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/UndulatingAudioController.cs b/Assets/Scripts/UndulatingAudioController.cs index 7a6dfcb..96163c7 100644 --- a/Assets/Scripts/UndulatingAudioController.cs +++ b/Assets/Scripts/UndulatingAudioController.cs @@ -11,23 +11,23 @@ public class UndulatingAudioController : MonoBehaviour public RangeFloat echoRange = new RangeFloat(0.2f, 0.8f); public RangeFloat ampRange = new RangeFloat(0f, -10f); - private Hv_prototype03_AudioLib heavyScript; + private Hv_undulatingPlain_AudioLib heavyScript; private PlainManager plainManager; void Start() { plainManager = GameObject.Find("PlainManager").GetComponent(); - heavyScript = GetComponent(); + heavyScript = GetComponent(); } public void SetBurst(float newBurst) { - heavyScript.SetFloatParameter(Hv_prototype03_AudioLib.Parameter.Burst, newBurst); + heavyScript.SetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Burst, newBurst); } public void SetBuild(float newBuild) { - heavyScript.SetFloatParameter(Hv_prototype03_AudioLib.Parameter.Build, newBuild); + heavyScript.SetFloatParameter(Hv_undulatingPlain_AudioLib.Parameter.Build, newBuild); } private void Update() diff --git a/Assets/Scripts/Utility/KeyCommandToQuit.cs b/Assets/Scripts/Utility/KeyCommandToQuit.cs new file mode 100644 index 0000000..852b72d --- /dev/null +++ b/Assets/Scripts/Utility/KeyCommandToQuit.cs @@ -0,0 +1,16 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class KeyCommandToQuit : MonoBehaviour +{ + + // Update is called once per frame + void Update() + { + if (Input.GetKeyDown(KeyCode.RightControl) && Input.GetKeyDown(KeyCode.Q)) + { + Application.Quit(); + } + } +} diff --git a/Assets/Scripts/Utility/KeyCommandToQuit.cs.meta b/Assets/Scripts/Utility/KeyCommandToQuit.cs.meta new file mode 100644 index 0000000..165a723 --- /dev/null +++ b/Assets/Scripts/Utility/KeyCommandToQuit.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bc93ab6410ca14f888aff52fe547112a +timeCreated: 1532461574 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index 9e432d1..e21d2cd 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -37,6 +37,7 @@ GraphicsSettings: - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} m_PreloadedShaders: [] m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} diff --git a/PureData/UndulatingPlain/_main.pd b/PureData/UndulatingPlain/_main.pd index c99e139..c8d2fc3 100644 --- a/PureData/UndulatingPlain/_main.pd +++ b/PureData/UndulatingPlain/_main.pd @@ -1,4 +1,4 @@ -#N canvas 159 23 1564 1395 10; +#N canvas 316 23 1564 1107 10; #X declare -path heavylib; #X obj 50 16 declare -path heavylib; #X msg 1212 81 \; c_mystic_chord 0 36 42 34 40 43 50; @@ -7,7 +7,7 @@ #X obj 392 724 hv.filter lowpass 400 1, f 30; #X obj 750 725 hv.filter lowpass 400 1, f 39; #X obj 850 613 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 --262144 -1 -1 0.889764 256; +-262144 -1 -1 0 256; #X obj 850 665 + 400; #X obj 570 982 *~; #X obj 434 983 *~; @@ -39,9 +39,9 @@ #X obj 513 52 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 978 67 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 11300 1; +-1 -1 0 1; #X obj 501 813 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 8900 1; +-1 -1 0 1; #X obj 399 650 *~ 0.9; #X obj 765 649 *~ 0.9; #X obj 465 1075 dac~, f 9;