rm dead code
This commit is contained in:
parent
82893ffc22
commit
da926805b3
3 changed files with 1 additions and 14 deletions
|
|
@ -402,18 +402,6 @@ export const { bandq, bpq } = registerControl('bandq', 'bpq');
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
export const { begin } = registerControl('begin');
|
export const { begin } = registerControl('begin');
|
||||||
/**
|
|
||||||
* A pattern of numbers from 0 to 1. Skips the beginning of each sample, e.g. `0.25` to cut off the first quarter from each sample.
|
|
||||||
*
|
|
||||||
* @memberof Pattern
|
|
||||||
* @name bufferHold
|
|
||||||
* @param {number | Pattern} amount between 0 and 1, where 1 is the length of the sample
|
|
||||||
* @example
|
|
||||||
* samples({ rave: 'rave/AREUREADY.wav' }, 'github:tidalcycles/dirt-samples')
|
|
||||||
* s("rave").begin("<0 .25 .5 .75>").fast(2)
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
export const { bufferHold } = registerControl('bufferHold');
|
|
||||||
/**
|
/**
|
||||||
* The same as .begin, but cuts off the end off each sample.
|
* The same as .begin, but cuts off the end off each sample.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -727,7 +727,6 @@ export const superdough = async (value, t, hapDuration, cps = 0.5, cycle = 0.5)
|
||||||
|
|
||||||
// delay
|
// delay
|
||||||
if (delay > 0 && delaytime > 0 && delayfeedback > 0) {
|
if (delay > 0 && delaytime > 0 && delayfeedback > 0) {
|
||||||
orbitBus.getDelay(delaytime, delayfeedback, t);
|
|
||||||
orbitBus.sendDelay(post, delay);
|
orbitBus.sendDelay(post, delay);
|
||||||
}
|
}
|
||||||
// reverb
|
// reverb
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { effectSend, webAudioTimeout } from './helpers.mjs';
|
import { effectSend, webAudioTimeout } from './helpers.mjs';
|
||||||
import { errorLogger } from './logger.mjs';
|
import { errorLogger } from './logger.mjs';
|
||||||
import {clamp} from './util.mjs'
|
import { clamp } from './util.mjs';
|
||||||
|
|
||||||
let hasChanged = (now, before) => now !== undefined && now !== before;
|
let hasChanged = (now, before) => now !== undefined && now !== before;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue