Git Product home page Git Product logo

hfour-cleveland's Introduction

EXPERIMENTAL: This project remains under active development. Features and documentation are incomplete.

Cleveland Lighting Controller

DIY kit for controlling LED strips using a Raspberry Pi.

Pipeline

  • mixer : Combines layers with A-B mixer.
    • simple : Customizable shader
    • perlin : Simplex noise shader
  • correct : Correct gamma and gain
  • lamps : Scale output for LEDs

Instructions

Changing LED configuration

  • Modify misc/blitface.test.yaml section output with config from blitface docs
  • Test LED configuration by running blitface misc/blitface.test.yaml.
  • Copy output section into loopin.local.yaml.
  • Modify preset/buffers.yaml to reflect new geometry.

Setting up audio input device

  • From command line, run loopin-native --info
  • Observe deviceID from output.
  • Copy audio example from loopin.local.example.yaml to loopin.local.yaml, uncommenting and changing deviceID

Setup Dev Env on Raspberry Pi 4

  • Run raspi-config and set:
    • hostname to yourhosthanme
    • 2 D5 Enable/Disable screen blanking No
    • 3 P2 SSH Yes
  • Log in to terminal with ssh.
# Install latest node.js
# https://github.com/nodesource/distributions/blob/master/README.md
curl -fsSL https://deb.nodesource.com/setup_15.x | sudo bash -
sudo apt install -y gcc g++ make nodejs

# Install yarn, package manager for node.js
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

# Clone 
git clone --recursive https://github.com/koopero/loopin-dev
cd loopin-dev

./script/yarn-link.sh

cd loopin-native
sudo npm link

sudo loopin-native --deps
sudo chown -R pi build
loopin-native --verbose --test

Links

hfour-cleveland's People

Contributors

themadgenius03 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.