MCPcopy Create free account

hub / github.com/bcrowe306/MPC-Studio-Mk2-Midi-Sysex-Charts / functions

Functions1,064 in github.com/bcrowe306/MPC-Studio-Mk2-Midi-Sysex-Charts

↓ 62 callersFunctionmirror
Mirrors a value in a numberline Args: pt : real value in numberline delta: value to mirror Returns: pt - de
python-lcd-poc/lib/pythonbmp/mathlib.py:1125
↓ 47 callersFunctionreadint
Reads an integer value in an unsigned byte array Args: offset: uint starting offset in buffer or array
python-lcd-poc/lib/pythonbmp/inttools.py:45
↓ 41 callersFunctionplotxybit
Sets pixel at (x, y) in a bitmap to color c Args: bmp : unsigned byte array with bmp format x, y: unsigned int
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1666
↓ 38 callersFunctionsaveBMP
Saves bitmap to file Args: filename: full path to the file to be saved bmp : unsigned byte array
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1485
↓ 34 callersFunctiongetmaxy
Gets the y value stored in the windows bmp header Args: bmp: unsigned byte array with bmp format Returns:
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:408
↓ 33 callersFunctiongetmaxx
Gets the x value stored in the windows bmp header Args: bmp: unsigned byte array with bmp format Returns:
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:381
↓ 28 callersFunctionisinrange
Checks is value is within high and low limits Args: value : numeric variable to check highlimit: upper
python-lcd-poc/lib/pythonbmp/mathlib.py:334
↓ 25 callersFunction_xchrcnt
Get the chars or bytes in row of a BMP Args: bmp: unsigned byte array with bmp format Returns: count of
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:520
↓ 23 callersFunction_getBMoffhdfunc
Returns the correct function to use in computing offsets with headers in a given bmp Args: bmp: unsigned byte array
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:781
↓ 23 callersFunctiongetallRGBpal
Gets the RGB palette of a bitmap Args: bmp: unsigned byte array with bmp format Returns: [(r: byte, g: b
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1059
↓ 23 callersFunctionloadBMP
Load bitmap to a byte array (uncompressed bitmap only) Args: filename: full path to the file to be loaded
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1443
↓ 22 callersFunctionroundvect
Rounds off the components of a vector (list of floats -> list of ints) Args: v: list of floats Returns: list o
python-lcd-poc/lib/pythonbmp/mathlib.py:120
↓ 20 callersFunctionbytearray
Bytearray-like array
python-lcd-poc/png.py:254
↓ 20 callersFunctionitercirclepartlineedge
Yields (int, int) 2D vertices along a path defined by radius r as it traces one fourth of a circle with origin set at (0, 0) tuned for
python-lcd-poc/lib/pythonbmp/primitives2D.py:83
↓ 19 callersFunctionaddvect
Add vectors u and v by adding their components Args: u, v: list of ints or floats Returns: list of ints or floats
python-lcd-poc/lib/pythonbmp/mathlib.py:149
↓ 19 callersMethodextend
Decompose into bytes before byteextend
python-lcd-poc/png.py:1430
↓ 19 callersFunctionitermultifractal
Yields a Multi Fractal Args: x1, y1, x2, y2: rectangular area to draw in d : any paramat
python-lcd-poc/lib/pythonbmp/fractals.py:905
↓ 19 callersFunctionwrite_chunk
Write a PNG chunk to the output file, including length and checksum.
python-lcd-poc/png.py:1568
↓ 18 callersFunctioniif
Returns trueval if boolcond is true else return falseval Args: boolcond: an expression that evalu
python-lcd-poc/lib/pythonbmp/conditionaltools.py:16
↓ 18 callersFunctionplotmultifractal
Draw a Multi Fractal Args: bmp : unsigned byte array with bmp format
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:9092
↓ 18 callersFunctionsortrecpoints
Sorts the x and y values that sets a rectangular area Args: x1, x2: int x coordinates y1, y2: int y coordinates Return
python-lcd-poc/lib/pythonbmp/primitives2D.py:753
↓ 17 callersFunctionmatchRGBtopal
Color matching from a 24-bit palette to any 1, 4 or 8-bit palette using Euclidean distance minimization in an rgb
python-lcd-poc/lib/pythonbmp/colors.py:272
↓ 16 callersFunctioncolormix
Mix a byte luminosity value to an rgb triplet that express a color value in [r, g, b] ratios from 0.0 to 1.0 to ob
python-lcd-poc/lib/pythonbmp/colors.py:90
↓ 16 callersFunctionsavemultifractal2file
Saves a Multi Fractal to a file Args: file : full path to new file x : width of bitmap y : height of
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:10775
↓ 16 callersFunctionsetmax
Set the value of val to maxval if val > maxval Args: val : numeric variable maxval: upper limit of variable Returns:
python-lcd-poc/lib/pythonbmp/mathlib.py:354
↓ 15 callersFunctiongetmaxcolors
Get the maximum number of colors supported by a BMP Args: bmp: unsigned byte array with bmp format Returns:
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:598
↓ 15 callersFunctionitermultifractalcomplexpar
Yields a Multi Fractal with a complex number parameter Args: x1, y1, x2, y2: rectangular area to draw in
python-lcd-poc/lib/pythonbmp/fractals.py:933
↓ 15 callersFunctionnewBMP
Creates a new in-memory bitmap Args: x, y : unsigned int values of x and y dims colorbits: bit depth
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1407
↓ 15 callersFunctionplotmultifractalcomplexpar
Draw a Multifractal with a complex parameter Args: bmp : unsigned byte array
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:9148
↓ 14 callersFunction_xbytes
Get the number of bytes in a bmp row given x dimension and bit depth Args: x : unsigned int value of x-dimension
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:866
↓ 14 callersFunctionint2RGBarr
Returns a rgb array from int i color input Args: i: color value Returns: unsigned byte RGB array
python-lcd-poc/lib/pythonbmp/colors.py:163
↓ 14 callersFunctionsavefractalwith2param2file
Saves a Fractal with two parameters to a file Args: file : full path to new file x : width of bitmap y
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:11335
↓ 13 callersFunctionBMPbitBLTput
Sets offset in array to arraybuf Args: bmp : unsigned byte array with bmp format offset : unsigned in
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1503
↓ 13 callersFunction_usefn2circreg
Apply a user provided function (no parameters) to a circular area Args: ExistingBMPfile: Whole path to
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13471
↓ 12 callersFunction_usebyreffn2regnsv
Apply a byref function with no parameters to a rectangular region and save Args: ExistingBMPfile: Whole path to
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13260
↓ 12 callersFunction_usebyreffnsv
Apply a by-ref function with no parameters and save Args: ExistingBMPfile: Whole path to existing file
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13326
↓ 12 callersFunctionfilledrect
Draws a Filled Rectangle Args: bmp : unsigned byte array with bmp format
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:3938
↓ 12 callersFunctiongetmaxxy
Gets the max x and y values stored in the bmp header Args: bmp: unsigned byte array with bmp format Returns:
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:421
↓ 12 callersFunctionplotstringfunc
Draws a string using a function Args: bmp : unsigned byte array with
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:5069
↓ 12 callersFunctionsetmin
Set the value of val to minval if val < minval Args: val : numeric variable minval: lower limit of variable Returns:
python-lcd-poc/lib/pythonbmp/mathlib.py:368
↓ 12 callersFunctionsubvect
Subtracts vectors u and v by subtracting their components Args: u, v: list of ints or floats Returns: list of ints or
python-lcd-poc/lib/pythonbmp/mathlib.py:179
↓ 11 callersFunction_hdsz
Get the header size of a BMP Args: bmp: unsigned byte array with bmp format Returns: int value of header
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:585
↓ 11 callersFunctionbiomorphfunc
Biomorph Function Args: f : a function f(z, d, c) z : complex number d : float (exponent) c : complex numbe
python-lcd-poc/lib/pythonbmp/fractals.py:454
↓ 11 callersFunctionhoriline
Draw a Horizontal Line Args: bmp : unsigned byte array with bmp format y : constant y value
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:2006
↓ 11 callersFunctionitercopyrect
Scan a rectangular area and yield scan lines Args: bmp : unsigned byte array
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:2280
↓ 11 callersFunctioniterline
Yields (int, int) 2D vertices along a line segment defined by endpoints p1 and p2 Args: p1, p2: line endpoints
python-lcd-poc/lib/pythonbmp/primitives2D.py:157
↓ 10 callersFunctionlerp
Calculates a number between two numbers at a specific increment. Args: a, b: float values f : the amount to interpola
python-lcd-poc/lib/pythonbmp/mathlib.py:1673
↓ 10 callersMethodread
Read the PNG file and decode it. Returns (`width`, `height`, `pixels`, `metadata`). May use excessive memory. `pix
python-lcd-poc/png.py:2644
↓ 10 callersFunctionsetminmax
Set the value of val to minval if val < minval or the value of val to maxval if val > maxval Args: val : numeric variable
python-lcd-poc/lib/pythonbmp/mathlib.py:382
↓ 10 callersFunctionvmag
Compute the Magnitude or length of a vector v of arbitrary dimension n equal to len(v) Args: v: list of ints or floats Ret
python-lcd-poc/lib/pythonbmp/mathlib.py:704
↓ 9 callersFunction_flsz
Get the file size of a win bmp from its bmp header Args: bmp: unsigned byte array with bmp format Return
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:553
↓ 9 callersFunctionentirecircleisinboundary
Checks if an entire circle is within a rectagular area Args: x, y: center of the ellipse xmin, ymin: min (x, y) bounds
python-lcd-poc/lib/pythonbmp/primitives2D.py:825
↓ 9 callersFunctionisinBMPrectbnd
Checks if (x,y) coordinates are within the BMP Args: bmp : unsigned byte array with bmp format x, y: unsigned
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:464
↓ 9 callersFunctionisinteger
Check if `x` is platform native integer
python-lcd-poc/png.py:3064
↓ 9 callersFunctionmulvect
Gets the inner product of vector u and vector v Args: u, v: list of ints or floats Returns: list of ints or floats
python-lcd-poc/lib/pythonbmp/mathlib.py:194
↓ 9 callersFunctionplotstringfunc2file
Draws a string using a function to a file Args: file : new file draw the string str2plo
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:5125
↓ 9 callersFunctionswapif
Swaps val1 and val2 if boolcond is true Args: boolcond : an expression that evaluates as either
python-lcd-poc/lib/pythonbmp/conditionaltools.py:40
↓ 9 callersMethodwrite
Write a PNG image to the output file. `rows` should be an iterable that yields each row in boxed row flat pixel format. The
python-lcd-poc/png.py:1230
↓ 8 callersFunction_getclrbits
Get the bit depth of BMP Args: bmp: unsigned byte array with bmp format Returns: int value of bit depth
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:506
↓ 8 callersFunctiondist
Compute the Distance or length of a vector v of arbitrary dimension n in a n-dimensional Euclidean space where u and v are both vectors
python-lcd-poc/lib/pythonbmp/mathlib.py:717
↓ 8 callersFunctionscalarmulvect
Scales a vector by multiplying a scalar value (float) to all components of the vector or a list of numbers Args: v : the v
python-lcd-poc/lib/pythonbmp/mathlib.py:214
↓ 8 callersFunctionxorvect
Applies a xor operation of between the elements of two lists of ints Args: v : list[int] bitmask: int Return
python-lcd-poc/lib/pythonbmp/mathlib.py:1249
↓ 7 callersFunctionRGB2int
Pack byte r, g and b color value components to an int representation for a specific color Args: r, g, b: co
python-lcd-poc/lib/pythonbmp/colors.py:225
↓ 7 callersFunction_use24btclrfnwithpar2circreg
Apply a user provided color adjustment function to a circular area (24-bit only) Args: ExistingBMPfile: Whole path to
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13568
↓ 7 callersFunctionint2RGB
Break down int color i to its byte valued r, g and b components Args: i: int color value Returns: r:
python-lcd-poc/lib/pythonbmp/colors.py:118
↓ 7 callersFunctionnext
trivial `next` emulation
python-lcd-poc/png.py:223
↓ 7 callersFunctionplotattractor
Draws an Attractor from a list of x, y pairs Args: v : list of [x, y] coordinate pairs x, y: int dimensions of bmp
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:12664
↓ 6 callersFunction_24bmof
Get the offset in a byte array with RGB data given x and y Args: bmp: unsigned byte array with bmp format x,y:
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:611
↓ 6 callersFunction_24bmofhd
Get the offset in a byte array with RGB data given x and y with bmp header Args: bmp: unsigned byte array with bm
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:630
↓ 6 callersFunction_8bmofhd
Get the offset in a byte array with 8 bit color data given x and y with adjustments made for a bmp header Args: bmp : u
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:671
↓ 6 callersFunction_BMoffset
Returns the offset given a bmp and (x, y) coordinates Args: bmp : unsigned byte array with bmp format x, y: un
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:817
↓ 6 callersFunction_use24btbyrefclrfn2regnsv
Apply a 24-bit byref color modification function to a rectangular area and save Args: ExistingBMPfile: Whole path to
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13186
↓ 6 callersFunction_usebyreffnwithpar2regnsv
Apply a byref function with parameters to a rectangular area and save Args: ExistingBMPfile: Whole path to
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13154
↓ 6 callersFunction_usefnwithpar2circreg
Apply a user provided function with parameters to a circular area Args: ExistingBMPfile: Whole path to
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:13501
↓ 6 callersFunctionbytearray_to_bytes
Default version
python-lcd-poc/png.py:235
↓ 6 callersFunctioncircle
Draws a Circle Args: bmp : unsigned byte array with bmp format x, y, r : center (x,y)
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:3412
↓ 6 callersFunctiongenerateMessage
(imageData, x, y)
lcd-poc/index.js:78
↓ 6 callersFunctionintscalarmulvect
Scales a vector by multiplying a scalar value (float) to all components of the vector or a list of numbers then rounds off values in the lis
python-lcd-poc/lib/pythonbmp/mathlib.py:254
↓ 6 callersFunctionitercircle
Yields (int, int) 2D vertices along a path defined by radius r as it traces a circle with origin set at (x, y) Args: x, y: i
python-lcd-poc/lib/pythonbmp/primitives2D.py:311
↓ 6 callersFunctionmean
Gets the average of a list of numbers Args: v: the vector or a list of ints or floats Returns: float
python-lcd-poc/lib/pythonbmp/mathlib.py:275
↓ 6 callersFunctionsign
Returns an int depending on the sign of val Args: val : a Number Returns: Postive value -> 1 zero -
python-lcd-poc/lib/pythonbmp/mathlib.py:424
↓ 6 callersFunctionstrtobytes
(x)
python-lcd-poc/png.py:303
↓ 5 callersFunctionbuf2int
Converts an unsigned byte array to an integer value Args: buf: unsigned byte array Returns: unsigned int valu
python-lcd-poc/lib/pythonbmp/inttools.py:81
↓ 5 callersFunctioncopyRGBpal
Copies the RGB palette info from a source unsigned byte array to a destination unsigned byte array Args: sourceBMP and destB
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1243
↓ 5 callersFunctionflipnibbleinbuf
Flips a 4-bit image buffer Args: buf: unsigned byte array Returns: unsigned byte array
python-lcd-poc/lib/pythonbmp/bufferflip.py:37
↓ 5 callersFunctiongetBMPimgbytes
Gets the raw image buffer of a bmp without the header Args: bmp: unsigned byte array with bmp format Returns:
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:966
↓ 5 callersFunctiongetcharfont
( charbuf: list, character: str)
python-lcd-poc/lib/pythonbmp/fonts.py:1579
↓ 5 callersFunctionint2RGBlist
Break down int color i to its byte valued r, g and b components in a list Args: i: int color value Returns:
python-lcd-poc/lib/pythonbmp/colors.py:132
↓ 5 callersFunctioninterpolateRGB
Returns a packed int RGB value interpolated with functon f and float value v Args: f : interpolation function r1, r
python-lcd-poc/lib/pythonbmp/colors.py:1133
↓ 5 callersFunctionintplotvecxypoint
Sets the color of a pixel at (x, y) Args: bmp: unsigned byte array with bmp format v : (x:int, y:int)
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:1820
↓ 5 callersFunctioniterellipsepart
Yields (int, int) 2D vertices along a path defined by major and minor axes b and a as it traces one fourth of an ellipse with origin se
python-lcd-poc/lib/pythonbmp/primitives2D.py:228
↓ 5 callersFunctioniterimageRGB
Yields (r, g, b) information for the entire bitmap Args: bmp : unsigned byte array with bmp format
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:7554
↓ 5 callersFunctionlinevec
Draw a line in a bitmap Args: bmp : unsigned byte array with bmp format u, v : (x:float,y:float)
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:2327
↓ 5 callersFunctionmirrorleftinregion
Mirrors the left-half of a rectangular area Args: bmp : unsigned byte array
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:8354
↓ 5 callersFunctionmirrorrightinregion
Mirrors the right-half of a rectangular area in a bitmap Args: bmp : unsigned byte array
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:8394
↓ 5 callersFunctionnewBarray
fast init by length
python-lcd-poc/png.py:258
↓ 5 callersFunctionplotstring
Draws a string Args: bmp : unsigned byte array with bmp format
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:5283
↓ 5 callersFunctionrotatebitsinbuf
Does a bit rotate to the bytes in an unsigned byte array Args: buf: unsigned byte array Returns: unsigned byt
python-lcd-poc/lib/pythonbmp/bufferflip.py:22
↓ 5 callersFunctionsetbmppal
Sets the RGB palette of a bitmap Args: bmp : unsigned byte array with bmp format pallist: [(r: byte,
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:994
↓ 5 callersFunctionthickroundline
Draw a Thick Rounded Line Args: bmp : unsigned byte array with bmp format p1, p2 : (x, y) endpo
python-lcd-poc/lib/pythonbmp/BITMAPlib.py:2399
next →1–100 of 1,064, ranked by callers