Skip to content

This Xcode project is a sample to get the motion sensor values of the AirPods Pro(1st or 2nd gen) / AirPods Max / AirPods(3rd gen) or Beats Fit Pro and forward them via OSC.

License

Notifications You must be signed in to change notification settings

emanuelgollob/AirPodsPro-Motion-OSC-Forwarder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirPodsPro-Motion-Sampler with OSC Forwarder

Code Examples of CMHeadphoneMotionManager in CoreMotion with OSC Forwarder

Requirements

  • Xcode: 15.0+
  • iOS : 14.0+ or macOS Sonoma Beta+ on Mac computers with Apple silicon
  • iPhone, iPad (*1)
  • AirPods Pro(1st or 2nd generation) / AirPods Max / AirPods(3rd generation) or Beats Fit Pro

*1: iPod Touch (7th generation) is not supported.
*2: The necessary sensors are included, so it should work.

How To Build for iOS:

Open AirPodsProMotion.xcodeproj on Xcode15 or later, then connect your iPhone or iPad to build it.

How To Build for macOS Sonoma on Mac computers with Apple silicon:

Open AirPodsProMotion.xcodeproj on Xcode15 or later, choose My Mac (Mac Catalyst) as Run Destination and build it.

Contents

|

  |

Displays the information (CMDeviceMotion) obtained from AirPodsPro and forwards the Yaw, Pitch and Roll data via OSC to the localhost on Port 9999. Set to autostart/recover the OSC stream whenever any AirPodsPro are connected or reconnected to the device.

Reference

Author of the original AirPodsPro-Motion-Sampler repository this fork is built on:

Yoshio Tsukuda

About

This Xcode project is a sample to get the motion sensor values of the AirPods Pro(1st or 2nd gen) / AirPods Max / AirPods(3rd gen) or Beats Fit Pro and forward them via OSC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%