-
Notifications
You must be signed in to change notification settings - Fork 6
/
randomtable.h
139 lines (136 loc) · 11.8 KB
/
randomtable.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#ifndef RANDTABLE_H
#define RANDTABLE_H
// We don't have access to osc_white() as an effect (that I know of), so a simple
// random table will suffice as this is for an LFO anyway.
// This data was supplied by random.org, and modified to range from -1 to +1
const float randTable[] = {
-0.2314043,0.54651998,-0.63066714,-0.56493826,-0.48839572,-0.21916766,0.36462972,-0.2314043,
-0.99293382,0.02225008,-0.0590655,-0.21065798,0.06464326,-0.7347001,-0.91283052,-0.99293382,
0.3101707,-0.86855938,0.44824784,0.9036195,-0.28517914,0.8671554,-0.06817168,0.3101707,
-0.8786993,-0.99871646,-0.15906958,-0.64955412,-0.37710026,-0.94079724,0.4753889,-0.8786993,
-0.77826232,-0.14901172,0.33947494,0.03480126,0.09901146,-0.15244496,0.85045282,-0.77826232,
0.14016282,-0.60031686,-0.7368612,0.11132936,0.52192004,-0.41913956,0.88288848,0.14016282,
-0.82591624,-0.1756249,0.8422039,0.16095136,0.57135906,0.16372388,0.40648962,-0.82591624,
-0.2247487,-0.90857676,-0.5081932,-0.08806882,0.81553532,0.30983194,-0.2376289,-0.2247487,
0.4132079,-0.21331628,0.57936184,0.42806572,0.18708752,0.96893894,-0.24882998,0.4132079,
-0.77042766,-0.34924854,-0.94949042,0.8972434,0.91106102,-0.60743606,0.19371502,-0.77042766,
-0.20218988,0.55676338,-0.79940764,0.0350633,-0.87155422,-0.22175292,-0.3637481,-0.20218988,
0.80896964,-0.42424776,-0.1810431,-0.14813198,-0.86818626,-0.49408196,-0.37851346,0.80896964,
-0.99097862,0.62281918,-0.29857836,0.02390016,-0.03124716,-0.64804244,-0.43743098,-0.99097862,
0.58934736,-0.74861602,-0.76835268,-0.43021606,0.60707464,0.7244966,-0.7383832,0.58934736,
0.71779614,-0.95523746,-0.07665894,0.44470714,0.52566676,-0.86983378,0.92545644,0.71779614,
0.38263472,-0.96802444,-0.79689302,0.71366932,-0.39558382,-0.65158116,-0.44408322,0.38263472,
0.935562,0.5750502,0.6562886,0.71282426,0.67813702,-0.4311562,0.6084606,0.935562,
-0.26947288,-0.7139464,-0.04079366,-0.49264042,0.41609684,-0.06236994,-0.4971883,-0.26947288,
-0.07856028,0.3929187,-0.32627672,-0.29705398,0.7890507,0.67830528,0.43366444,-0.07856028,
0.36294672,-0.31054328,-0.60386346,-0.02516008,-0.23534518,-0.6276771,0.31781314,0.36294672,
-0.21189904,-0.75042106,0.26553776,0.7815531,0.9266826,-0.06401378,-0.70242802,-0.21189904,
-0.00936448,-0.91823652,0.48105932,0.00951496,0.3392277,-0.45449716,-0.52413002,-0.00936448,
-0.50997314,0.16993856,-0.08575838,0.4424623,-0.94508054,-0.34301426,-0.04919728,-0.50997314,
0.30901268,0.54388654,-0.33703698,-0.45763798,0.24929596,-0.15978512,-0.37281858,0.30901268,
-0.10214188,-0.23829564,0.12783704,0.46121502,0.2292569,-0.09900852,-0.63343892,-0.10214188,
-0.67469454,0.41727694,-0.81324414,0.43579636,0.73391266,0.6970582,-0.73210638,-0.67469454,
0.40319666,0.09532302,-0.22735666,-0.53536714,-0.160397,-0.81317548,-0.20088504,0.40319666,
-0.28883144,0.65829508,-0.59187258,0.5097592,-0.41594004,0.44822682,0.7629366,-0.28883144,
0.06847554,0.60397858,0.6186918,0.84819908,0.26638464,-0.71567522,-0.8988414,0.06847554,
0.86504872,0.48504544,0.36794678,0.74209346,0.30406672,0.87543584,0.9796863,0.86504872,
-0.70568536,0.8672872,0.44382892,0.93275502,-0.95336612,0.84455776,-0.16467936,-0.70568536,
-0.29009186,-0.66740094,0.13505892,-0.43017214,-0.8631255,-0.03546404,-0.4399171,-0.29009186,
-0.8593023,-0.81491286,-0.40073122,-0.58075978,0.27444308,0.1904516,-0.96401404,-0.8593023,
0.34587482,0.23805126,-0.91135086,-0.89460414,0.27017916,-0.91989172,-0.85167016,0.34587482,
0.73536208,-0.09942514,-0.41704324,0.79051778,0.90658084,0.99153646,0.837739,0.73536208,
0.86572852,0.27813708,0.43269964,0.90900152,-0.67233946,-0.97474204,0.48845818,0.86572852,
-0.21380142,0.39929994,-0.80022058,-0.56837196,-0.50921048,-0.3124034,-0.95404658,-0.21380142,
-0.40691598,0.318588,0.62351066,-0.12148224,-0.69638694,-0.65496068,0.6022502,-0.40691598,
0.48854354,0.0636686,-0.57160988,0.06542284,-0.2267567,0.03774302,0.11637682,0.48854354,
0.3825501,0.34476354,-0.0351772,0.98224094,0.86545646,0.50505714,0.88864984,0.3825501,
0.12601476,-0.1363979,0.81608432,0.98896292,-0.69395204,0.8427457,-0.54178978,0.12601476,
0.09100582,-0.9007689,0.28847144,0.3337846,0.36541946,-0.88785694,-0.8370231,0.09100582,
0.37488482,0.34915012,0.7443386,0.39204604,0.55510766,0.96835834,0.14980906,0.37488482,
0.20555192,-0.26560552,0.9518228,-0.13262536,-0.19100506,-0.52570092,-0.18064476,0.20555192,
0.44051352,0.14131978,0.22155736,0.41442382,-0.18391942,0.70283572,0.12699806,0.44051352,
-0.3781742,0.11146934,0.63289098,-0.2925214,0.1646008,-0.43433538,0.79793442,-0.3781742,
0.77492172,-0.69407076,0.88648988,-0.70925196,0.6115666,0.84393016,0.80714512,0.77492172,
0.11579974,-0.04395392,-0.43886524,0.1824845,-0.02778724,-0.75786064,-0.75553636,0.11579974,
0.7082662,0.13112518,-0.27631096,-0.79033644,-0.76531656,0.61693112,0.39563396,0.7082662,
-0.477837,-0.10082598,0.79172574,-0.7774507,0.7316623,0.47095156,-0.2043716,-0.477837,
-0.03313346,-0.70989702,-0.95510214,0.90332946,0.55298562,-0.13992812,0.09431898,-0.03313346,
0.50456728,0.1131065,-0.34402842,-0.2611352,0.79526646,-0.22803676,-0.85018172,0.50456728,
-0.01294152,-0.58154144,0.00154482,-0.72775036,0.27340302,0.39507792,-0.1670534,-0.01294152,
0.49344392,-0.41576682,0.86465826,0.90609496,0.2680744,-0.55431324,-0.22611028,0.49344392,
-0.63166678,0.03681282,0.93732292,0.79421054,0.75680826,0.39488566,-0.32658604,-0.63166678,
0.68596476,-0.5706574,0.4860868,0.94466168,-0.71115912,-0.22444316,0.37643138,0.68596476,
-0.89011724,0.02987618,-0.27796526,-0.8050375,0.18051244,0.64654424,0.62688122,-0.89011724,
0.11059842,0.8483728,0.8744601,0.75997206,0.1736532,0.82692448,-0.55796142,0.11059842,
0.36995662,-0.84295624,0.8016379,-0.57090636,0.74974554,0.54700102,0.65746982,0.36995662,
0.18232336,0.02867258,-0.23261566,0.0935524,0.8179281,-0.88214384,-0.5697386,0.18232336,
-0.71342984,0.0694111,-0.70011866,0.64776678,-0.84788004,-0.3425736,-0.9646738,-0.71342984,
0.31538774,0.07037428,0.88726658,-0.4807112,-0.32982548,0.1126246,0.60388196,0.31538774,
-0.53313652,0.08372012,0.61973796,0.394952,0.8246582,0.88481538,-0.24087682,-0.53313652,
0.3757394,-0.413241,-0.0945069,-0.9761171,-0.00620484,-0.20354766,0.08883772,0.3757394,
0.3822473,0.64147354,0.83369564,0.64492258,0.81652656,-0.27513836,-0.02186548,0.3822473,
-0.23742436,-0.56438892,-0.50334852,0.76430476,-0.46838836,-0.09395952,0.7842414,-0.23742436,
-0.81575202,-0.95378786,-0.3807743,-0.06967186,-0.45942342,0.5827417,-0.56857122,-0.81575202,
0.46063568,-0.42610522,-0.45516278,-0.10268336,-0.23541684,0.4688219,0.64099866,0.46063568,
0.05802952,0.8001778,0.40879144,-0.27307604,-0.1332455,0.33208252,-0.07461506,0.05802952,
0.34954332,0.09076,-0.88862838,-0.00414206,-0.75859052,0.29397976,-0.6346285,0.34954332,
0.05661016,-0.82731236,0.69710546,0.03473258,0.55473872,0.67017612,-0.83585294,0.05661016,
-0.97620244,0.50511004,-0.20961808,0.5006253,0.63531356,-0.83025904,-0.48152776,-0.97620244,
0.21433048,0.63335392,-0.1608967,0.30105834,-0.63062486,0.84330696,0.46969242,0.21433048,
-0.7705885,0.32313618,0.31046994,-0.2540674,0.72786842,0.4826595,-0.62235638,-0.7705885,
-0.0355434,0.98520864,-0.87815162,0.6134161,-0.5571174,0.31718424,-0.75338136,-0.0355434,
-0.40396276,0.08816002,-0.81646766,-0.07225528,-0.75480328,0.33934536,0.18545084,-0.40396276,
-0.48748834,0.13756104,0.6310622,0.3034468,0.14029578,-0.9440509,-0.4640537,-0.48748834,
-0.47710832,0.82863812,-0.1383758,0.23267684,-0.61737126,-0.11208714,-0.07084092,-0.47710832,
0.94755754,0.78811298,0.45811822,-0.33411394,-0.15942362,-0.61453288,0.71096872,0.94755754,
-0.07839638,-0.08976006,0.12007358,-0.96183704,-0.31404778,-0.96943192,-0.41512276,-0.07839638,
-0.54852896,0.8740867,0.3379375,0.81187394,-0.00210008,0.73306086,0.4609503,-0.54852896,
0.49422332,0.17922812,-0.1386416,-0.1393405,-0.91146206,0.49270092,0.2462627,0.49422332,
-0.8197245,-0.48312942,-0.80193424,0.4479154,0.52112698,0.34536922,0.54820328,-0.8197245,
-0.2262592,-0.23449196,-0.7786537,-0.92515908,-0.36395126,-0.84451746,0.21900604,-0.2262592,
0.73757986,-0.65245366,-0.30550586,0.95831574,0.06069778,-0.88631858,-0.4106099,0.73757986,
-0.60824484,0.2038373,0.86603704,0.73372154,-0.46523922,-0.49777182,0.69381506,-0.60824484,
-0.54085014,0.84711214,-0.91277862,-0.60943694,-0.441752,-0.84145232,0.86151768,-0.54085014,
0.09213472,0.3800744,0.6929552,-0.7063468,-0.71690908,0.62472782,-0.3959323,0.09213472,
0.46058696,-0.877636,0.70621148,0.47732396,0.05142446,-0.49096676,0.91644368,0.46058696,
-0.00800808,-0.52304498,-0.97128446,0.03976988,-0.50942394,-0.32669776,-0.922751,-0.00800808,
-0.63294416,-0.56306758,0.32199748,0.32300178,0.59354418,0.7756601,-0.8233271,-0.63294416,
0.25103728,0.87239092,-0.56712866,0.90606774,-0.6677721,0.39281932,0.84309108,0.25103728,
0.37337992,0.94187978,0.07638866,-0.32099372,-0.58138784,-0.97862178,0.71326742,0.37337992,
-0.76686512,-0.53764692,0.7847194,0.29846142,-0.88972228,0.87018062,-0.23668248,-0.76686512,
0.1493731,0.43799574,0.05076102,-0.62367112,0.79723884,-0.17013764,-0.7539358,0.1493731,
0.21666458,0.66255286,-0.16891254,0.27636212,-0.32907146,0.9597485,-0.08596422,0.21666458,
0.6752897,-0.91632782,0.1766806,0.68083844,0.78558016,-0.69103544,-0.53728112,0.6752897,
0.03214486,0.32830092,0.25647,0.23625178,-0.5937636,-0.81135356,-0.61167908,0.03214486,
0.46395552,0.63193942,0.2744395,-0.73164268,-0.94913722,0.90574892,0.10697688,0.46395552,
-0.20396274,-0.0234194,-0.0575235,0.01722004,0.64399618,0.61442178,0.99113932,-0.20396274,
-0.76422526,-0.6194951,0.72925818,0.36197314,0.23534978,0.75465732,0.79619018,-0.76422526,
-0.55393706,-0.6084027,-0.35747332,0.39381542,-0.59639696,0.83248228,0.46917922,-0.55393706,
0.12264462,-0.3503252,-0.98878778,-0.7684302,-0.36647644,-0.84689388,-0.0645377,0.12264462,
-0.71479686,-0.88359914,0.28704114,0.3028856,-0.65854258,-0.6530489,0.1083362,-0.71479686,
0.922393,-0.6527999,0.36411138,-0.90696742,-0.99082768,-0.10158124,0.07324462,0.922393,
-0.04140592,0.40771058,-0.07072772,-0.2538809,0.58221524,0.61175048,-0.09769316,-0.04140592,
-0.8814879,-0.77124736,0.27771956,-0.48963556,0.66815244,-0.1080161,-0.21262796,-0.8814879,
-0.61492572,-0.42203502,0.7195284,-0.25434106,0.64691226,-0.44513018,-0.02941122,-0.61492572,
0.50274572,0.2756404,0.02407392,0.37121628,0.04699242,0.9128808,-0.18845168,0.50274572,
-0.77884166,-0.46262852,-0.39944948,0.55292146,-0.72219574,0.60688358,-0.19910118,-0.77884166,
0.42477142,0.89974092,-0.65722284,-0.43353628,-0.17143786,-0.52309142,-0.46600464,0.42477142,
0.97069046,-0.49841484,-0.94977502,0.1913803,-0.91883316,0.37074546,-0.88487906,0.97069046,
0.94334796,0.56821762,-0.58964888,-0.64170976,0.01179128,0.70265266,-0.11852944,0.94334796,
0.54163886,0.1586083,-0.04181242,-0.32787398,0.57439822,-0.3969753,0.72897126,0.54163886,
0.13941208,0.40877528,0.13773482,0.46797796,-0.93322648,-0.56495112,0.61498848,0.13941208,
0.018925,-0.7066864,-0.31434506,0.53509898,-0.55762274,0.95048358,0.64756374,0.018925,
0.0650226,-0.4017769,0.65596522,0.09263014,0.93796024,0.3377664,-0.42533138,0.0650226,
-0.79292012,0.04997824,0.1495786,-0.84438184,0.6027439,-0.69079686,-0.75112544,-0.79292012,
-0.83698166,0.14413686,-0.40629302,0.60902136,-0.98837546,0.87648698,0.00596088,-0.83698166,
0.09025938,-0.94727352,0.0734586,-0.44196806,-0.44749486,-0.9185154,-0.13636142,0.09025938,
0.22891506,-0.14429294,-0.38508474,0.95292222,-0.31463094,0.6672517,0.9800606,0.22891506,
0.45206848,0.9604608,-0.1762746,-0.6321978,-0.24293544,-0.79310718,0.90345182,0.45206848,
0.23725112,0.14157852,0.17782366,-0.09028856,0.19427224,-0.92004778,0.32713364,0.23725112,
0.82832232,0.43888252,-0.89298774,-0.81558362,-0.0721609,0.72197366,-0.7685944,0.82832232,
0.16965144,0.52118662,-0.18801678,0.6772434,0.67489392,-0.94508016,0.85821014,0.16965144,
0.40983294,-0.50604126,0.42803208,0.5227238,-0.04413686,-0.04499508,0.80413176,0.40983294,
-0.68272964,-0.03683318,0.43897514,0.04808062,-0.21115644,-0.66316636,0.785461,-0.68272964,
-0.72476526,0.3522723,0.52550746,-0.76996668,0.93492206,0.90414748,-0.21409846,-0.72476526,
};
#endif //RANDTABLE_H