tagging a lot of superdough functions

This commit is contained in:
Felix Roos 2026-01-23 23:40:51 +01:00
parent b824ad16ae
commit 55ffb59b9c
No known key found for this signature in database
9 changed files with 314 additions and 309 deletions

View file

@ -138,7 +138,7 @@ function githubPath(base, subpath = '') {
/**
* configures the default midimap, which is used when no "midimap" port is set
* @tags external_io
* @tags external_io, midi
* @example
* defaultmidimap({ lpf: 74 })
* $: note("c a f e").midi();
@ -152,7 +152,7 @@ let loadCache = {};
/**
* Adds midimaps to the registry. Inside each midimap, control names (e.g. lpf) are mapped to cc numbers.
* @tags external_io
* @tags external_io, midi
* @example
* midimaps({ mymap: { lpf: 74 } })
* $: note("c a f e")
@ -529,7 +529,7 @@ async function _initialize(input) {
* The output is a function that accepts a midi cc value to query as well as (optionally) a midi channel
*
* @name midin
* @tags external_io
* @tags external_io, midi
* @param {string | number} input MIDI device name or index defaulting to 0
* @returns {function(number, number=): Pattern} A function from (cc, channel?) to a pattern.
* When queried, the pattern will produces the most recently received midi value (normalized to 0 to 1)
@ -577,7 +577,7 @@ export async function midin(input) {
* note durations
*
* @name midikeys
* @tags external_io
* @tags external_io, midi
* @param {string | number} input MIDI device name or index defaulting to 0
* @returns {function((number | Pattern)=): Pattern} A function that produces a pattern.
* When queried, the pattern will produces the most recently played midi notes and velocities,