(emmy-viewers-expand v)If v has a fn? (say, f) registered as Clerk viewer metadata, recurses
with the expanded value (f v). Else, returns v unchanged.
Mimicking the original emmy.viewer/expand function.
If `v` has a `fn?` (say, `f`) registered as Clerk viewer metadata, recurses with the expanded value `(f v)`. Else, returns `v` unchanged. Mimicking the original `emmy.viewer/expand` function.
(highcharts value)Prepare Highcharts JSON data for plotting.
Prepare Highcharts JSON data for plotting.
(plotly {:as context
:keys [kindly/options value]
{:keys [data layout config] :or {layout {} config {}}} :value})(shortify f)Takes a floating-point number f in the range [-1.0, 1.0] and scales it to the range of a signed 16-bit integer. Clamps any overflows.
Takes a floating-point number f in the range [-1.0, 1.0] and scales it to the range of a signed 16-bit integer. Clamps any overflows.
(video {:keys [src youtube-id iframe-width iframe-height allowfullscreen
embed-options]
:or {allowfullscreen true}})(write-samples-to-wav! {:keys [samples sample-rate target-path]})Takes float samples between -1 to 1, a sampling rate, and a target path, and writes the corresponding single-channel WAV file to that path.
Takes float samples between -1 to 1, a sampling rate, and a target path, and writes the corresponding single-channel WAV file to that path.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |