Closed zbooth closed 3 years ago
This is covered by the Switcher SDK, so would be reasonable to implement. I'll probably get this done in the next month.
+1 on this request, with all the Atem Mini's and Atem Mini Pros hitting the streamer scene, adjusting the input and master gain through this would be really useful.
Here is link to test out the change: https://github.com/danielbuechele/atemOSC/releases/download/v3.1.0/atemOSC_3.1.0.dmg
If it works, we can release officially. If not, we can discuss here and attempt to debug and fix. Unfortunately, I do not have a switcher that supports fairlight audio to test on myself.
@spegis @zbooth Please test and let me know when you have the chance :)
Okay. Just installed and was playing with it. Running an ATEM Mini, ATEM Software Control version 8.2.1. OSCulator version 3.4.1 (3.4.1-3-ga461ddbe). I am able to get the Master volume to move between a value of 0 and +1 (scale is -127 to +10). Recorded a video with the AtemOSC Log window and the settings in OSCulator. 3.4.1 https://www.dropbox.com/s/x1oa5uidnqt7ofw/Screen%20Recording%202020-05-12%20at%204.38.25%20PM.mov?dl=0
Oh, on the Launch Control XL (lcWL) I am using, when at 0 on the atemOSC value is "Value: <OSCVal f 0.834646>" When the lcXL is at the max value "6" the atemOSC value is "Value: <OSCVal f 1.000000>" And at the very bottom, -? (no number), the atemOSC value is "Value: <OSCVal f 0.000000>"
And in case it help, this is a mapping of the lcXL surface.
Oh, and one last note for now, sorry for the piecemeal notes. BUt I am receiving the following on the Log when starting atemOSC:
[2020-05-12 17:34:38] Could not get IBMDSwitcherInputSuperSource interface [2020-05-12 17:34:38] Could not get IBMDSwitcherAudioMixer interface [2020-05-12 17:34:38] Could not create IBMDSwitcherFairlightAudioSourceIterator iterator. code: 4
Oh, made a mistake on the ATEM Fairlight fader, the range is from -100 (maunally entering -100.01 gives "-inf" in the numerical value box below the fader) to +10. If that is any help.
On launch I also get the following in the log:
[2020-05-12 21:20:14] Could not get IBMDSwitcherInputSuperSource interface [2020-05-12 21:20:14] Could not get IBMDSwitcherAudioMixer interface [2020-05-12 21:20:14] Could not create IBMDSwitcherFairlightAudioSourceIterator iterator. code: 4
3.1.0 is stable and at a glance, everything that worked prior still works. On Thursday I'll have some time to put my whole setup together to fully test the new audio control from TouchOSC > OSCulator > atemOSC > BMD ATEM Mini
Output gain control is working! Source/input control is what I'm really looking for.
Thanks!
What surface are you using @zbooth ?
Ah I see the reason why the source isn't working. Let me fix that and get another version up
As for the ranges, I pass those values straight through to the ATEM so hopefully they work fine
Ok, new version to try: https://github.com/danielbuechele/atemOSC/releases/download/v3.1.1/atemOSC_3.1.1.dmg
What surface are you using @zbooth ?
@spegis I'm using TouchOSC on IOS devices as well as AppleScripts for sendosc terminal commands on Macs.
@SteffeyDev
3.1.1 is immediately crashing
Process: atemOSC [49648] Path: /Applications/atemOSC.app/Contents/MacOS/atemOSC Identifier: cc.buechele.atemOSC Version: 3.1.1 (1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: atemOSC [49648] User ID: 502
Date/Time: 2020-05-14 16:04:27.622 -0400 OS Version: Mac OS X 10.15.4 (19E287) Report Version: 12 Bridge OS Version: 3.0 (14Y908) Anonymous UUID: 1D8864B0-C53A-D1D0-C39B-67B5D645CA2D
Sleep/Wake UUID: D22138D5-E575-4A94-AEF5-7418B03DA23E
Time Awake Since Boot: 25000 seconds Time Since Wake: 23000 seconds
System Integrity Protection: enabled
Crashed Thread: 2 Dispatch queue: com.apple.root.default-qos
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [49648]
VM Regions Near 0: --> __TEXT 0000000103717000-0000000103742000 [ 172K] r-x/rwx SM=COW /Applications/atemOSC.app/Contents/MacOS/atemOSC
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_pthread.dylib 0x00007fff716aa456 pthread_main_np + 0 1 com.apple.Foundation 0x00007fff39bc7209 +[NSThread isMainThread] + 9 2 com.apple.AppKit 0x00007fff3480745d -[NSView(NSConstraintBasedLayout) invalidateIntrinsicContentSize] + 29 3 com.apple.AppKit 0x00007fff348248ea -[NSTextField invalidateIntrinsicContentSize] + 42 4 com.apple.AppKit 0x00007fff34823f4a -[NSCell setObjectValue:] + 374 5 com.apple.AppKit 0x00007fff34823b3f -[NSCell setStringValue:] + 104 6 com.apple.AppKit 0x00007fff348a46f9 -[NSControl setStringValue:] + 121 7 cc.buechele.atemOSC 0x0000000103719411 __40-[SettingsWindow showSwitcherConnected:]_block_invoke + 49 8 libdispatch.dylib 0x00007fff7144f6c4 _dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00007fff71450658 _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff7145bcab _dispatch_main_queue_callback_4CF + 936 11 com.apple.CoreFoundation 0x00007fff375a2041 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 12 com.apple.CoreFoundation 0x00007fff37561e47 __CFRunLoopRun + 2028 13 com.apple.CoreFoundation 0x00007fff37560ffe CFRunLoopRunSpecific + 462 14 com.apple.HIToolbox 0x00007fff36194abd RunCurrentEventLoopInMode + 292 15 com.apple.HIToolbox 0x00007fff361947d5 ReceiveNextEventCommon + 584 16 com.apple.HIToolbox 0x00007fff36194579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 17 com.apple.AppKit 0x00007fff347dfc99 _DPSNextEvent + 883 18 com.apple.AppKit 0x00007fff347de4e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 19 com.apple.AppKit 0x00007fff347d01ee -[NSApplication run] + 658 20 com.apple.AppKit 0x00007fff347a1ff6 NSApplicationMain + 777 21 libdyld.dylib 0x00007fff714a9cc9 start + 1
Thread 1: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 2 Crashed:: Dispatch queue: com.apple.root.default-qos 0 cc.buechele.atemOSC 0x00000001037273d3 -[AppDelegate switcherConnected] + 3567 1 cc.buechele.atemOSC 0x0000000103726411 __25-[AppDelegate connectBMD]_block_invoke_2 + 73 2 libdispatch.dylib 0x00007fff7144f6c4 _dispatch_call_block_and_release + 12 3 libdispatch.dylib 0x00007fff71450658 _dispatch_client_callout + 8 4 libdispatch.dylib 0x00007fff714524b0 _dispatch_queue_override_invoke + 763 5 libdispatch.dylib 0x00007fff7145e957 _dispatch_root_queue_drain + 326 6 libdispatch.dylib 0x00007fff7145f097 _dispatch_worker_thread2 + 92 7 libsystem_pthread.dylib 0x00007fff716aa9f7 _pthread_wqthread + 220 8 libsystem_pthread.dylib 0x00007fff716a9b77 start_wqthread + 15
Thread 3: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 4: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 5: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 6: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 7: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 8: 0 libsystem_pthread.dylib 0x00007fff716a9b68 start_wqthread + 0
Thread 9:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff715f30fe select + 10 1 com.apple.CoreFoundation 0x00007fff3758be13 CFSocketManager + 641 2 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 3 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 10: 0 libsystem_kernel.dylib 0x00007fff715f30fe select + 10 1 com.vidvox.VVOSC 0x000000010378f394 -[OSCInPort OSCThreadProc] + 388 2 com.apple.Foundation 0x00007fff39bed882 NSThreadstart + 1064 3 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 11:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff715eadfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff715eb170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff375630b5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff37561b82 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff37560ffe CFRunLoopRunSpecific + 462 5 com.apple.AppKit 0x00007fff349815b4 _NSEventThread + 132 6 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 12: 0 libsystem_kernel.dylib 0x00007fff715ed882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff716ae425 _pthread_cond_wait + 698 2 com.blackmagic-design.switchers.api 0x0000000108d41e0c TransferQueue::TransferThread() + 444 3 com.blackmagic-design.switchers.api 0x0000000108d41259 TransferQueue::TransferThreadFunc(void*) + 9 4 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 13: 0 libsystem_kernel.dylib 0x00007fff715ed882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff716ae425 _pthread_cond_wait + 698 2 com.blackmagic-design.switchers.api 0x0000000108ca8ec8 AtomDispatch::DispatchThread() + 88 3 com.blackmagic-design.switchers.api 0x0000000108ca8d39 AtomDispatch::DispatchThreadFunc(void*) + 9 4 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 14: 0 libsystem_kernel.dylib 0x00007fff715ed882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff716ae425 _pthread_cond_wait + 698 2 com.blackmagic-design.switchers.api 0x0000000108caa518 CBMDSwitcher::DeleteLaterThreadFunc(void*) + 40 3 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 15:
0 libsystem_kernel.dylib 0x00007fff715eadfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff715eb170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff375630b5 CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff37561b82 CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff37560ffe CFRunLoopRunSpecific + 462
5 com.apple.CoreFoundation 0x00007fff375e9639 CFRunLoopRun + 40
6 com.blackmagic-design.switchers.api 0x0000000108ca8af9 USBCFRunLoop::runThread() + 153
7 com.blackmagic-design.switchers.api 0x0000000108ca8bed void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete
Thread 16: 0 libsystem_kernel.dylib 0x00007fff715f30fe __select + 10 1 com.blackmagic-design.switchers.api 0x0000000108cc897a BMDSwitcherConnection::ConnectionThread() + 522 2 com.blackmagic-design.switchers.api 0x0000000108cc86f9 BMDSwitcherConnection::ConnectionThreadFunc(void*) + 9 3 libsystem_pthread.dylib 0x00007fff716ae109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff716a9b8b thread_start + 15
Thread 2 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007fa7aec329d0 rcx: 0x000070000447fde0 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000c7f5b3fca340 rbp: 0x000070000447fe10 rsp: 0x000070000447fd00 r8: 0x0000000000000001 r9: 0xffffffff00000000 r10: 0x00007fa7aec34560 r11: 0x0000000000000040 r12: 0x0000000000000100 r13: 0x00007fa7aec328f0 r14: 0x00007fa7aec329c0 r15: 0x0000000000000008 rip: 0x00000001037273d3 rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 0 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14
Binary Images:
0x103717000 - 0x103741ff7 +cc.buechele.atemOSC (3.1.1 - 1)
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: 20347 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=567.1M resident=0K(0%) swapped_out_or_unallocated=567.1M(100%) Writable regions: Total=648.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=648.2M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 384K 3 Activity Tracing 256K 1 CG backing stores 7060K 6 CG image 84K 6 CoreAnimation 228K 14 CoreGraphics 8K 1 CoreImage 32K 4 CoreUI image data 1348K 11 Foundation 4K 1 Kernel Alloc Once 8K 1 MALLOC 239.8M 70 MALLOC guard page 48K 11 MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) Memory Tag 242 12K 1 SQLite page cache 64K 1 STACK GUARD 56.1M 17 Stack 16.1M 17 VM_ALLOCATE 132K 20 DATA 23.4M 281 DATA_CONST 20K 1 FONT_DATA 4K 1 LINKEDIT 389.6M 8 OBJC_RO 32.2M 1 OBJC_RW 1892K 2 TEXT 177.5M 278 UNICODE 564K 1 libnetwork 128K 8 mapped file 63.9M 23 shared memory 652K 18 =========== ======= ======= TOTAL 1.4G 808 TOTAL, minus reserved VM space 1.0G 808
SAme on my end. Crash right as it is starting up. Flashes a prompt to download the latest version and then crashes.
Process: atemOSC [1243] Path: /Applications/atemOSC.app/Contents/MacOS/atemOSC Identifier: cc.buechele.atemOSC Version: 3.1.1 (1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: atemOSC [1243] User ID: 503
Date/Time: 2020-05-14 13:34:29.957 -0700 OS Version: Mac OS X 10.15.4 (19E287) Report Version: 12 Bridge OS Version: 3.0 (14Y908) Anonymous UUID: 2FCE1F03-B0F5-AE2B-446B-F30D6E70D8A1
Time Awake Since Boot: 260 seconds
System Integrity Protection: disabled
Crashed Thread: 1 Dispatch queue: com.apple.root.default-qos
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [1243]
VM Regions Near 0: --> __TEXT 000000010dc85000-000000010dcb0000 [ 172K] r-x/rwx SM=COW /Applications/atemOSC.app/Contents/MacOS/atemOSC
Thread 0:: Dispatch queue: com.apple.main-thread 0 com.apple.Foundation 0x00007fff34b706cb NSIsEmptyRect + 12 1 com.apple.AppKit 0x00007fff2fa4e15e -[NSRectSet convertFromAncestor:toView:clipTo:] + 296 2 com.apple.AppKit 0x00007fff2f8df83d -[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 1914 3 com.apple.AppKit 0x00007fff2f84e88d -[NSView displayIfNeeded] + 755 4 com.apple.AppKit 0x00007fff2f849fd9 -[NSWindow displayIfNeeded] + 261 5 com.apple.AppKit 0x00007fff2f849e0b NSWindowGetDisplayCycleObserverForDisplay_block_invoke + 646 6 com.apple.AppKit 0x00007fff2f847e52 NSDisplayCycleObserverInvoke + 155 7 com.apple.AppKit 0x00007fff2f8479dc NSDisplayCycleFlush + 937 8 com.apple.QuartzCore 0x00007fff3dfa5454 CA::Transaction::run_commit_handlers(CATransactionPhase) + 106 9 com.apple.QuartzCore 0x00007fff3dfa4166 CA::Transaction::commit() + 230 10 com.apple.AppKit 0x00007fff2f903a01 62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 266 11 com.apple.AppKit 0x00007fff30022950 _NSRunLoopObserverCreateWithHandler_block_invoke + 41 12 com.apple.CoreFoundation 0x00007fff324e64f5 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 13 com.apple.CoreFoundation 0x00007fff324e6427 CFRunLoopDoObservers + 457 14 com.apple.CoreFoundation 0x00007fff324e59c5 __CFRunLoopRun + 874 15 com.apple.CoreFoundation 0x00007fff324e4ffe CFRunLoopRunSpecific + 462 16 com.apple.HIToolbox 0x00007fff31118abd RunCurrentEventLoopInMode + 292 17 com.apple.HIToolbox 0x00007fff311187d5 ReceiveNextEventCommon + 584 18 com.apple.HIToolbox 0x00007fff31118579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 19 com.apple.AppKit 0x00007fff2f763c99 _DPSNextEvent + 883 20 com.apple.AppKit 0x00007fff2f7624e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 21 com.apple.AppKit 0x00007fff2f7541ee -[NSApplication run] + 658 22 com.apple.AppKit 0x00007fff2f725ff6 NSApplicationMain + 777 23 libdyld.dylib 0x00007fff6c42dcc9 start + 1
Thread 1 Crashed:: Dispatch queue: com.apple.root.default-qos 0 cc.buechele.atemOSC 0x000000010dc953d3 -[AppDelegate switcherConnected] + 3567 1 cc.buechele.atemOSC 0x000000010dc94411 __25-[AppDelegate connectBMD]_block_invoke_2 + 73 2 libdispatch.dylib 0x00007fff6c3d36c4 _dispatch_call_block_and_release + 12 3 libdispatch.dylib 0x00007fff6c3d4658 _dispatch_client_callout + 8 4 libdispatch.dylib 0x00007fff6c3d64b0 _dispatch_queue_override_invoke + 763 5 libdispatch.dylib 0x00007fff6c3e2957 _dispatch_root_queue_drain + 326 6 libdispatch.dylib 0x00007fff6c3e3097 _dispatch_worker_thread2 + 92 7 libsystem_pthread.dylib 0x00007fff6c62e9f7 _pthread_wqthread + 220 8 libsystem_pthread.dylib 0x00007fff6c62db77 start_wqthread + 15
Thread 2: 0 libsystem_pthread.dylib 0x00007fff6c62db68 start_wqthread + 0
Thread 3: 0 libsystem_pthread.dylib 0x00007fff6c62db68 start_wqthread + 0
Thread 4: 0 libsystem_pthread.dylib 0x00007fff6c62db68 start_wqthread + 0
Thread 5: 0 libsystem_pthread.dylib 0x00007fff6c62db68 start_wqthread + 0
Thread 6:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff6c5770fe select + 10 1 com.apple.CoreFoundation 0x00007fff3250fe13 CFSocketManager + 641 2 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 3 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 7: 0 libsystem_kernel.dylib 0x00007fff6c5770fe select + 10 1 com.vidvox.VVOSC 0x000000010dd03394 -[OSCInPort OSCThreadProc] + 388 2 com.apple.Foundation 0x00007fff34b71882 NSThreadstart + 1064 3 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 8: 0 libsystem_pthread.dylib 0x00007fff6c62db68 start_wqthread + 0
Thread 9:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff6c56edfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff6c56f170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff324e70b5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff324e5b82 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff324e4ffe CFRunLoopRunSpecific + 462 5 com.apple.AppKit 0x00007fff2f9055b4 _NSEventThread + 132 6 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 10: 0 libsystem_kernel.dylib 0x00007fff6c571882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff6c632425 _pthread_cond_wait + 698 2 com.blackmagic-design.switchers.api 0x00000001126b4e0c TransferQueue::TransferThread() + 444 3 com.blackmagic-design.switchers.api 0x00000001126b4259 TransferQueue::TransferThreadFunc(void*) + 9 4 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 11: 0 libsystem_kernel.dylib 0x00007fff6c571882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff6c632425 _pthread_cond_wait + 698 2 com.blackmagic-design.switchers.api 0x000000011261bdb8 AtomDispatch::DispatchThread() + 88 3 com.blackmagic-design.switchers.api 0x000000011261bc29 AtomDispatch::DispatchThreadFunc(void*) + 9 4 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 5 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 12: 0 libsystem_kernel.dylib 0x00007fff6c571882 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff6c632425 _pthread_cond_wait + 698 2 com.blackmagic-design.switchers.api 0x000000011261d408 CBMDSwitcher::DeleteLaterThreadFunc(void*) + 40 3 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 13:
0 libsystem_kernel.dylib 0x00007fff6c56edfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6c56f170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff324e70b5 CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff324e5b82 CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff324e4ffe CFRunLoopRunSpecific + 462
5 com.apple.CoreFoundation 0x00007fff3256d639 CFRunLoopRun + 40
6 com.blackmagic-design.switchers.api 0x000000011261b9e9 USBCFRunLoop::runThread() + 153
7 com.blackmagic-design.switchers.api 0x000000011261badd void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete
Thread 14:
0 libsystem_kernel.dylib 0x00007fff6c56edfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6c56f170 mach_msg + 60
2 com.apple.framework.IOKit 0x00007fff352557f3 io_connect_method + 383
3 com.apple.framework.IOKit 0x00007fff3525564c IOConnectCallMethod + 244
4 com.apple.iokit.IOUSBLib 0x0000000113e1e20f IOUSBInterfaceClass::ReadPipe(unsigned char, void, unsigned int, unsigned int, unsigned int) + 189
5 com.blackmagic-design.switchers.api 0x000000011272f921 BMD::USB::CUSBInterface::ReadPipe(unsigned char, void, unsigned int, unsigned int, unsigned int) + 17
6 com.blackmagic-design.switchers.api 0x0000000112af556e USBPipeInterface::readPipe() + 62
7 com.blackmagic-design.switchers.api 0x0000000112af52f9 USBPipeInterface::read(std::1::vector<unsigned char, std::1::allocator
Thread 15: 0 libsystem_kernel.dylib 0x00007fff6c5770fe __select + 10 1 com.blackmagic-design.switchers.api 0x000000011263b86a BMDSwitcherConnection::ConnectionThread() + 522 2 com.blackmagic-design.switchers.api 0x000000011263b5e9 BMDSwitcherConnection::ConnectionThreadFunc(void*) + 9 3 libsystem_pthread.dylib 0x00007fff6c632109 _pthread_start + 148 4 libsystem_pthread.dylib 0x00007fff6c62db8b thread_start + 15
Thread 1 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007fdb3cf1bca0 rcx: 0x00007000061a3de0 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000da69cc5950c0 rbp: 0x00007000061a3e10 rsp: 0x00007000061a3d00 r8: 0x0000000000000001 r9: 0xffffffff00000000 r10: 0x00007fdb3ce2eaa0 r11: 0x0000000000000040 r12: 0x0000000000000100 r13: 0x00007fdb3cf1bbc0 r14: 0x00007fdb3cf1bc90 r15: 0x0000000000000008 rip: 0x000000010dc953d3 rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 4 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14
Binary Images:
0x10dc85000 - 0x10dcafff7 +cc.buechele.atemOSC (3.1.1 - 1)
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: 186 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=567.2M resident=0K(0%) swapped_out_or_unallocated=567.2M(100%) Writable regions: Total=637.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=637.0M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 512K 4 Activity Tracing 256K 1 CG backing stores 704K 2 CG image 16K 2 CoreAnimation 184K 13 CoreGraphics 8K 1 CoreServices 8K 1 CoreUI image data 360K 6 Foundation 4K 1 Kernel Alloc Once 8K 1 MALLOC 235.3M 67 MALLOC guard page 48K 11 MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) Memory Tag 242 12K 1 SQLite page cache 64K 1 STACK GUARD 56.1M 16 Stack 15.6M 16 VM_ALLOCATE 96K 11 DATA 23.4M 281 DATA_CONST 24K 2 FONT_DATA 4K 1 LINKEDIT 389.7M 9 OBJC_RO 32.2M 1 OBJC_RW 1892K 2 TEXT 177.5M 278 UNICODE 564K 1 libnetwork 128K 8 mapped file 57.8M 21 shared memory 652K 18 =========== ======= ======= TOTAL 1.3G 778 TOTAL, minus reserved VM space 993.1M 778
Model: MacBookPro14,3, BootROM 205.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 3.1 GHz, 16 GB, SMC 2.45f3 Graphics: kHW_IntelHDGraphics630Item, Intel HD Graphics 630, spdisplays_builtin Graphics: kHW_AMDRadeonPro560Item, Radeon Pro 560, spdisplays_pcie_device, 4 GB Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020 Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x173), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1600.4) Bluetooth: Version 7.0.4f6, 3 services, 27 devices, 1 incoming serial ports Network Service: Thunderbolt Ethernet Slot 1, Ethernet, en10 PCI Card: pci1b73,1100, sppci_usbxhci, Thunderbolt@70,0,0 PCI Card: ethernet, sppci_ethernet, Thunderbolt@69,0,0 PCI Card: pci11c1,5901, sppci_ieee1394openhci, Thunderbolt@67,0,0 PCI Card: pci1b73,1100, sppci_usbxhci, Thunderbolt@68,0,0 PCI Card: pci1b21,612, sppci_ahci, Thunderbolt@74,0,0 Serial ATA Device: ST2000LM003 HN-M201RAD, 2 TB USB Device: USB3.0 Hub USB Device: Mobile SSD USB Device: USB 3.0 Bus USB Device: USB2.0 Hub USB Device: Launch Control XL USB Device: USB-C Digital AV Multiport Adapter USB Device: Apple T1 Controller USB Device: USB 3.0 Bus USB Device: Rugged USB-C USB Device: USB audio CODEC USB Device: USB 3.0 Bus USB Device: Blackmagic Design Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4 Thunderbolt Device: Thunderbolt 2 Dock, Other World Computing, Inc., 3, 25.1 Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4
Ok, that was a small mistake on my part. Try this one: https://github.com/danielbuechele/atemOSC/releases/download/v3.1.2/atemOSC_3.1.2.dmg
3.1.2 is stable. Output gain still works. Source gain returns the following:
[2020-05-15 12:29:48] Received OSC message: /atem/fairlight-audio/source/-256/gain Value: <OSCVal f -41.064026> [2020-05-15 12:29:48] Invalid source -256. Please choose a valid Fairlight audio source number from the list in Help > OSC addresses. [2020-05-15 12:29:49] Received OSC message: /atem/fairlight-audio/source/-255/gain [2020-05-15 12:29:49] Invalid source -255. Please choose a valid Fairlight audio source number from the list in Help > OSC addresses.
-256 and -255 are the numbers in my OSC Addresses list
Same experience here. IN my case it is -65281 in my OSC Addresses list. When I go to the message section OSCulator and in the ATEM application change slide the fader up or down on Cam1 I get the Following message in OSCulator:
Slider at -inf: /atem/fairlight-audio/source/-65280/gain ,f -inf Slider at -20: /atem/fairlight-audio/source/-65280/gain ,f -20.00 Slider at 0: /atem/fairlight-audio/source/-65280/gain ,f 0.00 etc.
Since you do not have a switcher that supports fairlight audio to test on, if it would help we could schedule a time to do a screen share. Let me know if that would help at tom@vexingmedia.com.
Also, in case either of you were interested, there is a group of AV folk who have been doing a morning ZOOM meetup called Office Hours. This is the invite link to join it. https://zoom.us/webinar/register/WN_740bLrO-RuGJ59Quk4WZdw It's a group of people from all over the world and started by Alex Lindsay of MacBreak/TWIT/ The Pixelcore.
I greatly appreciate what you are ding here @SteffeyDev !
Hi, new to the party here. Pretty much got everything working except for audio-I get this message in the log, as posted by others- [2020-05-21 19:17:42] Could not get IBMDSwitcherAudioMixer interface MacOS 10.14.6 AtemOSC 3.1.2 ATEM software 8.2.2
Ok, I may have fixed the issue, try the latest version: https://github.com/danielbuechele/atemOSC/releases/download/v3.1.3/atemOSC_3.1.3.dmg
@zbooth @spegis
/atem/fairlight-audio/source/-65280/gain with values between -121 and +6 works - but only for input 1... in XML file its written:
Awesome! Will try it tomorrow when I go into the office.
Tom Dineen
On Jun 1, 2020, at 07:11, Peter Steffey notifications@github.com wrote:
Ok, I may have fixed the issue, try the latest version: https://github.com/danielbuechele/atemOSC/releases/download/v3.1.3/atemOSC_3.1.3.dmg
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
As @Christoph111 says, gain control is available for input 1. In my case I have the audio split, so I can address 1 left at -256 and 1 right at -255. These are the only 2 addresses listed in the OSC list. I would like to address the other 10 sources as well.
Fairlight Audio Sources: Fairlight Audio Source -256 Gain: /atem/fairlight-audio/source/-256/gain
Fairlight Audio Source -256 Pan: /atem/fairlight-audio/source/-256/pan Fairlight Audio Source -255 Gain: /atem/fairlight-audio/source/-255/gain Fairlight Audio Source -255 Pan: /atem/fairlight-audio/source/-255/pan
For fun, here's a video of these 2 channels working with TouchOSC IMG_0263.mov
I too am available for a screenshare session like @spegis if you want access to a ATEM Mini
I can only query sources that are linked to inputs. Are all of the 10 sources linked to an input? If so, which input are they linked to? Also, I'm not familiar with Fairlight at all, can a source be linked to any input or is a source just a child to a specific input?
There are 4 HDMI inputs and 2 mic inputs in the ATEM Mini.
Depending on the ATEM Software Control Panel configuration, I think they each have either 1 stereo source or 2 mono sources. I’m configured for 2 mono audio sources per HDMI and mic input, so there are 6 total inputs with 12 sources.
The attached photo shows what my software control mixer looks like.
I can only query sources that are linked to inputs. Are all of the 10 sources linked to an input? If so, which input are they linked to? Also, I'm not familiar with Fairlight at all, can a source be linked to any input or is a source just a child to a specific input?
hey, attached a part of the XML-File:
<AudioInputs>
<AudioInput configuration="Stereo" id="1">
<AudioSource id="-65280" inputGain="0" pan="0" faderGain="-17.46" mixOption="Off">
</AudioSource>
</AudioInput>
<AudioInput configuration="Stereo" id="2">
<AudioSource id="-65280" inputGain="0" pan="0" faderGain="-8.4" mixOption="Off">
</AudioSource>
</AudioInput>
</AudioInputs>
As you can see, there are IDs and as a child there ist the audioSource (which always has the same number (strange). don´t know what to do to address it with OSC...
when i configure the inputs as MONO it looks like this:
<AudioInputs>
<AudioInput configuration="DualMono" id="1">
<AudioSource id="-256" inputGain="0" pan="0" faderGain="-1" mixOption="Off">
</AudioSource>
<AudioSource id="-255" inputGain="0" pan="0" faderGain="-1.5" mixOption="Off">
</AudioSource>
</AudioInput>
<AudioInput configuration="DualMono" id="2">
<AudioSource id="-256" inputGain="0" pan="0" faderGain="-2" mixOption="Off">
</AudioSource>
<AudioSource id="-255" inputGain="0" pan="0" faderGain="-2.5" mixOption="Off">
</AudioSource>
</AudioInput>
</AudioInputs>
my only solution at the moment is to send midi messages over network to my mac runnig atem software control to move the volume faders with midi commands:
if i setup to MONO-Inputs, you can only adjust volumes for inputs 1-8, so the mic inputs can not be addressed with midi at all (at this moment, i think the atem software control needs to be updated for this, it does not send any midi commands beyond channel 1-8 and 9)
That XML and picture is pretty handy, thanks! I understand better now, and will need to do some refactoring to make this work.
Any update on this? Being able to control audio source 1 and output levels is useful but frustrating!
I don't know about the Fairlight, but I can control all of the audio inputs on my ATEM HD using the appropriate OSC commands. It's all working perfectly as far as I can tell.
As described above, ATEM switchers (like my ATEM Mini) which use Fairlight audio use the same AudioSource id
(-65280) for all stereo inputs. Each AudioInput
has its own id, which there appears to be no way to pass in an OSC message. Addressing /atem/fairlight-audio/source/-65280/gain
always affects only theAudioInput
with id=1
.
I guess it's different from the ATEM HD, which is: /atem/audio/input/1/gain, sorry I couldn't help. I'm not one of the programmers, I'm an artist using atemOSC.
I tried to understand a bit more how Fairlight audio works:
So I startet to make a Makro and toggle all my Incoming Audio on my ATEM Mini Pro to find out how BMD finds out wich one ist ment to be used.
There are two Types of "commands" in the XML
e.g. for Camera one
<Macro index="38" name="test für audio" description=""> <Op id="FairlightAudioMixerInputSourceMixType" input="Camera1" sourceId="18446744073709486336" mixType="On"/>
We can see two entries that seem to address the Channel: Input and source ID
Changing my Camera Input to dual Mono brings up the following:
<Op id="FairlightAudioMixerInputSourceMixType" input="Camera1" sourceId="18446744073709551360" mixType="On"/> <Op id="FairlightAudioMixerInputSourceMixType" input="Camera1" sourceId="18446744073709551361" mixType="On"/>
So the Input ist the same, but the Source ID changed...
After that I saved the status of the Faders to an XML.
I found this in the beginning for Camera1 in Stereo Mode:
`
Sorry, I‘m not skilled enough in coding to help with this, but I found a workaround: As some of us use Osculator: I was able to control all Faders with Osculator and ordinary MIDI Messages as ATEM Software control supports MIDI Inputs.
If necessary I can show an example!
An example would be great! I was playing with OSCulater as well, but it has been a few months now.
I made an example file - I used an Korg NanoKONTROL2 with 8 Faders, wich represent Channels 1-8 on my ATEM (Camera 1-4 in Stereo and Aux1-2 in Mono)
you need to have Osculator and ATEM Software Control running.
Right now I'm working on the Mute Buttons - I'm trying to figure out wich MIDI Commands will be necessary. After that I will try to take Control of the PAN , AFV and Gain Functions.
I made an example file - I used an Korg NanoKONTROL2 with 8 Faders, wich represent Channels 1-8 on my ATEM (Camera 1-4 in Stereo and Aux1-2 in Mono)
you need to have Osculator and ATEM Software Control running.
Right now I'm working on the Mute Buttons - I'm trying to figure out wich MIDI Commands will be necessary. After that I will try to take Control of the PAN , AFV and Gain Functions.
Hi ruebyi,
I've downloaded your example and I'm using APC Mini controller... May you explain me how to connect to ATEM software?
tnx a lot.
Mrboss!
Hi @mrbossitaly
I dind't need to connect to ATEM Software. Check wether you have activatet Midi Control in the settings. On my Mac ATEM Software control recognizes the output from Osculator and interprets them as explained. Sometimes I had to restart the ATEM Software control Panel to recognize the input.
You need an ATEM Mini, ATEM Mini Pro, ATEM Mini iso or ATEM Studio 4K with Fairlight support for this (as far as I know).
For me it's a workaround until ATEM OSC supports Fairlight Audio
Hi @mrbossitaly
I dind't need to connect to ATEM Software. Check wether you have activatet Midi Control in the settings. On my Mac ATEM Software control recognizes the output from Osculator and interprets them as explained. Sometimes I had to restart the ATEM Software control Panel to recognize the input.
You need an ATEM Mini, ATEM Mini Pro, ATEM Mini iso or ATEM Studio 4K with Fairlight support for this (as far as I know).
For me it's a workaround until ATEM OSC supports Fairlight Audio
Hi @ruebyi tnx for reply me.
I have an X-touch that no need to have any other software (osculator too) and just with midi driver I can pilot the ATEM mini fader and on/AFW buttons.
My problem is for APCMini from AKAI that has CC from 49 to 56 on fader. So: Monitoring X-touch it send out a midi picth weel control and raw data are E0 XX XX. Monitoring APCMini and changing the output of fader with your template nothing appears at atem mini fader...
I think that your controller is like mine X-touch that don't use osculator at all but just midi...
Also I didn't understand how to use substitution in osculator..
May you explain me better?
tnx again.
mrbossitaly
@mrbossitaly
I think that your controller is like mine X-touch that don't use osculator at all but just midi...
Nope, I'm quite serious about this.
I tried an Behringer BCF in Mackie Mode and it worked out of the Box like your xTouch I tried an KorgNanoKontrol 2 in Mackie Mode and it worked out of the Box, but with an bug - My AFV was activated randomly.
So I put the Korg NK2 in MIDI Mode (Not mackie) and used the above skript and it worked.
Also I didn't understand how to use substitution in osculator..
That's what my osculator Skript does - It receives an fader Movement from my Korg and translates it to the Mackie Output
Hey guys, sorry it's been a while. I think I have a fix, give me a week to get this tested and you should be able to control all inputs/sources through atemOSC.
Looking for some feedback. I don't love these IDs, which seem to always be -65280
in stereo mode and -255
& -256
in dual mono mode. One idea I had would be to use an addresses like /fairlight-audio/input/<id>/gain
and /fairlight-audio/input/<id>/pan
to adjust the gain/pan for the single stereo source or both dual mono sources on the input, for simplicity. Then, provide something like /fairlight-audio/input/<id>/left/gain
and /fairlight-audio/input/<id>/right/gain
to address the two sources separately in dual-mono mode (this would be no-op in stereo mode). What do you guys think? Not sure if calling the sources left
and right
in dual mono mode is correct, but not sure what else to label them (besides maybe source/1
and source/2
).
I'm open to other suggestions for the fairlight audio API! Just throwing my ideas out to start a conversation. I don't use these features on a regular basis so would like input from those who do.
I feel, that left and right are OK - it’s logical and would be similar to an Mixing console with Stereo Inputs.
I second that! L/R is usual for the most of us. Thanks!!!
Thirded. It makes sense, as they are the left and right channels of a stereo input, simply being designated to be used as dual mono.
Do you need any help in testing that new Build?
yes, L/R is perfect. One thought, does it make sense to use the same OSC address for the stereo channel fader respectively left channel fader (if audio is split)? would save some trouble if you don´t know in advance if your channels are split. i hope you understand my poor english....cheers
I have an ATEM Mini, which uses Fairlight Audio. It would be wonderful if I could adjust input gain.
When I record a macro changing the gain on HDMI input 1, the XML looks like this:
XML for Mic 1 input:
I have my audio inputs split into separate mono channels.