From 3e8aca43b4b2919bfba68904ab89e7dc6e41f578 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 20 Feb 2021 22:31:16 +0100 Subject: Update README.md --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index bbda397..8c70a18 100644 --- a/README.md +++ b/README.md @@ -83,12 +83,13 @@ Mult-part cues are supported. Simply specify the fade parameters and which fixt Everything from a simple dimmers to wacky multi-parameter fixtures are supported. New fixture classes can be defined using some simple Scheme code. Patching fixtures looks like this: ``` -(define dimmer1 (patch-fixture! 1)) -(define dimmer2 (patch-fixture! 3)) -(define balcony-backlight1 (patch-fixture! 18)) -(define balcony-backlight2 (patch-fixture! 19)) -(define footlights (patch-fixture! 23)) -(define moving-light (patch-fixture! 59)) +(patch-fixture! dimmer1 1)) +(patch-fixture! dimmer2 3)) +(patch-fixture! balcony-backlight1 18)) +(patch-fixture! balcony-backlight2 19)) +(patch-fixture! footlights 23)) +;; Universe numbering starts at zero, matching OLA +(patch-fixture! moving-light 1 #:universe 4)) ``` Note that the names of the fixtures are just normal Scheme variables. They can be anything you like, and you're encouraged to make the names more descriptive than logical channel numbers, where appropriate. -- cgit v1.2.3