Skip to content

Commands

EX867 edited this page Oct 24, 2017 · 7 revisions

Available commands

IT IS SIMPLE! This is all commands for PositionWriter!

on

on <y> <x> {auto <velc>}|<velc>|<htmlc>|{<velc> <htmlc>}

  • y : y position of button (y > 0)
  • x : x position of button (x > 0)
  • velc : velocity color (0 <= velc <=127)
  • htmlc : html color (6 hex digits like "FFFFFF")

Turns on LED in (x,y) position with color. velocity color will readed first on Unipad or PositionWriter.

off

off <y> <x>

  • y : y position of button (y > 0)
  • x : x position of button (x > 0)

Turns off LED in (x,y) poaition.

delay

delay <time>|<fraction>

  • time : delay in milliseconds (time > 0)
  • fraction : same as time,but it depends on bpm. (form = number/number)

Make a time delay between up and down commands.

bpm

bpm <value>

  • value : value of bpm. It means "how many quarter notes is played in one minute?".

Set bpm to value from current line. It will not be changed until other bpm command.
For example, if bpm is 120 then "delay 1/4" is same as "delay 500".
Default bpm is 120.

range command

You can use x1~x2 instead x for on and off. For example, you can enter on 1~8 1~8 auto 3 to on all 8x8 pad white.

comment

// write something

in 1.4, you cannot write // in middle of line. but in 2.0, you can write // like normal programming languages.

Supported Unitor commands

You have to enable "ignore mc" to use these commands.

chain

chain <c>

  • c : chain number to change (c > 0)

This is kind of macro...changes chain number without pressing chain button in keySound.

mapping

mapping s|l <y> <x> <index>

  • y : y position of button (y > 0)
  • x : x position of button (x > 0)
  • index : multi mapping index to change (index >= 0)

Changes multi mapping number remotely without pressing selected button several times. This only works in keySound, and if chain is changed, all multi mapping indexes are reset.

mc

on mc <n> ...

  • n : value of mc position (n > 0)

This command is used to on and off chain buttons in Launchpad, this not works in PositionWriter for now. But aposotionWriter can read it, and just ignore. I will add mc position support later with custom midi mapping function.

rnd

You can write rnd instead velocity number, this command means random velocity. In PositionWriter, this command oy works in keySound and in led editor, this will be displayed as text.

Removed in 2.0

filename (removed)

1.4 only. in 2.0, I used drag and drop to assign led file to button".

filename <c> <y> <x> <loop> [<option>]

  • c : chain number (c > 0)
  • y : y position of button (y > 0)
  • x : x position of button (x > 0)
  • loop : led plays times if you pressed button. if is 0, it will keep play until you release the button.
  • option : option about flipping, rotating. options can be
    • default (0) : nothing happens!
    • L-R (1) : left-right flip
    • U-D (2) : up-down flip
    • 90-R (3) : rotate 90 degrees to right
    • 180-R, 180-L (4) : rotate 180 degrees
    • 90-L (5) : rotate 90 degrees to left
    • Y=X (6) : y=x symmetry (horizontal line == x axis)
    • Y=-X (7) : y=-x symmetry

export file with given name. Save just saves text, but export formats led. It trims text and remove PositionWriter-only commands. It also converts on <y> <x> <velc> to on <y> <x> auto <velc>. it overwrites original file with no message! warning!

Clone this wiki locally