diff --git a/dev/public/audio/recorded/c4-blops.wav b/dev/public/audio/recorded/c4-blops.wav new file mode 100644 index 0000000..b928a40 Binary files /dev/null and b/dev/public/audio/recorded/c4-blops.wav differ diff --git a/dev/src/dsp-definitions/43-c4-blops-live.ts b/dev/src/dsp-definitions/43-c4-blops-live.ts new file mode 100644 index 0000000..e5de8e7 --- /dev/null +++ b/dev/src/dsp-definitions/43-c4-blops-live.ts @@ -0,0 +1,18 @@ +import type { DspDefinition } from "../types"; + +const dsp = ` +import("stdfaust.lib"); +process = _ <: _,_; +`; + +const dspDefinition: DspDefinition = { + id: "c4-blops-live", + name: "C4 blops live", + description: "Plays blops from the C4 for processing", + inputFile: "/audio/recorded/c4-blops.wav", + loopLength: 2.46, + dsp, + type: "live", +}; + +export default dspDefinition; diff --git a/dev/src/dsp-definitions/44-c4-blops.ts b/dev/src/dsp-definitions/44-c4-blops.ts new file mode 100644 index 0000000..7f49dfa --- /dev/null +++ b/dev/src/dsp-definitions/44-c4-blops.ts @@ -0,0 +1,22 @@ +import type { DspDefinition } from "../types"; + +const dsp = ` +import("stdfaust.lib"); +input = _; +process = _ <: _,_; +`; + +const dspDefinition: DspDefinition = { + id: "c4-blops", + name: "C4 blops", + description: "Plays blops from the C4 for processing", + inputFile: "/audio/recorded/c4-blops.wav", + dsp, + type: "offline", + channels: 1, + sampleRate: 48000, + output: ["input", "process"], + outputLength: 48000 * 2.46, +}; + +export default dspDefinition; diff --git a/dev/src/dsp-definitions/all.ts b/dev/src/dsp-definitions/all.ts index b245644..77d1f77 100644 --- a/dev/src/dsp-definitions/all.ts +++ b/dev/src/dsp-definitions/all.ts @@ -42,6 +42,8 @@ import autosampler from "./39-autosampler"; import pulseDelay from "./40-pulse-delay"; import autosampler2 from "./41-autosampler-2"; import multibandFilter from "./42-multiband-filter"; +import c4BlopsLive from "./43-c4-blops-live"; +import c4Blops from "./44-c4-blops"; export const all: DspDefinition[] = [ sineWave, @@ -86,4 +88,6 @@ export const all: DspDefinition[] = [ pulseDelay, autosampler2, multibandFilter, + c4BlopsLive, + c4Blops, ];