mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
17 lines
585 B
TypeScript
17 lines
585 B
TypeScript
import {Coefs} from "../src/coefs";
|
|
import {VariationProps} from "./VariationEditor";
|
|
import {linear} from "../src/linear";
|
|
import {julia} from "../src/julia";
|
|
import {popcorn} from "../src/popcorn";
|
|
import {pdj} from "../src/pdj";
|
|
import {pdjParams} from "../src/params";
|
|
import {VariationBlend} from "../src/blend";
|
|
|
|
export function buildBlend(coefs: Coefs, variations: VariationProps): VariationBlend {
|
|
return [
|
|
[variations.linear, linear],
|
|
[variations.julia, julia],
|
|
[variations.popcorn, popcorn(coefs)],
|
|
[variations.pdj, pdj(pdjParams)]
|
|
]
|
|
} |