@tialro2/rnbokit
Version:
<img width="493" alt="Screenshot 2023-11-24 at 15 43 41" src="static/sreenshot.jpeg">
98 lines (97 loc) • 2.21 kB
TypeScript
export default RNBO;
type RNBO = {
$on?(type: string, callback: (e: any) => void): () => void;
$set?(props: Partial<Props>): void;
};
declare const RNBO: import("svelte").Component<{
patchName?: string;
device?: import("@rnbo/js").Device | undefined;
parameters?: import("@rnbo/js").Parameter[];
inports?: import("@rnbo/js").MessageInfo[];
inlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiOutports?: Array<number>;
outports?: import("@rnbo/js").MessageInfo[];
outlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiInports?: Array<number>;
children?: import("svelte").Snippet<[any]>;
}, {}, "device" | "inports" | "parameters" | "inlets" | "midiOutports" | "outports" | "outlets" | "midiInports">;
type Props = {
patchName?: string;
device?: import("@rnbo/js").Device | undefined;
parameters?: import("@rnbo/js").Parameter[];
inports?: import("@rnbo/js").MessageInfo[];
inlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiOutports?: Array<number>;
outports?: import("@rnbo/js").MessageInfo[];
outlets?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
}[];
midiInports?: Array<number>;
children?: import("svelte").Snippet<[any]>;
};