From d2fa4f8292a50b47864d561c33ced39c55c89254 Mon Sep 17 00:00:00 2001
From: David Robillard
Date: Thu, 3 Nov 2011 22:36:43 +0000
Subject: Syntax highlight C and Turtle code in documentation.
---
ext/port-props.lv2/port-props.ttl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'ext/port-props.lv2/port-props.ttl')
diff --git a/ext/port-props.lv2/port-props.ttl b/ext/port-props.lv2/port-props.ttl
index d2956e5..d811959 100644
--- a/ext/port-props.lv2/port-props.ttl
+++ b/ext/port-props.lv2/port-props.ttl
@@ -197,13 +197,13 @@ encoders, etc.
Note that when used with a pprops:logarithmic port, the steps are
logarithmic too, and port value can be calculated as:
-
+
value = lower * pow(upper / lower, step / (steps - 1))
and the step from value is:
-
+
step = (steps - 1) * log(value / lower) / log(upper / lower)
--
cgit v1.2.1