Skip to content

ithinu/warbl2raw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARBL2 firmware 4.1 with raw sensor mode

Original (maybe newer) firmware: https://github.com/amowry/WARBL2

This is a development version with the raw mode enabled by default, throttled to max 2 messages per 3ms. Only pressure, tonehole and button events are enabled.

This mode may require a relatively high bandwidth, thus a single update item <type, value> is packed into NOTE ON/NOTE OFF messages as follows:

  • status = 0x80 + (type & 0x1f);
  • byte1 = value & 0x7F;
  • byte2 = (value >> 7) & 0x7F;

where type is defined by RAW_TYPE_* constants and value falls within -8192 ... 8191 max, depending on type. For buttons, state is stored in individual bits whose numbers are given by RAW_BUTTON_* constants.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 30.1%
  • C++ 28.2%
  • HTML 28.0%
  • CSS 8.6%
  • C 4.4%
  • Python 0.7%