-
Notifications
You must be signed in to change notification settings - Fork 0
/
all-sml.mlb
369 lines (338 loc) · 10.5 KB
/
all-sml.mlb
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
(* Basis library *)
$(SML_LIB)/basis/basis.mlb
(* String interpolation *)
sml-stringinterpolate/string-interpolate.sig
sml-stringinterpolate/string-interpolate.sml
sml-stringinterpolate/string-buffer.sig
sml-stringinterpolate/string-buffer.sml
(* Logging *)
sml-log/log.sig
sml-log/log.sml
sml-log/category-log-fn.sml
sml-log/size-log.sig
sml-log/size-log-null.sml
(* Containers and sorting, needed for mapped JSON, tries, timing, tests, etc *)
sml-smlnj-containers/lib-base-sig.sml
sml-smlnj-containers/lib-base.sml
sml-smlnj-containers/listsort-sig.sml
sml-smlnj-containers/list-mergesort.sml
sml-smlnj-containers/ord-key-sig.sml
sml-smlnj-containers/ord-set-sig.sml
sml-smlnj-containers/ord-map-sig.sml
sml-smlnj-containers/redblack-set-fn.sml
sml-smlnj-containers/redblack-map-fn.sml
sml-smlnj-containers/int-redblack-map.sml
sml-smlnj-containers/splaytree-sig.sml
sml-smlnj-containers/splaytree.sml
sml-smlnj-containers/splay-map-fn.sml
sml-smlnj-containers/hash-key-sig.sml
sml-smlnj-containers/hash-table-rep.sml
sml-smlnj-containers/mono-hash-table-sig.sml
sml-smlnj-containers/hash-table-fn.sml
sml-smlnj-containers/int-hash-table.sml
sml-smlnj-containers/fifo-sig.sml
sml-smlnj-containers/fifo.sml
sml-smlnj-containers/array-sort-sig.sml
sml-smlnj-containers/array-qsort.sml
sml-smlnj-containers/mono-array-sort-sig.sml
sml-smlnj-containers/array-qsort-fn.sml
(* Timing logger for profiling *)
sml-timing/timing.sig
sml-timing/timing.sml
(* FFT *)
sml-fft/fft.sig
sml-fft/fft.sml
sml-fft/fft-real.sig
sml-fft/fft-real.sml
(* Resampler *)
bsq-resampler/sinc.sml
bsq-resampler/kaiser.sml
bsq-resampler/resampler.sig
bsq-resampler/resampler.sml
(* Audio file read and write *)
sml-wavefile/reader.sml
sml-wavefile/writer.sml
(* Audio-related APIs that match the FFI wrappers used in release builds *)
bsq-bq/io-result.sig
bsq-bq/io-result.sml
bsq-bq/file-extension.sml
bsq-bq/bqvec.sig
bsq-bq/bqfft.sig
bsq-bq/bqresample.sig
bsq-bq/bqaudiostream.sig
bsq-bq/bqaudioio.sig
bsq-bq/sml/bqvec.sml
bsq-bq/sml/bqfft.sml
bsq-bq/sml/bqresample.sml
bsq-bq/sml/wavfilereadstream.sml
bsq-bq/sml/wavfilewritestream.sml
bsq-bq/sml/bqaudiostream.sml
bsq-bq/sml/bqaudioio.sml
(* Complex numbers and containers *)
bsq-complex/complex.sig
bsq-complex/complex.sml
bsq-complex/polar.sml
bsq-complex/flat-vector.sig
bsq-complex/flat-array.sig
bsq-complex/flat-2-vector-fn.sml
bsq-complex/flat-2-array-fn.sml
bsq-complex/flat-3-vector-fn.sml
bsq-complex/flat-3-array-fn.sml
bsq-complex/complex-vector.sig
bsq-complex/complex-array.sig
bsq-complex/complex-vector.sml
bsq-complex/complex-array.sml
bsq-complex/polar-vector.sml
bsq-complex/polar-array.sml
(* Matrices *)
bsq-matrix/dense-tensor.sig
bsq-matrix/dense-tensor-fn.sml
bsq-matrix/ordered-matrix.sig
bsq-matrix/ordered-matrix-fn.sml
bsq-matrix/arithmetic-matrix.sig
bsq-matrix/arithmetic-matrix-fn.sml
bsq-matrix/int-vector.sml
bsq-matrix/int-tensor.sml
bsq-matrix/real-tensor.sml
bsq-matrix/real-matrix.sig
bsq-matrix/real-matrix.sml
bsq-matrix/real32-vector.sml
bsq-matrix/real32-tensor.sml
bsq-matrix/real32-matrix.sml
bsq-matrix/complex-tensor.sml
bsq-matrix/complex-matrix.sig
bsq-matrix/complex-matrix.sml
(* Signal-processing utilities *)
bsq-signalbits/types.sml
bsq-signalbits/realtime.sig
bsq-signalbits/realtime.sml
bsq-signalbits/pitch.sml
bsq-signalbits/level.sml
bsq-signalbits/mathmisc.sml
bsq-signalbits/vecmisc.sml
bsq-signalbits/seqmisc.sml
bsq-signalbits/listmisc.sml
bsq-signalbits/filemisc.sml
bsq-signalbits/peakpick.sml
bsq-signalbits/normalise.sml
bsq-signalbits/summarise.sml
bsq-signalbits/distance.sig
bsq-signalbits/distance.sml
bsq-signalbits/scale-intervals.sig
bsq-signalbits/scale-intervals.sml
bsq-signalbits/greek.sml
bsq-signalbits/window.sig
bsq-signalbits/window.sml
bsq-signalbits/convolve.sig
bsq-signalbits/convolve.sml
bsq-signalbits/window-post.sig
bsq-signalbits/window-post.sml
bsq-signalbits/autocorrelation.sml
bsq-signalbits/mean-filter.sml
bsq-signalbits/median-filter.sml
bsq-signalbits/dct.sml
bsq-signalbits/backing-file.sig
bsq-signalbits/backing-file-fn.sml
bsq-signalbits/progress.sml
bsq-signalbits/pack-word-64.sml
(* Trie containers *)
sml-trie/trie-map.sig
sml-trie/trie.sig
sml-trie/pattern-match-trie-map.sig
sml-trie/pattern-match-trie.sig
sml-trie/trie-map-fn.sml
sml-trie/trie-map-keyadapter-fn.sml
sml-trie/list-trie-map-fn.sml
sml-trie/vector-trie-map-fn.sml
sml-trie/bitmapped-vector.sml
sml-trie/btrie-node-map-fn.sml
sml-trie/mtrie-node-map-fn.sml
sml-trie/atrie-node-map-fn.sml
sml-trie/word32-trie-map.sml
sml-trie/trie-fn.sml
sml-trie/pattern-match-trie-fn.sml
sml-trie/persistent-hash-map.sig
sml-trie/persistent-hash-map-fn.sml
sml-trie/list-tries.sml
sml-trie/vector-tries.sml
sml-trie/string-tries.sml
sml-trie/string-hash-map.sml
sml-trie/persistent-array.sig
sml-trie/persistent-array.sml
sml-trie/persistent-array-slice.sig
sml-trie/persistent-array-slice.sml
sml-trie/persistent-queue.sig
sml-trie/persistent-queue.sml
(* Sample and block stream modules *)
bsq-samplestreams/samplestream-types.sml
bsq-samplestreams/samplestream.sig
bsq-samplestreams/samplestream-fn.sml
bsq-samplestreams/synthetic.sml
bsq-samplestreams/channel-adapting-fn.sml
bsq-samplestreams/resampling-fn.sml
bsq-samplestreams/blockstream.sig
bsq-samplestreams/blockstream-fn.sml
bsq-samplestreams/complex-blockstream-fn.sml
bsq-samplestreams/audiofile.sml
bsq-samplestreams/duration-adapting-fn.sml
bsq-samplestreams/framing-fn.sml
bsq-samplestreams/summarising-fn.sml
bsq-samplestreams/frequency-domain-types.sml
bsq-samplestreams/frequency-domain.sig
bsq-samplestreams/frequency-domain-fn.sml
bsq-samplestreams/feature-fn.sml
bsq-samplestreams/fixed-lag-stream-fn.sml
bsq-samplestreams/stream-map-fn.sml
(* Random access sample modules *)
bsq-randomaccess/randomaccess-types.sml
bsq-randomaccess/randomaccess.sig
bsq-randomaccess/randomaccess-fn.sml
bsq-randomaccess/linear-randomaccess-fn.sml
bsq-randomaccess/columnar-randomaccess-fn.sml
bsq-randomaccess/filler-fn.sml
bsq-randomaccess/audiofile.sml
bsq-randomaccess/summarising-fn.sml
bsq-randomaccess/summary-tower.sig
bsq-randomaccess/summary-tower-fn.sml
bsq-randomaccess/spectrogram.sig
bsq-randomaccess/spectrogram-fn.sml
(* Component and frequency-component streams and random-access *)
bsq-component/component-types.sml
bsq-component/pack-component.sml
bsq-component/component-selector.sig
bsq-component/component-selector.sml
bsq-component/component-blockstream.sig
bsq-component/component-blockstream-fn.sml
bsq-component/frequency-component-fn.sml
bsq-component/stereo-component-fn.sml
bsq-component/component-summary-tower.sml
bsq-component/component-without-time.sml
(* Constant-Q transform *)
bsq-cqt/cqkernel.sml
bsq-cqt/cqt.sml
bsq-cqt/cqspectrogram-fn.sml
bsq-cqt/chromagram-fn.sml
(* Hidden Markov models and sparse state models *)
bsq-hmm/hmm.sig
bsq-hmm/hmm.sml
bsq-hmm/sparse-state-model.sig
bsq-hmm/sparse-state-model-fn.sml
bsq-hmm/sparse-hmm.sig
bsq-hmm/sparse-hmm-fn.sml
(* Dynamic time-warping *)
bsq-dtw/dtw-types.sml
bsq-dtw/dtw.sig
bsq-dtw/progressive-dtw.sig
bsq-dtw/naive-dtw-fn.sml
bsq-dtw/constrained-dtw-fn.sml
(* JSON parser and serialiser *)
sml-simplejson/json.sml
bsq-json/json-mapped.sml
bsq-json/json-object-fields.sml
(* Request-response loop library *)
bsq-rrloop/request.sig
bsq-rrloop/response.sig
bsq-rrloop/rrloop.sig
bsq-rrloop/rrloop-support.sig
bsq-rrloop/rrloop-support.sml
bsq-rrloop/rrloop-types-fn.sml
bsq-rrloop/rrloop-managed-fn.sml
bsq-rrloop/rrloop-stdio-fn.sml
(* XML parser and serialiser *)
sml-subxml/subxml.sml
(* SVG structure and serialiser *)
sml-svg/svg.sml
sml-svg/shorten.sml
(* Image file loader *)
bsq-image/image.sig
bsq-image/image.sml
bsq-image/image-reader.sig
bsq-image/image-writer.sig
bsq-image/ppm-reader.sml
bsq-image/ppm-writer.sml
(* CSV file parser *)
sml-csv/csv-splitter.sig
sml-csv/csv-splitter.sml
sml-csv/csv-reader.sig
sml-csv/csv-reader.sml
(* Base-64 encode and decode *)
sml-smlnj-base64/base64-sig.sml
sml-smlnj-base64/base64.sml
(* Translation lookup *)
sml-i18n/string-map.sml
sml-i18n/number.sml
sml-i18n/message-loader.sig
sml-i18n/ts-loader.sml
sml-i18n/i18n.sig
sml-i18n/i18n.sml
(* Simplistic plotting *)
bsq-plot/plot.sig
bsq-plot/plot.sml
(* Waveform renderer *)
bsq-waveform/waveform-types.sml
bsq-waveform/waveform-renderer.sig
bsq-waveform/summarising-renderer.sml
bsq-waveform/interpolating-renderer.sml
bsq-waveform/waveform-renderer.sml
(* Pitch tracking *)
bsq-pitchtrack/pitch-peak-types.sml
bsq-pitchtrack/pitch-state-model.sig
bsq-pitchtrack/pitchtrack.sml
bsq-pitchtrack/continuous-pitch-state-model.sml
bsq-pitchtrack/discrete-pitch-state-model.sml
bsq-pitchtrack/hybrid-sung-pitch-state-model.sml
bsq-pitchtrack/duration-aware-pitch-state-model.sml
bsq-pitchtrack/peak-stream-statistics.sml
bsq-pitchtrack/component-refine.sml
bsq-pitchtrack/cepstral-pitchtrack.sml
(* UTF-8 encoder and decoder *)
sml-utf8/encoder.sml
sml-utf8/decoder.sml
sml-utf8/simple-wide-string.sig
sml-utf8/simple-wide-string.sml
sml-utf8/codepoint-io.sig
sml-utf8/codepoint-io.sml
(* RDF/Turtle parser, serialiser, in-memory datastore *)
sml-ttl/src/rdf-base/log.sml
sml-ttl/src/rdf-base/codepointset.sml
sml-ttl/src/rdf-base/string-compare.sml
sml-ttl/src/rdf-base/iri.sig
sml-ttl/src/rdf-base/iri.sml
sml-ttl/src/rdf-base/rdf-node.sig
sml-ttl/src/rdf-base/rdf-node.sml
sml-ttl/src/rdf-base/rdf-triple.sig
sml-ttl/src/rdf-base/rdf-triple.sml
sml-ttl/src/rdf-base/rdf-standard-iris.sml
sml-ttl/src/rdf-base/prefix.sig
sml-ttl/src/rdf-base/prefix.sml
sml-ttl/src/rdf-base/matcher.sig
sml-ttl/src/rdf-base/collection.sig
sml-ttl/src/rdf-base/collection-gatherer-fn.sml
sml-ttl/src/rdf-base/collection-expander.sml
sml-ttl/src/parse-serialise/base-iri.sml
sml-ttl/src/parse-serialise/source.sml
sml-ttl/src/parse-serialise/file-extension.sml
sml-ttl/src/parse-serialise/file-type.sml
sml-ttl/src/parse-serialise/rdf-parser.sig
sml-ttl/src/parse-serialise/rdf-parser-fn.sml
sml-ttl/src/parse-serialise/rdf-serialiser.sig
sml-ttl/src/parse-serialise/encode.sml
sml-ttl/src/parse-serialise/prefix-table.sig
sml-ttl/src/parse-serialise/prefix-table.sml
sml-ttl/src/parse-serialise/ntriples-codepoints.sml
sml-ttl/src/parse-serialise/ntriples-serialiser.sml
sml-ttl/src/parse-serialise/turtle-codepoints.sml
sml-ttl/src/parse-serialise/turtle-parser.sml
sml-ttl/src/parse-serialise/turtle-serialiser.sml
sml-ttl/src/store/index.sig
sml-ttl/src/store/index.sml
sml-ttl/src/store/store.sig
sml-ttl/src/store/store.sml
sml-ttl/src/store/property.sig
sml-ttl/src/store/property.sml
sml-ttl/src/store-io/store-io.sig
sml-ttl/src/store-io/store-loader.sml
sml-ttl/src/store-io/store-exporter.sml
sml-ttl/src/converter/rdf-converter.sig
sml-ttl/src/converter/rdf-converter-fn.sml
sml-ttl/src/converter/rdf-converters.sml