@Blindsmyth shared this patches a while ago
"maquam synthesizer patch from music tech fest 2016 that contains @johannes scala file importer".
They were perfectly working in Axoloti 1.x . Also other patches using similar system and for some reason , all of them fail to compile for me . In this case(Error 1 - "maqam synthesizer.axp") I'm getting some sort of java related error after compiling the patch successfully (?¿) but axoloti gets disconnected and doesn't go Live .
With another patch approach the problem seems to be related to arrays and could be a simple question of changes in the syntax or something like it . I would love to use this patches with 2.0 .
The original Forum post where the patches also are is Here
[Error 1]
section size addr
.text 12288 0
.rodata 2004 0
.data 1080 0
.bss 1632 0
.init_array 0 0
.fini_array 0 0
.comment 128 0
.ARM.attributes 57 0
Total 17189
Done compiling patch
java.io.IOException: Not connected
java.io.IOException: Not connected
at axoloti.connection.USBBulkConnection_v2.transmitPacket1(USBBulkConnection_v2.java:415)
at axoloti.connection.USBBulkConnection_v2.sendAndGetReplyPtr(USBBulkConnection_v2.java:677)
at axoloti.connection.USBBulkConnection_v2.mem_alloc(USBBulkConnection_v2.java:797)
at axoloti.connection.USBBulkConnection_v2.transmitStartLive(USBBulkConnection_v2.java:694)
at axoloti.live.patch.PatchViewLive.lambda$goLive$9(PatchViewLive.java:314)
at axoloti.job.JobProcessor.lambda$exec$0(JobProcessor.java:21)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[Error 2]
C:\Users\x\DOCUME~1\AXOLOT~1.0/build/xpatch.cpp: In member function 'int rootc::instancestrings::init(rootc*)':
C:\Users\x\DOCUME~1\AXOLOT~1.0/build/xpatch.cpp:2783:21: error: '_array' was not declared in this scope
int rem_sz = sizeof(_array[0]);
^~~~~~
C:\Users\x\DOCUME~1\AXOLOT~1.0/build/xpatch.cpp:2783:21: note: suggested alternative: 'array'
int rem_sz = sizeof(_array[0]);
^~~~~~
array
C:\Users\x\DOCUME~1\AXOLOT~1.0/build/xpatch.cpp:2786:21: error: 'fbuff' was not declared in this scope
if (rem_sz>sizeof(fbuff)) {
^~~~~
C:\Users\x\DOCUME~1\AXOLOT~1.0/build/xpatch.cpp: In member function 'void rootc::instancepatcher__1::voice::instancetabread1::dsp(rootc::instancepatcher__1::voice*, int32_t, int32_t&)':
C:\Users\x\DOCUME~1\AXOLOT~1.0/build/xpatch.cpp:3670:22: error: 'class rootc::instancepatcher__1::voice' has no member named 'parent'
outlet_o= parent->parent->instancetuning_i.array[_USAT(inleta,parent->parent->instancetuning_i.LENGTHPOW)]<parent->instancetuning_i.GAIN;
^~~~~~
In file included from C:\PROGRA~2\Axoloti\app\api/CMSIS/Core/Include/cmsis_compiler.h:54:0,
from C:\PROGRA~2\Axoloti\app\api/CMSIS/Core/Include/core_cm4.h:162,
from C:\PROGRA~2\Axoloti\app\api/stm32f4xx/stm32f427xx.h:190,
from C:\PROGRA~2\Axoloti\app\api/stm32f4xx/stm32f4xx.h:155,
from C:\PROGRA~2\Axoloti\app\api/axoloti_math.h:22,
from C:\PROGRA~2\Axoloti\app\api/axoloti_filters.h:30,
from C:\PROGRA~2\Axoloti\app\api/xpatch.h:10,