From 4df92a5dbd65f0fc0587a83b41e899b0569fbf14 Mon Sep 17 00:00:00 2001 From: Shaji Khan Date: Wed, 3 Jul 2024 20:57:31 +0530 Subject: [PATCH] simple impulse loader --- .../assets/lv2/libir_cab.so/ir-cab-sim.json | 20 ++++++++++++++++++ app/src/main/assets/lv2_plugins.json | 6 ++++++ .../shajikhan/ladspa/amprack/DataAdapter.java | 6 +++--- app/src/main/jniLibs/arm64-v8a/libir_cab.so | Bin 0 -> 5184 bytes app/src/main/jniLibs/armeabi-v7a/libir_cab.so | Bin 0 -> 3224 bytes app/src/main/jniLibs/x86/libir_cab.so | Bin 0 -> 4484 bytes app/src/main/jniLibs/x86_64/libir_cab.so | Bin 0 -> 5392 bytes app/src/main/res/values/strings.xml | 1 + 8 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json create mode 100755 app/src/main/jniLibs/arm64-v8a/libir_cab.so create mode 100755 app/src/main/jniLibs/armeabi-v7a/libir_cab.so create mode 100755 app/src/main/jniLibs/x86/libir_cab.so create mode 100755 app/src/main/jniLibs/x86_64/libir_cab.so diff --git a/app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json b/app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json new file mode 100644 index 00000000..3437045a --- /dev/null +++ b/app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json @@ -0,0 +1,20 @@ +{ + "-1": { + "Plugin": true, + "pluginName": "Simple IR Loader" + }, + "1": { + "AudioPort": true, + "InputPort": true, + "index": 0, + "name": "In", + "symbol": "input" + }, + "2": { + "AudioPort": true, + "OutputPort": true, + "index": 1, + "name": "Out", + "symbol": "output" + } +} \ No newline at end of file diff --git a/app/src/main/assets/lv2_plugins.json b/app/src/main/assets/lv2_plugins.json index d1b57efe..8d573091 100644 --- a/app/src/main/assets/lv2_plugins.json +++ b/app/src/main/assets/lv2_plugins.json @@ -1378,5 +1378,11 @@ "name": "x42 DARC", "index": 0, "library": "libdarc.so" + }, + "33700": { + "id": 8108, + "name": "Simple IR Loader", + "index": 0, + "library": "libir_cab.so" } } diff --git a/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java b/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java index 93ff4949..58523561 100644 --- a/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java +++ b/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java @@ -644,8 +644,8 @@ public boolean onTouch(View v, MotionEvent event) { } Button fileChooser = null; - if (pluginName.equals("AIDA-X") || pluginName .equals( "Looper") || pluginName.equals("Neural Amp Modeler") || pluginName.equals("TAP IR")|| pluginName.equals("SWH Impulse convolver")) { - if (audioFiles.containsKey(position) && pluginName.equals("Looper") || pluginName.equals("SWH Impulse convolver")) { + if (pluginName.equals("AIDA-X") || pluginName .equals( "Looper") || pluginName.equals("Neural Amp Modeler") || pluginName.equals("TAP IR")|| pluginName.equals("SWH Impulse convolver") || pluginName.equals("Simple IR Loader")) { + if (audioFiles.containsKey(position) && pluginName.equals("Looper") || pluginName.equals("SWH Impulse convolver")|| pluginName.equals("Simple IR Loader")) { holder.audioFile = audioFiles.get(position); if (holder.audioFile != null) { AudioDecoder audioDecoder = new AudioDecoder(mainActivity); @@ -694,7 +694,7 @@ public boolean onTouch(View v, MotionEvent event) { @Override public void onClick(View v) { Intent intent_upload = new Intent(); - if (pluginName.equals("Looper")|| pluginName.equals("SWH Impulse convolver")) + if (pluginName.equals("Looper")|| pluginName.equals("SWH Impulse convolver")||pluginName.equals("Simple IR Loader")) intent_upload.setType("audio/*"); else { intent_upload.setType("application/zip"); diff --git a/app/src/main/jniLibs/arm64-v8a/libir_cab.so b/app/src/main/jniLibs/arm64-v8a/libir_cab.so new file mode 100755 index 0000000000000000000000000000000000000000..3453ad8328fef1aa062cab879e301b529dbfa8d2 GIT binary patch literal 5184 zcmcIoeQaA-6+h1}Dfw`M1F6=nP3?sI(T>JW94Ac%A}?J!0*g=^8PQ5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AS19LKGy_4O7w{8}w6PvLVxX}muCc4TewRwcePKecAnLkq>H*d0f$HLDg{C_dHI zmSLx@j-yj+OUPZ?th|K!%W8{uegVghY{*u}_Fvx)hyRXq4dY!_x1+w^qrV>x|B3XN zmwG?yn_Rus0+%TUd{BuyZMJFWN&Y?BQlD_^ZM}+pqWU_{Ib16*wtWAQjlc`BNqeTqd@yHl@0di>oVNu(xCAn zgxil(<`{8{a>@=quVhb_cI8fcksT$jv?piVSq{X<Dkw#Bom;IopL^_4pqbKgLcmWc2zUL!Q=>v@h#Rkm6IJ9BHY`x|elF>xJd~j(PH@-F0Z^>WqQPfaf^1s{v3=+UQ{wF>DS>C7xC!`?`Ao)u?yeB#B%lBCIVk=Tw;O${^Oy5;2MsJ1&H3K?5`SSni52pvIMw9{`{SMa cLxt0Ed`R(Yd?fd3!%klKSE@;@i@(tS2Jc6Vk^lez literal 0 HcmV?d00001 diff --git a/app/src/main/jniLibs/armeabi-v7a/libir_cab.so b/app/src/main/jniLibs/armeabi-v7a/libir_cab.so new file mode 100755 index 0000000000000000000000000000000000000000..625f7a895eb70bb89d03b3827fcbe11f44741aa5 GIT binary patch literal 3224 zcmbVOZ)_Xo8Gp`pi_?Z;N+~4@^hzt1ZpqoPoiynx)IVubrgXH`(3mt7pY4l%=)PPx3EvO_DT2= zb{hrtVP#wv>nU7FA>i@fBI>*^ zMby_;png<2!Ko*KSFsW9W2@YWYvk4+*V6F!HE^{~;ZAl%L{8yKVhrCCc^@G0MxcMU z-%85NOyP_ApHYkV+Y0$#Layve|1h+F2HtEo8*wDX&tGgLz^7rG1*bg+ehm7h zP=6B~|1yA0Z-+2Qjzg9rN3&$f@y^D`@j8xN)Xp_uZZwc0M+3PT$YtNJ?N282UiGwr zhnuW9b0xc4PukuP9??+UuI&D=h}@XWFN<7geM{up>vxMh*h#+o?@s5M$cev0))LSq z@#4F^i0jq6u@U`3>m=e^olfV6$cd%qm!qi*trM{M(4&vaz}bl%mt|LcvNk1`9oQPL zxs%&;Y5#mhcKtTjSZKc%{q^xrV+*m#bFXT96N?3)xOe9tbX#`G?(ZGm@y>f?E%W#j zb0=cMpIm(?x3!heC0dDc^P|SjUtNCe!$v|kTV-iKy@HH(b)}WlTCMVnxhFr3z0qE% zO|kyaKV16vmFzrJz9=B4KQ+WwcW zM>lAXXqgvo$d_aLqch0 z)Y8(y4|2V~`9OL4WQZJ=8g$2hkgE0e=EA=#LTLXTUFjd7uXSw*mIpHvw`p9_|We|PH`SApB4?zDv;ol67wv_kb=kLM*!1>k>BWDbAIWO8M#8}Q1Y)M{0@FwtQ zfR8@!xX(l9JmJ~v2WR~@>gQnp9J~gOmJ9X+*KO29(e(&tzdnG$ogGi7#|HJU)JiU{ zdDrp593RS1#i1>4)~%xMR&_5swr^i{pS4#nIA*n^pSHZZ4g2suBW0xZ0iLotj+xp0 zWid*wTXL+rJLeTFqu^GOzUw-LvT0Y7j&r&)RP)^LSOs4%j?a#b&t{9mqobpl;z(*Z zZH*LC(kQ{;i~u@`zmhPw9LFM+Azc;X(Kf* z8#mo?D6aKHHbr~2EpnHZ(C&_GjcwEJmHVPQwEMNb$V1x0niv?#_KfLy=2JR$YwZ*=pVQ#3)tg zjPO~_KrNcS865Vu6}zDJ?VEWq>Se4L zNS@1eZtI5sZ}<{icK~RoTi+KyT@#LD63|Pys<^k&yTqQ*N2cN~LS|pH9($aqL1r$* zAdWr%V}Sk3IQBHb^TxA6qMfh+_B&jjE^i_he{;J2-PZ zcRX{7xJS}Cp!+G=J?lL0JnL)g@l5iI0Xem2!PkC&(N0q9PC#b8!vJRkp=JZ;2;*4q zEr5IA{vER% zBS42uk*dd8&A3$PIDojfRZ!@o|2Tj(Z{1=XiyT-NN0ocw-V{wB?ut^tS&Q@^<%vF2 literal 0 HcmV?d00001 diff --git a/app/src/main/jniLibs/x86/libir_cab.so b/app/src/main/jniLibs/x86/libir_cab.so new file mode 100755 index 0000000000000000000000000000000000000000..cde13b8b9f2711f806d4b463d3f1be457f8773fe GIT binary patch liter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