-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from scanner-darkly/grid2
teletype 3.0
- Loading branch information
Showing
88 changed files
with
8,144 additions
and
561 deletions.
There are no files selected for viewing
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Orthogonal Devices ER-301 Sound Computer | ||
|
||
The ER-301 is a voltage-controllable canvas for digital signal processing algorithms available from Orthogonal Devices. It can communicate with the Teletype to send up to 100 triggers and 100 CV values per device. Up to three devices are software-selectable and correlate to outputs up to 300. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
["SC.TR"] | ||
prototype = "SC.TR x y" | ||
short = "Set trigger output for the ER-301 virtual output x to y (0-1)" | ||
|
||
["SC.TR.POL"] | ||
prototype = "SC.TR.POL x y" | ||
short = "Set polarity of trigger for the ER-301 virtual output x to y (0-1)" | ||
|
||
["SC.TR.TIME"] | ||
prototype = "SC.TR.TIME x y" | ||
short = "Set the pulse time for the ER-301 virtual trigger `x` to `y` in ms" | ||
|
||
["SC.TR.TOG"] | ||
prototype = "SC.TR.TOG x" | ||
short = "Flip the state for the ER-301 virtual trigger output `x`" | ||
|
||
["SC.TR.PULSE"] | ||
prototype = "SC.TR.PULSE x" | ||
aliases = ["SC.TR.P"] | ||
short = "Pulse the ER-301 virtual trigger output `x`" | ||
|
||
["SC.CV"] | ||
prototype = "SC.CV x y" | ||
short = "CV target value for the ER-301 virtual output `x` to value `y`" | ||
|
||
["SC.CV.OFF"] | ||
prototype = "SC.CV.OFF x y" | ||
short = "CV offset added to the ER-301 virtual output `x`" | ||
|
||
["SC.CV.SET"] | ||
prototype = "SC.CV.SET x" | ||
short = "Set CV value for the ER-301 virtual output `x`" | ||
|
||
["SC.CV.SLEW"] | ||
prototype = "SC.CV.SLEW x y" | ||
short = "Set the CV slew time for the ER-301 virtual output `x` in ms" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 16n Faderbank | ||
|
||
The 16n Faderbank is an open-source controller that can be polled by the Teletype to read the positions of its 16 sliders. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
["FADER"] | ||
prototype = "FADER x" | ||
aliases = ["FB"] | ||
short = "reads the value of the `FADER` slider `x`; default return range is from 0 to 16383" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## Grid | ||
Grid operators allow creating scenes that can interact with grid connected to | ||
teletype (important: grid must be powered externally, do not connect it directly | ||
to teletype!). You can light up individual LEDs, draw shapes and create controls | ||
(such as buttons and faders) that can be used to trigger and control scripts. | ||
You can take advantage of grid operators even without an actual grid by using | ||
the built in Grid Visualizer. | ||
|
||
For more information on grid integration see Advanced section and | ||
[Grid Studies](https://github.com/scanner-darkly/teletype/wiki/GRID-INTEGRATION). | ||
|
||
As there are many operators let's review some naming conventions that apply to | ||
the majority of them. All grid ops start with `G.`. For control related ops this | ||
is followed by 3 letters specifying the control: `G.BTN` for buttons, `G.FDR` | ||
for faders. To define a control you use the main ops `G.BTN` and `G.FDR`. To | ||
define multiple controls replace the last letter with `X`: `G.BTX`, `G.FDX`. | ||
|
||
All ops that initialize controls use the same list of parameters: id, | ||
coordinates, width, height, type, level, script. When creating multiple controls | ||
there are two extra parameters: the number of columns and the number of rows. | ||
Controls are created in the current group (set with `G.GRP`). To specify a | ||
different group use the group versions of the 4 above ops - `G.GBT`, `G.GFD`, | ||
`G.GBX`, `G.GFX` and specify the desired group as the first parameter. | ||
|
||
All controls share some common properties, referenced by adding a `.` and: | ||
|
||
* `EN`: `G.BTN.EN`, `G.FDR.EN` - enables or disables a control | ||
* `V`: `G.BTN.V`, `G.FDR.V` - value, 1/0 for buttons, range value for faders | ||
* `L`: `G.BTN.L`, `G.FDR.L` - level (brightness level for buttons and coarse faders, max value level for fine faders) | ||
* `X`: `G.BTN.X`, `G.FDR.X` - the X coordinate | ||
* `Y`: `G.BTN.Y`, `G.FDR.Y` - the Y coordinate | ||
|
||
To get/set properties for individual controls you normally specify the control | ||
id as the first parameter: `G.FDR.V 5` will return the value of fader 5. Quite | ||
often the actual id is not important, you just want to work with the latest | ||
control pressed. As these are likely the ops to be used most often they are | ||
offered as shortcuts without a `.`: `G.BTNV` returns the value of the last | ||
button pressed, `G.FDRL 4` will set the level of the last fader pressed etc etc. |
Oops, something went wrong.