History

added initial words on normalized range

Paul Batchelor committed 5 years ago

Commit 83a5d831 parent e0c38a92 files · +22 −0Browse files

Unified · Split

2 files
  1. doc/normalized_range.org +21 −0
  2. mkdb.janet +1 −0
doc/normalized_range.org+21−0
@@ -0,0 +1,21 @@
1#+TITLE: Normalized Range
2In =sndkit=, a =normalized range= is any real number within
3the inclusive range 0 and 1.
4
5Normalized ranges are ideal ways to abstract away units when
6you don't want to think about them.
7
8Usually, values in a normalized range are destined to be
9@!(ref "scale" "rescaled later")!@, such as @!(ref "oscf"
10"table lookup oscillators")!@.
11
12In IEEE floating point, there are sometimes some numerical
13advantages to keeping things in a smaller range, as values
14in this range have more equidistance spacing compared to
15using relatively larger values. This spacing is referred
16to as the magnitude of a
17[[https://en.wikipedia.org/wiki/Unit_in_the_last_place][unit in last place, or "ulp"]].
18More information about the nuances of floating point
19precision can be found in =Physically Based Rendering= by
20Pharr, Jakob, and Humphreys in Chapter 3.9 (Managing
21Rounding Error).
mkdb.janet+1−0
@@ -43,6 +43,7 @@ · 42 unmodified lines
43(ww-add-link "expon" "dsp/expon.org")43(ww-add-link "expon" "dsp/expon.org")
44(ww-add-link "chorus" "dsp/chorus.org")44(ww-add-link "chorus" "dsp/chorus.org")
45(ww-add-link "bitosc" "dsp/bitosc.org")45(ww-add-link "bitosc" "dsp/bitosc.org")
46(ww-add-link "normalized_range" "doc/normalized_range.org")
46 47
47# sync and close48# sync and close
48 49

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t