aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/lua.md
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-07-14 16:49:31 +0200
committercbdev <cb@cbcdn.com>2019-07-14 16:49:31 +0200
commite776e02531aca45f424f7139e5d7304ba3096b45 (patch)
treeb5221228c7bca8f7f6804d573ed28d63197e8ae2 /backends/lua.md
parentf19d6e66b23ba719f474171b10e1ee294fb38d55 (diff)
downloadmidimonster-e776e02531aca45f424f7139e5d7304ba3096b45.tar.gz
midimonster-e776e02531aca45f424f7139e5d7304ba3096b45.tar.bz2
midimonster-e776e02531aca45f424f7139e5d7304ba3096b45.zip
Work around missing timerfd on OSX/Windows
Diffstat (limited to 'backends/lua.md')
-rw-r--r--backends/lua.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/lua.md b/backends/lua.md
index 970e8e2..e273b28 100644
--- a/backends/lua.md
+++ b/backends/lua.md
@@ -15,7 +15,7 @@ The following functions are provided within the Lua interpreter for interaction
| `output(string, number)` | `output("foo", 0.75)` | Output a value event to a channel |
| `interval(function, number)` | `interval(update, 100)` | Register a function to be called periodically. Intervals are milliseconds (rounded to the nearest 10 ms) |
| `input_value(string)` | `input_value("foo")` | Get the last input value on a channel |
-| `output_value(string)` | `output_value("bar") | Get the last output value on a channel |
+| `output_value(string)` | `output_value("bar")` | Get the last output value on a channel |
Example script:
@@ -58,7 +58,7 @@ lua1.foo > lua2.bar
#### Known bugs / problems
-Using any of the interface functions (`output`, `interval`, `input\_value`, `output\_value`) as an
+Using any of the interface functions (`output`, `interval`, `input_value`, `output_value`) as an
input channel name to a Lua instance will not call any handler functions.
Using these names as arguments to the output and value interface functions works as intended.