All Projects → nanoleaf → aurora-sdk-win

nanoleaf / aurora-sdk-win

Licence: Apache-2.0 License
An SDK to develop effects for Nanoleaf Light Panels using features like frequency, beat, or tempo.

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to aurora-sdk-win

aurora-sdk-mac
An SDK to develop effects for Nanoleaf Light Panels using features like frequency, beat, or tempo.
Stars: ✭ 43 (+95.45%)
Mutual labels:  simulator, music-visualizer, fft, beat-detection, mel, nanoleaf
drop
A LÖVE visualizer and music player
Stars: ✭ 17 (-22.73%)
Mutual labels:  music-visualizer, fft
opem
OPEM (Open Source PEM Fuel Cell Simulation Tool)
Stars: ✭ 107 (+386.36%)
Mutual labels:  simulator
ReactionMechanismSimulator.jl
The amazing Reaction Mechanism Simulator for simulating large chemical kinetic mechanisms
Stars: ✭ 39 (+77.27%)
Mutual labels:  simulator
Windows-10-SVM
Pixel-perfect replica of Windows 10, simulated in the browser with Vanilla JS.
Stars: ✭ 14 (-36.36%)
Mutual labels:  simulator
facebook-send-api-emulator
Facebook Messenger Emulator & Facebook Send API Emulator functionality allowing you to test web hooks on developer's machine.
Stars: ✭ 24 (+9.09%)
Mutual labels:  simulator
jiminy
Jiminy: a fast and portable Python/C++ simulator of poly-articulated systems with OpenAI Gym interface for reinforcement learning
Stars: ✭ 90 (+309.09%)
Mutual labels:  simulator
isosim
ISO8583 Web Simulator - Built with Go!
Stars: ✭ 80 (+263.64%)
Mutual labels:  simulator
TJAPlayer3
TJAPlayer3 is a rhythm game application for Windows (and compatible environments). It provides a style of gameplay very similar to that of Taiko no Tatsujin and similar rhythm games, and supports .tja files compatible with a number of other similar rhythm game applications. Download the latest release here: https://github.com/twopointzero/TJAPla…
Stars: ✭ 106 (+381.82%)
Mutual labels:  simulator
touch-bar
Launch the macOS Touch Bar simulator from the command-line
Stars: ✭ 43 (+95.45%)
Mutual labels:  simulator
simobility
simobility - light-weight mobility simulation framework. Best for quick prototyping
Stars: ✭ 29 (+31.82%)
Mutual labels:  simulator
ffts
The Fastest Fourier Transform in the South
Stars: ✭ 111 (+404.55%)
Mutual labels:  fft
pluto-gps-sim
PLUTO-GPS-SIM generates a GPS baseband signal IQ data stream, which is then transmitted by the software-defined radio (SDR) platform ADALM-Pluto.
Stars: ✭ 74 (+236.36%)
Mutual labels:  simulator
PencilFFTs.jl
Fast Fourier transforms of MPI-distributed Julia arrays
Stars: ✭ 48 (+118.18%)
Mutual labels:  fft
airsim ros
AirSim ROS packages: modified ros wrapper for airsim, and some vslam related tools. (Mainly focused on Car SimMode)
Stars: ✭ 28 (+27.27%)
Mutual labels:  simulator
math
Useful m-scripts for DSP (CIC, FIR, FFT, Fast convolution, Partial Filters etc.)
Stars: ✭ 15 (-31.82%)
Mutual labels:  fft
bpmn-js-token-simulation
A BPMN 2.0 specification compliant token simulator.
Stars: ✭ 130 (+490.91%)
Mutual labels:  simulator
gym-line-follower
Line follower robot simulator environment for Open AI Gym.
Stars: ✭ 46 (+109.09%)
Mutual labels:  simulator
TinyPixelMapper
a Pixelmapping software for the ESP32 and ESP8266 for addressible LED Strips, with a OSC controll interface and FFT
Stars: ✭ 22 (+0%)
Mutual labels:  fft
spectrogram
Taking an audio signal (wav) and converting it into a spectrogram. Written in Go programming language.
Stars: ✭ 34 (+54.55%)
Mutual labels:  fft

