Coder Social home page Coder Social logo

kinect-audio-setup's Introduction

## Note

This is a fork from [this](https://git.ao2.it/kinect-audio-setup.git/).

### The following changes have been made

- Patched device id for a kinect for windows version 1517.
- Added a nix flake.

## Readme

kinect-audio-setup makes audio input from the Microsoft Kinect Sensor
device work on GNU/Linux systems.

When the Kinect is first plugged in the USB port it shows up as
a generic USB device with a bulk endpoint; after uploading a certain
firmware a reenumeration takes place and a USB Audio Class (UAC) device
becomes available.

kinect-audio-setup provides tools to download the firmware off the net
at installation time —since the firmware is not redistributable—, and it
sets up udev rules to call the firmware loader when the device is
plugged in to finally get the USB Audio Class device.

Note that for all the magic to happen automatically pulseaudio >= 1.0 is
needed, as it contains the kinect-audio.conf profile which fixes audio
device detection:
  https://bugs.freedesktop.org/show_bug.cgi?id=39664

kinect-audio-setup provides:
  - kinect_fetch_fw which downloads and extracts the firmware from the
    Microsoft Kinect SDK;
  - kinect_upload_fw which loads the firmware to the generic USB device
    in order to get the USB Audio Class device to show up;
  - udev rules to call kinect_upload_fw when the device is plugged in.


To install kinect-audio-setup from the source distribution follow the
steps below with superuser rights:

Install kinect_upload_fw first:

  # make install

it will be copied to /usr/local/sbin by default, assign the PREFIX
variable on the command line to install it to another location.

Then install the udev rules to automate the firmware loading:

  # make install_udev_rules \
    FIRMWARE_PATH=/lib/firmware/kinect/UACFirmware \
    LOADER_PATH=/usr/local/sbin/kinect_upload_fw

Then run the firmware fetcher script (remember this is only needed
once):

  # ./kinect_fetch_fw /lib/firmware/kinect
  # udevadm control --reload-rules


The UAC firmware is downloaded from the Microsoft Kinect SDK at
http://www.kinectforwindows.org, the license of the SDK can be found at
http://research.microsoft.com/en-us/um/legal/kinectsdk-tou_noncommercial.htm

=== Acknowledgements

A special thanks goes to Steven Toth from http://kernellabs.com, who
kindly sponsored a Kinect to Antonio Ospite and made kinect-audio-setup
possible in its current form.

kinect-audio-setup's People

Contributors

ao2 avatar noebm avatar zarvox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.