Hello,
I managed to compile MaxMSP exported code via Projucer into Standalone plugin with IAA support and AUv3 extension. However, on my iPhone after uploading the archive to TestFlight and installing it - I can’t open the standalone app. Also, AUv3 doesn’t load in AUM or AudioBus.
In AUM it writes:
Couldn’t communicate with a helper application
I added an exporter for macOS in Projucer and made a build for macOS. After exporting the application with Device ID signing I can’t open it too. Here is the error log on Mac machine:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: SASER [76638]
Path: /Users/USER/Library/Mobile Documents/com~apple~CloudDocs/*/SASER.app/Contents/MacOS/SASER
Identifier: com.CompositorSoftware.SASER
Version: 2.0.4 (1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-07-07 15:54:31.2495 +0300
OS Version: macOS 13.4.1 (22F82)
Report Version: 12
Anonymous UUID: 14AD52F4-15C7-5A00-1DDE-5B472B6CF340
Sleep/Wake UUID: 1988CCD3-F5CA-482A-842D-986B80FB6A3C
Time Awake Since Boot: 840000 seconds
Time Since Wake: 805239 seconds
System Integrity Protection: enabled
Crashed Thread: 0 JUCE Message Thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000040
Exception Codes: 0x0000000000000001, 0x0000000000000040
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [76638]
VM Region Info: 0x40 is not in any region. Bytes before following region: 105553518919616
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated)
Kernel Triage:
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
0 SASER 0x10214f28c 0x10201c000 + 1258124
1 SASER 0x10202d3b8 0x10201c000 + 70584
2 SASER 0x10214fb98 0x10201c000 + 1260440
3 SASER 0x10203a148 0x10201c000 + 123208
4 SASER 0x10202a438 0x10201c000 + 58424
5 SASER 0x102021460 0x10201c000 + 21600
6 SASER 0x102020648 0x10201c000 + 17992
7 SASER 0x10201f824 0x10201c000 + 14372
8 SASER 0x1020eb114 0x10201c000 + 848148
9 SASER 0x1021fab1c 0x10201c000 + 1960732
10 SASER 0x102029cc0 0x10201c000 + 56512
11 dyld 0x184b4bf28 start + 2236
Thread 1:
0 libsystem_pthread.dylib 0x184e9ed8c start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x184e9ed8c start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x184e9ed8c start_wqthread + 0
Thread 4:: CVDisplayLink
0 libsystem_kernel.dylib 0x184e67710 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x184ea45a0 _pthread_cond_wait + 1276
2 CoreVideo 0x18cc30c64 CVDisplayLink::waitUntil(unsigned long long) + 324
3 CoreVideo 0x18cc2fd34 CVDisplayLink::runIOThread() + 504
4 libsystem_pthread.dylib 0x184ea3fa8 _pthread_start + 148
5 libsystem_pthread.dylib 0x184e9eda0 thread_start + 8
Thread 5:: caulk.messenger.shared:17
0 libsystem_kernel.dylib 0x184e63e90 semaphore_wait_trap + 8
1 caulk 0x18e4d7024 caulk::semaphore::timed_wait(double) + 212
2 caulk 0x18e4d6ed8 caulk::concurrent::details::worker_thread::run() + 36
3 caulk 0x18e4d6bc8 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4 libsystem_pthread.dylib 0x184ea3fa8 _pthread_start + 148
5 libsystem_pthread.dylib 0x184e9eda0 thread_start + 8
Thread 6:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x184e63f14 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x184e76240 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x184e6cb78 mach_msg_overwrite + 604
3 libsystem_kernel.dylib 0x184e64290 mach_msg + 24
4 CoreAudio 0x18728f624 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104
5 CoreAudio 0x18717cd14 HALC_ProxyIOContext::IOWorkLoop() + 3516
6 CoreAudio 0x18717b87c invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 116
7 CoreAudio 0x1872de564 HALB_IOThread::Entry(void*) + 88
8 libsystem_pthread.dylib 0x184ea3fa8 _pthread_start + 148
9 libsystem_pthread.dylib 0x184e9eda0 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000000000000d6 x2: 0x4338000000000023 x3: 0x433800000000024f
x4: 0x433800000000015f x5: 0x0000000012200000 x6: 0x0000600001331f80 x7: 0x0000000000000000
x8: 0x000000003f666666 x9: 0x000000000000024f x10: 0x0000000000000008 x11: 0x0000000000000000
x12: 0x0000000000080000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0x0000000000000000 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000000000024f x21: 0x4338000000000023 x22: 0x00000000000000d6 x23: 0x0000000102258858
x24: 0x0000000000000001 x25: 0x0000000102257000 x26: 0x000000000000015f x27: 0x0000000102256fd0
x28: 0x000000010220d000 fp: 0x000000016dde3280 lr: 0x000000010202d3b8
sp: 0x000000016dde3210 pc: 0x000000010214f28c cpsr: 0x20001000
far: 0x0000000000000040 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x10201c000 - 0x10223bfff com.CompositorSoftware.SASER (2.0.4) <ce4a0700-b500-3600-890e-bb5f774c2181> /Users/USER/Library/Mobile Documents/com~apple~CloudDocs/*/SASER.app/Contents/MacOS/SASER
0x105cb0000 - 0x105cbbfff libobjc-trampolines.dylib (*) <570c31f7-94c6-3b86-ae44-1694db0a4bcd> /usr/lib/libobjc-trampolines.dylib
0x184b46000 - 0x184bd4553 dyld (*) <2237410f-d39c-30ce-9a94-13aacb66b766> /usr/lib/dyld
0x184e9d000 - 0x184ea9fff libsystem_pthread.dylib (*) <46d35233-a051-3f4f-bba4-ba56dddc4d1a> /usr/lib/system/libsystem_pthread.dylib
0x184e63000 - 0x184e9cfe7 libsystem_kernel.dylib (*) <34a49b54-82b2-37a1-9314-f6a4a2bb3ff8> /usr/lib/system/libsystem_kernel.dylib
0x18cc2d000 - 0x18cc8efff com.apple.CoreVideo (1.8) <23a7c243-4552-3f81-b4f7-b9723ee40a45> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x18e4d5000 - 0x18e4fdfff com.apple.audio.caulk (1.0) <d793971d-25be-323d-83a4-cc72fadafe8d> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x186fa0000 - 0x187633fff com.apple.audio.CoreAudio (5.0) <4c6d842e-31f6-30ca-984e-6281d387fe72> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)
Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
ColorSync 464K 23
CoreGraphics 16K 1
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 371.3M 56
MALLOC guard page 192K 10
MALLOC_MEDIUM (reserved) 856.0M 8 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.1M 7
Stack 11.2M 7
VM_ALLOCATE 144K 4
__AUTH 915K 217
__AUTH_CONST 18.2M 399
__CTF 824 1
__DATA 6960K 386
__DATA_CONST 18.0M 402
__DATA_DIRTY 980K 133
__FONT_DATA 2352 1
__LINKEDIT 802.0M 3
__OBJC_RO 66.3M 1
__OBJC_RW 2011K 1
__TEXT 382.9M 421
dyld private memory 272K 2
mapped file 63.6M 12
shared memory 848K 13
=========== ======= =======
TOTAL 3.0G 2112
TOTAL, minus reserved VM space 1.8G 2112
-----------
Full Report
-----------
{"app_name":"SASER","timestamp":"2023-07-07 15:54:33.00 +0300","app_version":"2.0.4","slice_uuid":"ce4a0700-b500-3600-890e-bb5f774c2181","build_version":"1","platform":1,"bundleID":"com.CompositorSoftware.SASER","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.4.1 (22F82)","roots_installed":0,"name":"SASER","incident_id":"319AE026-C766-49DC-91E7-32273B0BC8A8"}
{
"uptime" : 840000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iMac21,1",
"coalitionID" : 57643,
"osVersion" : {
"train" : "macOS 13.4.1",
"build" : "22F82",
"releaseType" : "User"
},
"captureTime" : "2023-07-07 15:54:31.2495 +0300",
"incident" : "319AE026-C766-49DC-91E7-32273B0BC8A8",
"pid" : 76638,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-07-07 15:54:30.1545 +0300",
"procStartAbsTime" : 20336195005394,
"procExitAbsTime" : 20336220728183,
"procName" : "SASER",
"procPath" : "\/Users\/USER\/Library\/Mobile Documents\/com~apple~CloudDocs\/*\/SASER.app\/Contents\/MacOS\/SASER",
"bundleInfo" : {"CFBundleShortVersionString":"2.0.4","CFBundleVersion":"1","CFBundleIdentifier":"com.CompositorSoftware.SASER"},
"storeInfo" : {"deviceIdentifierForVendor":"3CD312A9-CC72-5C22-9C36-3586059973B7","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.CompositorSoftware.SASER",
"crashReporterKey" : "14AD52F4-15C7-5A00-1DDE-5B472B6CF340",
"codeSigningID" : "com.CompositorSoftware.SASER",
"codeSigningTeamID" : "QA8X7KVUV7",
"codeSigningFlags" : 570425857,
"codeSigningValidationCategory" : 6,
"codeSigningTrustLevel" : 0,
"wakeTime" : 805239,
"sleepWakeUUID" : "1988CCD3-F5CA-482A-842D-986B80FB6A3C",
"sip" : "enabled",
"vmRegionInfo" : "0x40 is not in any region. Bytes before following region: 105553518919616\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL ...(unallocated)",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000040","rawCodes":[1,64],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000040"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":76638},
"ktriageinfo" : "VM - (arg = 0x0) pmap_enter retried due to resource shortage\nVM - (arg = 0x0) pmap_enter retried due to resource shortage\nVM - (arg = 0x0) pmap_enter retried due to resource shortage\n",
"vmregioninfo" : "0x40 is not in any region. Bytes before following region: 105553518919616\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL ...(unallocated)",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":15074374,"threadState":{"x":[{"value":0},{"value":214},{"value":4843621399236968483},{"value":4843621399236969039},{"value":4843621399236968799},{"value":304087040},{"value":105553136394112},{"value":0},{"value":1063675494},{"value":591},{"value":8},{"value":0},{"value":524288},{"value":0},{"value":0},{"value":0},{"value":0},{"value":2},{"value":0},{"value":0},{"value":591},{"value":4843621399236968483},{"value":214},{"value":4330981464},{"value":1},{"value":4330975232},{"value":351},{"value":4330975184},{"value":4330672128}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4328707000},"cpsr":{"value":536875008},"fp":{"value":6138245760},"sp":{"value":6138245648},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4329894540,"matchesCrashFrame":1},"far":{"value":64}},"name":"JUCE Message Thread","queue":"com.apple.main-thread","frames":[{"imageOffset":1258124,"imageIndex":0},{"imageOffset":70584,"imageIndex":0},{"imageOffset":1260440,"imageIndex":0},{"imageOffset":123208,"imageIndex":0},{"imageOffset":58424,"imageIndex":0},{"imageOffset":21600,"imageIndex":0},{"imageOffset":17992,"imageIndex":0},{"imageOffset":14372,"imageIndex":0},{"imageOffset":848148,"imageIndex":0},{"imageOffset":1960732,"imageIndex":0},{"imageOffset":56512,"imageIndex":0},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":2}]},{"id":15074472,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":3}]},{"id":15074473,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":3}]},{"id":15074475,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":3}]},{"id":15074498,"name":"CVDisplayLink","frames":[{"imageOffset":18192,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":4},{"imageOffset":30112,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":3},{"imageOffset":15460,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":324,"imageIndex":5},{"imageOffset":11572,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":504,"imageIndex":5},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":15074503,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":3728,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":4},{"imageOffset":8228,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":6},{"imageOffset":7896,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":6},{"imageOffset":7112,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*)","symbolLocation":96,"imageIndex":6},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":15074513,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":3860,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":4},{"imageOffset":78400,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":4},{"imageOffset":39800,"symbol":"mach_msg_overwrite","symbolLocation":604,"imageIndex":4},{"imageOffset":4752,"symbol":"mach_msg","symbolLocation":24,"imageIndex":4},{"imageOffset":3077668,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":104,"imageIndex":7},{"imageOffset":1953044,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3516,"imageIndex":7},{"imageOffset":1947772,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":116,"imageIndex":7},{"imageOffset":3401060,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":7},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4328636416,
"CFBundleShortVersionString" : "2.0.4",
"CFBundleIdentifier" : "com.CompositorSoftware.SASER",
"size" : 2228224,
"uuid" : "ce4a0700-b500-3600-890e-bb5f774c2181",
"path" : "\/Users\/USER\/Library\/Mobile Documents\/com~apple~CloudDocs\/*\/SASER.app\/Contents\/MacOS\/SASER",
"name" : "SASER",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4392157184,
"size" : 49152,
"uuid" : "570c31f7-94c6-3b86-ae44-1694db0a4bcd",
"path" : "\/usr\/lib\/libobjc-trampolines.dylib",
"name" : "libobjc-trampolines.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6521380864,
"size" : 582996,
"uuid" : "2237410f-d39c-30ce-9a94-13aacb66b766",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6524882944,
"size" : 53248,
"uuid" : "46d35233-a051-3f4f-bba4-ba56dddc4d1a",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6524645376,
"size" : 237544,
"uuid" : "34a49b54-82b2-37a1-9314-f6a4a2bb3ff8",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6656544768,
"CFBundleShortVersionString" : "1.8",
"CFBundleIdentifier" : "com.apple.CoreVideo",
"size" : 401408,
"uuid" : "23a7c243-4552-3f81-b4f7-b9723ee40a45",
"path" : "\/System\/Library\/Frameworks\/CoreVideo.framework\/Versions\/A\/CoreVideo",
"name" : "CoreVideo",
"CFBundleVersion" : "555.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6682398720,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.caulk",
"size" : 167936,
"uuid" : "d793971d-25be-323d-83a4-cc72fadafe8d",
"path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
"name" : "caulk"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6559498240,
"CFBundleShortVersionString" : "5.0",
"CFBundleIdentifier" : "com.apple.audio.CoreAudio",
"size" : 6897664,
"uuid" : "4c6d842e-31f6-30ca-984e-6281d387fe72",
"path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio",
"name" : "CoreAudio",
"CFBundleVersion" : "5.0"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"sharedCache" : {
"base" : 6520717312,
"size" : 3551641600,
"uuid" : "be59bb71-7b69-3efc-86a8-5625a077ae2e"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 464K 23 \nCoreGraphics 16K 1 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 371.3M 56 \nMALLOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) 856.0M 8 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.1M 7 \nStack 11.2M 7 \nVM_ALLOCATE 144K 4 \n__AUTH 915K 217 \n__AUTH_CONST 18.2M 399 \n__CTF 824 1 \n__DATA 6960K 386 \n__DATA_CONST 18.0M 402 \n__DATA_DIRTY 980K 133 \n__FONT_DATA 2352 1 \n__LINKEDIT 802.0M 3 \n__OBJC_RO 66.3M 1 \n__OBJC_RW 2011K 1 \n__TEXT 382.9M 421 \ndyld private memory 272K 2 \nmapped file 63.6M 12 \nshared memory 848K 13 \n=========== ======= ======= \nTOTAL 3.0G 2112 \nTOTAL, minus reserved VM space 1.8G 2112 \n",
"legacyInfo" : {
"threadTriggered" : {
"name" : "JUCE Message Thread",
"queue" : "com.apple.main-thread"
}
},
"logWritingSignature" : "4f7ac1edfae8fc16376f2d4300be184ad5cff1fa",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "61675b89201f677a9a4cbd65",
"factorPackIds" : {
"HEALTH_FEATURE_AVAILABILITY" : "63f8068a238e7b23a1f30123"
},
"deploymentId" : 240000055
},
{
"rolloutId" : "63582c5f8a53461413999550",
"factorPackIds" : {
},
"deploymentId" : 240000002
}
],
"experiments" : [
{
"treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
"experimentId" : "6317d2003d24842ff850182a",
"deploymentId" : 400000013
},
{
"treatmentId" : "8ca8349c-e2bc-482c-9ca7-3907b48a5341",
"experimentId" : "648b5a581b04c12d4127bbb6",
"deploymentId" : 400000001
}
]
}
}
I made a Plugin application after making a GUI app with the use of files provided in Gen~ export package in Max 8. I implemented my own user interface, here is the content of four files: PluginEditor.h, PluginProcessor.h, PluginEditor.cpp and PluginProcessor.cpp:
PluginEditor.h:
/*
==============================================================================
This file was auto-generated by the Introjucer!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#ifndef PLUGINEDITOR_H_INCLUDED
#define PLUGINEDITOR_H_INCLUDED
#include <JuceHeader.h>
#include "PluginProcessor.h"
#include "genlib.h"
#include "genlib_exportfunctions.h"
#include "genlib_ops.h"
//==============================================================================
/**
*/
class C74GenAudioProcessorEditor : public AudioProcessorEditor,
public juce::Slider::Listener,
public juce::Button::Listener,
public juce::ComboBox::Listener
{
public:
C74GenAudioProcessorEditor (C74GenAudioProcessor&);
~C74GenAudioProcessorEditor();
//==============================================================================
Component *getSliderHolder();
Component *getSliderLabelHolder();
int getNumParameters();
float getParameter (int index);
const String getParameterName (int index);
const String getParameterText (int index);
std::function<void (int, float)> setParameter;
int invBut1 = 1;
int invBut2 = 1;
void paint (Graphics&) override;
void resized() override;
void sliderValueChanged (juce::Slider* sliderThatWasMoved);
void buttonClicked (juce::Button* buttonThatWasClicked);
void comboBoxChanged (juce::ComboBox* comboBoxThatHasChanged);
// Binary resources:
static const char* saser_logo_80x20_png;
static const int saser_logo_80x20_pngSize;
private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
std::unique_ptr<Component> sliderHolder;
std::unique_ptr<Component> sliderLabelHolder;
std::unique_ptr<juce::Slider> tempo__slider;
std::unique_ptr<juce::Slider> lambda__slider;
std::unique_ptr<juce::ToggleButton> auto__toggleButton;
std::unique_ptr<juce::ToggleButton> selb__toggleButton;
std::unique_ptr<juce::ComboBox> phase__comboBox;
std::unique_ptr<juce::ComboBox> constel__comboBox;
std::unique_ptr<juce::ComboBox> ntpall__comboBox;
std::unique_ptr<juce::ComboBox> evntp__comboBox2;
std::unique_ptr<juce::ComboBox> odntp__comboBox3;
std::unique_ptr<juce::Label> ntp__label;
std::unique_ptr<juce::Label> allpan__label;
std::unique_ptr<juce::Label> evpan__label;
std::unique_ptr<juce::Label> odpan__label;
std::unique_ptr<juce::Label> revpan__label;
std::unique_ptr<juce::Slider> hmsk1__slider;
std::unique_ptr<juce::Slider> prv1__slider;
std::unique_ptr<juce::ComboBox> bsr1__comboBox;
std::unique_ptr<juce::Slider> mtc1__slider;
std::unique_ptr<juce::ComboBox> pkt1__comboBox;
std::unique_ptr<juce::Slider> hmsk2__slider;
std::unique_ptr<juce::Slider> prv2__slider;
std::unique_ptr<juce::ComboBox> bsr2__comboBox;
std::unique_ptr<juce::Slider> mtc2__slider;
std::unique_ptr<juce::ComboBox> pkt2__comboBox;
std::unique_ptr<juce::Slider> hmsk3__slider;
std::unique_ptr<juce::Slider> prv3__slider;
std::unique_ptr<juce::ComboBox> bsr3__comboBox;
std::unique_ptr<juce::Slider> mtc3__slider;
std::unique_ptr<juce::ComboBox> pkt3__comboBox;
std::unique_ptr<juce::Slider> vel__slider;
std::unique_ptr<juce::Slider> spacing__slider;
std::unique_ptr<juce::Slider> revt__slider;
std::unique_ptr<juce::Slider> encaps__slider;
std::unique_ptr<juce::ToggleButton> gre__toggleButton;
std::unique_ptr<juce::Label> lpbkint1__label;
std::unique_ptr<juce::Label> lpbkint2__label;
std::unique_ptr<juce::Label> lpbkint3__label;
std::unique_ptr<juce::Slider> alpha1__slider;
std::unique_ptr<juce::Slider> alpha2__slider;
std::unique_ptr<juce::Slider> alpha3__slider;
std::unique_ptr<juce::Label> omegalbl;
std::unique_ptr<juce::Label> lambdalbl;
std::unique_ptr<juce::Label> hashmask1lbl;
std::unique_ptr<juce::Label> hashmask2lbl;
std::unique_ptr<juce::Label> hashmask3lbl;
std::unique_ptr<juce::Label> priorval1lbl;
std::unique_ptr<juce::Label> priorval2lbl;
std::unique_ptr<juce::Label> priorval3lbl;
std::unique_ptr<juce::Label> mtcaddr1lbl;
std::unique_ptr<juce::Label> mtcaddr2lbl;
std::unique_ptr<juce::Label> mtcaddr3lbl;
std::unique_ptr<juce::Label> mtcaddr4lbl;
std::unique_ptr<juce::Label> angvellbl;
std::unique_ptr<juce::Label> spacinglbl;
std::unique_ptr<juce::Label> rghtasclbl;
juce::Image cachedImage_saser_logo_80x20_png_1;
C74GenAudioProcessor& processor;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (C74GenAudioProcessorEditor)
};
#endif // PLUGINEDITOR_H_INCLUDED
