From 996beae750ecc03f742412c561c29cb4118b6082 Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Fri, 22 Nov 2013 13:51:39 +0000 Subject: [PATCH] Added multi transforms for testing purpose Former-commit-id: d821e759e3f3f583132a5f21c397b2652337cd28 --- config/hyperion.config.json | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/config/hyperion.config.json b/config/hyperion.config.json index fa6a7535..1c5963ce 100644 --- a/config/hyperion.config.json +++ b/config/hyperion.config.json @@ -34,10 +34,11 @@ /// - 'updateFrequency' The update frequency of the leds in Hz "color" : { - "transforms" : + "transform" : [ { - "id" : "default", + "id" : "device_1", + "leds" : "0-24", "hsv" : { "saturationGain" : 1.0000, @@ -63,12 +64,42 @@ "gamma" : 2.0000, "blacklevel" : 0.0000, "whitelevel" : 1.0000 + } + }, + { + "id" : "device_2", + "leds" : "25-49", + "hsv" : + { + "saturationGain" : 1.0000, + "valueGain" : 1.5000 }, + "red" : + { + "threshold" : 0.1000, + "gamma" : 2.0000, + "blacklevel" : 0.0000, + "whitelevel" : 0.8000 + }, + "green" : + { + "threshold" : 0.1000, + "gamma" : 2.0000, + "blacklevel" : 0.0000, + "whitelevel" : 1.0000 + }, + "blue" : + { + "threshold" : 0.1000, + "gamma" : 2.0000, + "blacklevel" : 0.0000, + "whitelevel" : 1.0000 + } } ], "smoothing" : { - "type" : "none", + "type" : "linear", "time_ms" : 200, "updateFrequency" : 20.0000 }