Giter Site home page Giter Site logo

tylerstraub / blaize_v3_pwfb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bodgedbutworks/blaize_v3

2.0 0.0 1.0 78.54 MB

fork of BLAIZE animation software for PW:FB! live show

License: GNU General Public License v3.0

Processing 97.64% Shell 2.36%

blaize_v3_pwfb's Introduction

Original Author

big shoutout to BodgedButWorks: https://github.com/bodgedbutworks/Blaize_V3/

About the (bodged) OSC implementation

  • OSC Processing library provided by Andreas Schlegel: https://sojamo.de/libraries/oscP5/
  • Intended for use with Max for Live (example included in repo) but should work for other things
  • Uses a weird massive array color_bank to store color combinations for single button presses... sorry about this
  • Uses another odd pattern for button toggles which expects a MIDI node and velocity value (because of how I'm implementing this on the Ableton side)
  • Original TCP networking still works

Changes in this Fork

  • disabled login screen and password entry for show/production purposes
  • control panel is hidden on startup
  • system now detects current target display's resolution and starts in full screen (with controls offscreen to the right)

Todo

  • re-implement some sort of external settings.cfg file for adjusting parameters (had it working at one point, but ran into odd global/typing issues with fullScreen()
  • fix the BPM handling on OSC input to allow both a float or str

OSC Messaging Specifications

SLIDERS (float)

/speed: expects float (0-1)

/size: expects float (0-1)

/brightness: expects float (0-1)

/strobing: expects float (0-1)

/shading: expects float (0-1)

/bpm: expects float (0-1) atrociously hacked and inacurate, maybe don't use this

COLOR CHANGES (pair of ints: note #, velocity)

velocity doesn't matter here, multicolor toggle is enabled/disabled accordingly

  • MIDI 78-85 (F#6-C#7) SINGLE COLOR BANKS
  • MIDI 86-127 (D7-G10) COLOR COMBO BANKS

PRESET CHANGES (pair of ints: note #, velocity)

velocity also ignored here

  • MIDI 0-31 (C0-G2)

BUTTON TOGGLES (pair of ints: note #, velocity)

velocity determines on/off state... ON > 64

  • MIDI 36-42 (C3-F#3)

Blaize Data Structure (original TCP interface)

- messages are split on new line (/n)
- messages expect a C value (address registry) and a V value (data registry)

// CHANGE CURRENT PRESET
- C values of 0-31 trigger preset changes (V value must be 0)

ex: 
	C10V0 (switch to preset 10)

// CHANGE COLORS
- value 32 triggers color buttons
- selectable V values for collers are a range from 0-7
	0: RED
	1: YELOW
	2: GREEN
	3: CYAN
	4: BLUE
	5: MAGENTA
	6: WHITE
	7: RANDOM

ex: 
	C32V1 (change color to yellow)
	C32V1/nC32V6 (change color to green and white when multicolor enabled)

// CHANGE BUTTONS (on/off)
- values 36-42 seem to toggle on/off buttons with value 0-1 (some do nothing?)
	36: MULTICOLOR
	37: BLACKOUT
	38: BPM (toggle on/off)
	41: LINE MOVE
	
// CHANGE SLIDERS
- C values of 44-47 control the main sliders with a V range of 0-100
	44: SPEED
	45: SIZE
	46: BRIGHTNESS
	47: STROBING
	50: SHADING

// CHANGE BPM
- C value of 254, v value of target BPM

ex:
	C254V120 (set bpm to 120)

blaize_v3_pwfb's People

Contributors

bodgedbutworks avatar matthri avatar tylerstraub avatar

Stargazers

 avatar  avatar

Forkers

antjim101

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.