Installation Instructions

Cygwin is required to work with the SDK on Windows. For installation instructions, see here. During Cygwin install, make sure to select the following packages to be installed:

make

gcc

g++

python

xinit

xorg-server

In Cygwin, clone or download the appropriate SDK for Windows from our GitHub Page.

Navigate to the top-level SDK directory aurora-sdk-win.

Install numpy:

pip install numpy

Install remaining packages:

pip install -r requirements.txt

Common Errors

python and pip mismatch

If you have more than source of python and associated tools in Cygwin, please make sure python and pip belong to the same source (e.g., Cygwin native python 2, Cygwin native python 3, Anaconda, etc.).

To check, use which -a python and which -a pip, the first line displayed is the current source.

Permissions

Check if the executables in the SDK have been granted execution privilege.

Plugin Builder

The Plugin Builder tool is the preferred method for:

  • Pairing with an Light Panels
  • Using the Light Panels simulator
  • Using plugin options
  • Creating a palette
  • Building and running plugins

In the directory plugin-builder-tool/ simply run the command: python main.py. A GUI will appear that prompts you to enter the IP address of the testing Light Panels (or use a simulator), your desired palette, and the absolute path to your plugin in the directory AuroraPluginTemplate/.

A GUI also exists to create Plugin Options for your plugin. The GUI reads and writes the given Plugin Options to the PluginOptions.h of whichever plugin is selected by the plugin location field.

To build and test a plugin, simply browse to the directory of the plugin, such as AuroraPluginTemplate, pressing Build, then Upload & Run.

Common Errors

If you encounter the following error message trying to run the Plugin Builder:

_tkinter.TclError: no display name and no $DISPLAY environment variable

Then xinit/xorg-server may not be running. In your Cygwin terminal, run the following command:

export DISPLAY=:0.0

If the same error still persists, run XWin Server from the Windows Start Menu, an application which should be installed with Cygwin.

Working with Light Panels

If you have a set of Light Panels, you can view the plugin on the panels themselves from within Plugin Builder. The Light Panels must be connected to a WiFi network.

IP Address

The IP address of your Light Panels can be determined by using SSDP Scanner.

Pairing

An initial pairing process is required to connect the Plugin Builder with Light Panels. This is a one-time process for each set of Light Panels.

Pairing Steps:

  1. Enter the IP of the Light Panels and press Pair.
  2. Hold down the power button on the Light Panels controller for 5-7 seconds
  3. Press Enter in the Cygwin console

Advanced Build and Test

If you do not wish to use the Plugin Builder GUI or run into errors while using it, you try to following advanced steps to build and test your plugin.

Build

In Cygwin, navigate to the Debug folder inside a plugin directory such as AuroraPluginTemplate or Example\Converge. Build using the following

make clean

make

If compilation completes successfully, a libAuroraPlugin.so file will be placed in the Debug folder.

Test

The following requires up to 3 Cygwin consoles. All commands should be entered from the top-level SDK directory.

In console 1, enter

python music_processor.py

If you want to use the Light Panels simulator and your Python version is 2.7, in console 2, enter

python LightPanelsSimulator/py27/light-panels-simulator.py

If your Python version is 3.6, enter

python LightPanelsSimulator/py3/light-panels-simulator.py

No other python version is currently supported.

In console 3, enter

./AnimationProcessor -p <absolute path to .so file> -i [<ip address>] [-s] [-cp <absolute path to palette file>] [-plugin_opts <absolute path to PluginOptions.h file]

The .so file is the compiled plugin that you wish to run.

Enter the IP address of the Light Panels if you have them, otherwise, use -s to use Light Panels Simulator.

Use -cp to add the path to the palette file, if necessary.

Use -plugin_opt to add the path to the PluginOptions.h, if necessary.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].