diff --git a/missingExamples b/missingExamples new file mode 100644 index 000000000..e14c770ff --- /dev/null +++ b/missingExamples @@ -0,0 +1,71 @@ +(manually filled out) + +aliasBank +appBoth, appLeft, appRight, appWhole +applyGradualLowpass +applyHannWindow +asNumber +bpdc +bpdepth +brak +bpsync +ccn +ccv +channel +chebyshev +chooseInWith +chyx +computeMagnitudes +createCC +crossfade +csoundm +cubic +findPeaks +fmrelease +fold +generateGraph +generateReverb +getFrequency (rendered weird rn) +hard +hpdc +hprate +hpshape +hpskew +hpsync +inhabitmod +lpshape +lpskew +parray +pickAndRename +pickmod +pickmodF +pickmodOut +pickmodReset +pickOut +pickReset +pickRestart +sequenceP +sinefold +slider +soundAlias +source +tables +time +warpattack +warpdc +warpdecay +warpdepth +warpenv +warprate +warpshape +warpskew +warpsustain +warpsync +withHap +withHaps +withContext +withHapSpan +withHapTime +within +withLoc +withSeed \ No newline at end of file diff --git a/packages/superdough/sampler.mjs b/packages/superdough/sampler.mjs index d45e1050b..c4b39b469 100644 --- a/packages/superdough/sampler.mjs +++ b/packages/superdough/sampler.mjs @@ -36,8 +36,9 @@ function humanFileSize(bytes, si) { * * Note: `must` be called with await, otherwise you'll get a pending Promise object. * - * @name getDuration,getDur - * @tag samples + * @name getDuration + * @synonym getDur + * @tags samples * @param {string} sampleName * @param {number} (optional) n * diff --git a/test/__snapshots__/examples.test.mjs.snap b/test/__snapshots__/examples.test.mjs.snap index c4d616cee..13498f734 100644 --- a/test/__snapshots__/examples.test.mjs.snap +++ b/test/__snapshots__/examples.test.mjs.snap @@ -5340,6 +5340,15 @@ exports[`runs examples > example "getDur" example index 0 1`] = ` ] `; +exports[`runs examples > example "getDuration" example index 0 1`] = ` +[ + "[ 0/1 → 1/1 | s:sax cps:null ]", + "[ 1/1 → 2/1 | s:sax cps:null ]", + "[ 2/1 → 3/1 | s:sax cps:null ]", + "[ 3/1 → 4/1 | s:sax cps:null ]", +] +`; + exports[`runs examples > example "grow" example index 0 1`] = ` [ "[ 0/1 → 1/10 | s:tha bank:mridangam ]",