Skip to content

Commit

Permalink
blops
Browse files Browse the repository at this point in the history
  • Loading branch information
dxinteractive committed Aug 10, 2024
1 parent eeb4238 commit f06b80a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
Binary file added dev/public/audio/recorded/c4-blops.wav
Binary file not shown.
18 changes: 18 additions & 0 deletions dev/src/dsp-definitions/43-c4-blops-live.ts
Original file line number Diff line number Diff line change
@@ -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;
22 changes: 22 additions & 0 deletions dev/src/dsp-definitions/44-c4-blops.ts
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 4 additions & 0 deletions dev/src/dsp-definitions/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -86,4 +88,6 @@ export const all: DspDefinition[] = [
pulseDelay,
autosampler2,
multibandFilter,
c4BlopsLive,
c4Blops,
];

0 comments on commit f06b80a

Please sign in to comment.