Use gem install bunchcli
to install, then run bunch -h
for a list of commands.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import picamera | |
from picamera import mmal, mmalobj, exc | |
from picamera.mmalobj import to_rational | |
import time | |
MMAL_PARAMETER_ANALOG_GAIN = mmal.MMAL_PARAMETER_GROUP_CAMERA + 0x59 | |
MMAL_PARAMETER_DIGITAL_GAIN = mmal.MMAL_PARAMETER_GROUP_CAMERA + 0x5A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// relative set, useful for increment/decrement knobs, | |
// as they appear e.g. in cerain midi controllers | |
// different modes depending on get/set methods for the inner object. | |
///// _____ | |
p = Point(1, 2); | |
r = SmartSetter(p, \x, [-100, 100]); | |
///// getSet |
(Mozzi is a sound synthesis toolkit for the Arduino)
The naming of the fixed-point types is based on the Qm.f
-notation ("the unambiguous form") as described in the notation section of the wikipedia article on fixed-point arithmetic, replacing .
with n
.[^ Since `.` does not work in C.]