more fixes

This commit is contained in:
Felix Roos 2022-10-29 17:51:46 +02:00
parent 08c4c641ec
commit e38513f077
2 changed files with 4 additions and 4 deletions

View file

@ -214,7 +214,7 @@ const generic_params = [
'bit crushing, a pattern of numbers from 1 (for drastic reduction in bit-depth) to 16 (for barely no reduction).', 'bit crushing, a pattern of numbers from 1 (for drastic reduction in bit-depth) to 16 (for barely no reduction).',
], ],
/** /**
* fake-resampling for lowering the sample rate * fake-resampling for lowering the sample rate. Caution: This effect seems to only work in chromium based browsers
* *
* @name coarse * @name coarse
* @param {number | Pattern} factor 1 for original 2 for half, 3 for a third and so on. * @param {number | Pattern} factor 1 for original 2 for half, 3 for a third and so on.
@ -280,7 +280,7 @@ const generic_params = [
* Applies the resonance of the high-pass filter. * Applies the resonance of the high-pass filter.
* *
* @name hresonance * @name hresonance
* @param {number | Pattern} q resonance factor between 0 and 1 * @param {number | Pattern} q resonance factor between 0 and 50
* @example * @example
* s("bd sd,hh*4").hcutoff(2000).hresonance("<0 10 20 30>") * s("bd sd,hh*4").hcutoff(2000).hresonance("<0 10 20 30>")
* *
@ -295,7 +295,7 @@ const generic_params = [
* Applies the cutoff frequency of the low-pass filter. * Applies the cutoff frequency of the low-pass filter.
* *
* @name resonance * @name resonance
* @param {number | Pattern} q resonance factor between 0 and 1 * @param {number | Pattern} q resonance factor between 0 and 50
* @example * @example
* s("bd sd,hh*4").cutoff(2000).resonance("<0 10 20 30>") * s("bd sd,hh*4").cutoff(2000).resonance("<0 10 20 30>")
* *

View file

@ -74,7 +74,7 @@ export const square2 = square._toBipolar();
* *
* @return {Pattern} * @return {Pattern}
* @example * @example
* tri.segment(8).range(0,7).scale('C minor') * tri.segment(8).range(0,7).scale('C minor').note()
* *
*/ */
export const tri = fastcat(isaw, saw); export const tri = fastcat(isaw, saw);